pygeoda.min_distthreshold(geoda_obj, is_arc=False, is_mile=True)[source]

Minimum Distance Threshold for Distance-based Weights Get minimum threshold of distance that makes sure each observation has at least one neighbor

  • geoda_obj (geoda) – An instance of geoda class.

  • is_arc (bool, optional) – A bool flag indicates if compute arc distance or Euclidean distance. Defaults to False (Euclidean distance)

  • is_mile (bool, optional) – A bool flag indicates if the distance unit is mile or km. Defaults to True (mile).


A float value of minimum threhold for distance based weights.

Return type

thres (float)