oraclesai.preprocessing.SCoordTransformer
- class SCoordTransformer(crs=None)
Transformer that returns the centroid of the geometries for each observation
Methods
__init__([crs])fit(X[, y, geometries])Not implemented since no calculations are required for training.
fit_transform(X[, y, geometries])Fit to data, then transform it.
get_params([deep])Get parameters for this estimator.
set_params(**params)Set the parameters of this estimator.
transform(X[, y, geometries])Returns the XY coordinates of the geometries; in the case of non-points geometries, it returns the geometries' centroids.