API Reference¶
Samplers¶
|
Sample points uniformly at random inside a Shapely geometry. |
Sample exactly n_per_class points from each class. |
|
Sample n_samples points total, allocated proportionally across classes. |
|
|
Sample n_samples points via two-stage multinomial allocation. |
|
Inhomogeneous Poisson point process sampler. |
Cross-validators¶
|
Spatially balanced k-fold cross-validator via Hilbert curve ordering. |
|
Spatially exclusive k-fold cross-validator. |
|
Buffered leave-one-out cross-validator. |
|
Cluster-stratified k-fold cross-validator. |
|
Stratified k-fold cross-validator using a discrete global grid system. |
|
Locally-weighted bootstrap -- resampling with spatial (or temporal) proximity weighting. |
|
Spatially-constrained permutation without replacement (derangement). |
Range detection¶
|
Estimate the distance at which spatial autocorrelation drops to zero. |
|
Estimate the number of nearest neighbours at which spatial autocorrelation drops to zero. |
Metrics¶
|
Estimate the Area of Applicability (AOA) for |
|
Compute a Geary correlogram for univariate or multivariate spatial data. |