pygeoda.Compactness¶
- class pygeoda.Compactness(comp)[source]¶
Compactness Measure
- area¶
the area of a cluster. If points, the convex hull is used to compute the area.
- Type
float
- perimeter¶
the perimeter of a cluster. If points, the convex hull is used to compute the perimeter
- Type
float
- isoperimeter_quotient¶
(4 * pi * area) / (perimeter^2)
- Type
float
- __init__(comp)[source]¶
Constructor of Compactness
- Parameters
comp (Object) – An object/pointer of libgeoda Compactness class
Methods
__init__
(comp)Constructor of Compactness