-
Default inverse = N(negative) / N(positive). We recommand recalibrating through hyperparameters if this fraction exceeds 3.
-
-
Used for:
-
- - class_weight (Random Forest)
- - scale_pos_weight (XGBoost)
- - Calibration & metric selection
-
-
Interpretation
+ target=".default-inverse-tooltip"
+ position="right"
+>
+
+
Class imbalance — general guideline
+
+
+
Default inverse = N(negative) / N(positive).
+ We recommend
adjusting model settings if this fraction exceeds
3.
+
+
+
+
Used for:
+
+ - class_weight (Random Forest)
+ - scale_pos_weight (XGBoost)
+ - Calibration & metric selection
+
+
+
Interpretation:
- ≤ 3 → Balanced
- 3 – 6 → Imbalanced
- > 6 → Highly imbalanced
-
-
+
+