Quantcast
Channel: KNIME RSS
Viewing all articles
Browse latest Browse all 4157

How to undersample in percentage terms majority class using knime?

$
0
0

I'd like to undersample the majority class before SMOTING, but I can't find a node that undersamples at a percentage level. I know that EqualSizeSampling exists, but I don't want equal size here, but I'd like to change the percentage of the majority class.

For example, if a majority class is the 80% of the dataset and the minority is the 20%, I'd like to make the majority class the 60% of the dataset and the minority the 40%.


Viewing all articles
Browse latest Browse all 4157

Trending Articles