Skip to content

Commit

Permalink
feat: use balanced_subsample
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Jun 7, 2022
1 parent 0cd90c7 commit bffd50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niclassify/core/classifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def __init__(self):
"""
super().__init__(
clf=RandomForestClassifier(
class_weight="balanced", oob_score=True, n_estimators=1000
class_weight="balanced_subsample", oob_score=True, n_estimators=1000
),
hyperparams={
'max_depth': list(np.linspace(10, 50).astype(int)),
Expand Down

0 comments on commit bffd50e

Please sign in to comment.