Random Forest Classifier: feature importance of prediction probability

时间:2016-12-09 12:50:28

标签: machine-learning scikit-learn random-forest

I am using sklearn RFC.

forest.fit(training_data, y_train)
probas_test = forest.predict_proba(test_data)

I wanted to know is there a way to find the contribution / importance of each features which lead to the prediction.

something like , but for an individual datapoint level.

   forest.feature_importances_

1 个答案:

答案 0 :(得分:1)