Closed flaviozamponi closed 6 years ago
Replace feat_selector.fit(X,y)
with feat_selector.fit(X.values,y.values),
You will see this generates another error. In fact, the argument auto
in rf = RandomForestClassifier(n_jobs=-1, class_weight='auto', max_depth=3)
.
Replace it with a valid one, that is balanced
or balanced_subsample
. See my pull request.
Hi tagomatech, it works fine now. Thanks. Flavio
Dear all, I'm getting acquainted with boruta and I have tried to execute the example Madalon_Data_Set.ipynb. Everything works fine until
feat_selector.fit(X,y),
where I get the following error message: `TypeError Traceback (most recent call last)