API

This is the full API documentation of the cluster-over-sampling package.

clover.distribution: Distribution of generated samples

The clover.distribution includes the distributor classes for clustering-based over-sampling.

distribution.DensityDistributor([…]) Class to perform density based distribution.

clover.over_sampling: Clustering based over-samplers

The clover.over_sampling includes a general class for clustering-based over-sampling as well as specific clustering-based over-samplers.

over_sampling.ClusterOverSampler(oversampler) A class that handles clustering-based over-sampling.
over_sampling.KMeansSMOTE([…]) Applies KMeans clustering to the input space before applying SMOTE.
over_sampling.SOMO([sampling_strategy, …]) Applies the SOM algorithm to the input space before applying SMOTE.
over_sampling.GeometricSOMO([…]) Applies the SOM algorithm to the input space before applying Geometric SMOTE.