New answers tagged class-imbalance
0
votes
Restrictions on my skewed validation data
It is best practice to not make any restrictions or manipulations just on a validation dataset, this includes removing categories or downsampling.
Changing just the validation dataset has the ...
3
votes
class weighted classification
Accuracy is by definition "weighted" according to the classes proportions: it counts the number of correct instances in the full dataset, so a class with N% of the instances represents N% of ...
0
votes
Unbalanced multiclass data with XGBoost
The parameter scale_pos_weight works for two classes (binary classification).
The parameter weight goes into the xgb.DMatrix function can be used for three or more classes. The weights can be computed ...
Top 50 recent answers are included
Related Tags
class-imbalance × 495classification × 202
machine-learning × 141
python × 65
smote × 56
scikit-learn × 51
multiclass-classification × 51
sampling × 34
deep-learning × 33
imbalanced-learn × 29
random-forest × 28
keras × 27
dataset × 25
xgboost × 25
cross-validation × 24
neural-network × 22
predictive-modeling × 17
r × 15
regression × 15
training × 14
evaluation × 13
imbalanced-data × 13
cnn × 11
feature-selection × 11
decision-trees × 11