File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 102
102
forest_importances = pd .Series (result .importances_mean , index = feature_names )
103
103
104
104
# %%
105
- # The computation for full permutation importance is more costly. Features are
106
- # shuffled n times and the model refitted to estimate the importance of it.
107
- # Please see :ref:`permutation_importance` for more details. We can now plot
108
- # the importance ranking.
105
+ # The computation for full permutation importance is more costly. Each feature is
106
+ # shuffled n times and the model is used to make predictions on the permuted data to see
107
+ # the drop in performance. Please see :ref:`permutation_importance` for more details.
108
+ # We can now plot the importance ranking.
109
109
110
110
fig , ax = plt .subplots ()
111
111
forest_importances .plot .bar (yerr = result .importances_std , ax = ax )
You can’t perform that action at this time.
0 commit comments