我正在使用Boruta从我的数据中提取特征。现在我已经使用BorutaPy(rf, n_estimators='auto', verbose=3, random_state=1).fit(X_std,y)
提取了11个特征,但我不知道如何可视化结果?
我使用的是:
rf = RandomForestClassifier(n_jobs=-1, class_weight='balanced', max_depth=5)
feat_selector = BorutaPy(rf, n_estimators='auto', verbose=3, random_state=1)
feat_selector.fit(X_std, y)
feat_selector.support_
我从我的数据中获得了11个特征。但我想可视化结果,就像使用R的plot(Boruta.mydata)
一样。我不知道如何使用python实现它。
下图显示了我想要的结果:
发布于 2019-12-02 11:08:32
我最近也遇到了这个问题-- Python不会绘制Boruta图。我最终使用了R来完成它,并将重要的特性导出回Python
https://stackoverflow.com/questions/55844720
复制相似问题