You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you give a reproducible example for the ValueError?
We set those to zero because we cannot estimate variances for single-observation leaves. In R, we now avoid that completely by using "class-wise min.bucket", which avoids nodes with less than 2 (or whatever the user sets for the parameter) real observations (see imbs-hl/ranger#721). But I think that is not possible with scikit-learn's RandomForestClassifier: There is min_samples_leaf but that can't be class-specific I think.
The bug comes from this line:
arfpy/arfpy/arf.py
Line 313 in b5bf5de
And I think why it happens it is because in this line of code: you intentionally set come cvg values to zero:
arfpy/arfpy/arf.py
Line 224 in b5bf5de
Do you have some insights on this?
The text was updated successfully, but these errors were encountered: