Combining 'class_weight' with SMOTE
-
02-11-2019 - |
Question
This might sound a weird question, but I could not find enough details in sklearn documentation about 'class_weight'. Can we first oversample the dataset using SMOTE and then call the classifier with the 'class_weight' option? As my testing set is highly imbalanced, I want to penalize misclassifications for minority classes. Thank you!
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with datascience.stackexchange