crflynn / skranger

scikit-learn compatible Python bindings for ranger C++ random forest library
https://skranger.readthedocs.io/en/stable/
GNU General Public License v3.0
51 stars 7 forks source link

permutation importance value is nan #154

Open kadislai opened 1 year ago

kadislai commented 1 year ago

rfr = RangerForestRegressor( ... importance='permutation', scale_permutation_importance=True, ... )

rft.fit(X,y)

per_imp = rfr.featureimportances

per_imp (feature importance) is nan

How can I get the permutation importance value?