Spatex.GWR.Bandwidth (Spatex v0.2.1)

Copy Markdown View Source

Result of Spatex.GWR.select_bandwidth/4 (mgwr.sel_bw.Sel_BW).

  • bw - the selected bandwidth: an integer neighbor count for adaptive kernels, a distance (rounded to two decimals, like mgwr) for fixed ones, or :infinity when the global model won the include_global check.
  • score - the criterion value of the (unrounded) selected bandwidth.
  • history - every evaluation as {bw, score}, in mgwr's order (duplicates included); empty for search: :scipy, like mgwr's sel_hist.
  • nfev, converged - the evaluation count and success of SciPy's optimizer (search: :scipy only, nil otherwise). With that search bw is SciPy's float, neither truncated (adaptive) nor rounded (fixed).
  • criterion, family, kernel, fixed, spherical, constant - the settings of the search.

Summary

Types

t()

@type t() :: %Spatex.GWR.Bandwidth{
  bw: pos_integer() | float() | :infinity,
  constant: boolean(),
  converged: boolean() | nil,
  criterion: :aicc | :aic | :bic | :cv,
  family: :gaussian | :poisson | :binomial,
  fixed: boolean(),
  history: [{pos_integer() | float() | :infinity, float()}],
  kernel: :bisquare | :gaussian | :exponential,
  nfev: pos_integer() | nil,
  score: float(),
  spherical: boolean()
}