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
This line , why do you have all_features_idx to retrive the node class information?
I think class have nothing to do with feature values. Plus, what if your class number is bigger than feature number? Won't that be a IndexError?
Thanks!
The text was updated successfully, but these errors were encountered:
That's indeed an issue. We should use sth like classes_idx other than all_features_idx here. Thanks for pointing this out! For binary classifications, this should be fine unless there is only one feature. But in general this could cause problems.
Hi , I have a small question about a line of code in get_tree_data():
iterative-Random-Forest/irf/utils.py
Line 192 in 286d65b
This line , why do you have
all_features_idx
to retrive the node class information?I think class have nothing to do with feature values. Plus, what if your class number is bigger than feature number? Won't that be a IndexError?
Thanks!
The text was updated successfully, but these errors were encountered: