oraclesai.weights.SpatialWeightsDefinition

class SpatialWeightsDefinition

A concrete implementation of this class defines the criteria used to identify spatial neighbors in a data set so that these neighbors can be used to calculate a spatial weights matrix.

Methods

__init__()

from_dict(w_dict)

from_json(json_str)

Attributes

index_allowed

Returns true if the spatial weights may be calculated by passing a spatial index of the data.