Enables a custom ratio value. The two options are Auto (sample_ratio_auto)
or Set ratio (sample_ratio_manual).
sample_ratio_value
float
The ratio is the number of samples in the minority class over the number of samples in the
majority class. It must be larger than 0 and less than or equal to
1. Default is auto.
enable_random_seed
Boolean
If set to true, the random_seed property will be
enabled.
random_seed
integer
The seed used by the random number generator.
k_neighbours
integer
The number of nearest neighbors to be used for constructing synthetic samples. Default is
5.
m_neighbours
integer
The number of nearest neighbors to be used for determining if a minority sample is in danger.
This option is only enabled with the SMOTE algorithm types borderline1 and
borderline2. Default is 10.
algorithm
string
The type of SMOTE algorithm: regular, borderline1, or
borderline2.
use_partition
Boolean
If set to true, only training data will be used for model building. Default
is true.
About cookies on this siteOur websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising.For more information, please review your cookie preferences options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.