com.salesforce.op.stages.impl.tuning
Computes the upSample and downSample proportions.
Computes the upSample and downSample proportions.
size of minority class data
size of majority class data
targeted fraction of small data
maximum training size
downSample & upSample proportions
Maximum size of dataset want to train on.
Maximum size of dataset want to train on. Value should be > 0. Default is 5000.
Split into a training set and a test set and balance the training set
Split into a training set and a test set and balance the training set
to prepare for model training. first column must be the label as a double
balanced training set and a test set
Fraction of data to reserve for test Default is 0.1
Fraction of data to reserve for test Default is 0.1
Targeted sample fraction for the class in minority.
Targeted sample fraction for the class in minority. Value should be in ]0.0, 1.0[ Default is 0.1.
Seed for data splitting
Seed for data splitting
Function to use to create the training set and test set.
Function to use to create the training set and test set.
(dataTrain, dataTest)
Instance that will split the data into train and holdout and then balance the dataset before modeling binary classifications