0

I calculated the permutation Importance using eli5. But I only get a subset of the values.

import eli5
eli5.show_weights(perm, feature_names = X.columns.tolist())

enter image description here

At the end of the original plot ..10 more is shown. How can I get all the values?

yatu
  • 86,083
  • 12
  • 84
  • 139
Banjo
  • 1,191
  • 1
  • 11
  • 28

1 Answers1

3

The show_weights method has a top argument, which when set to None there is no limit in the shown features (see the documentation), so that should fix your problem:

eli5.show_weights(perm, feature_names = X.columns.tolist(), top=None)
desertnaut
  • 57,590
  • 26
  • 140
  • 166
yatu
  • 86,083
  • 12
  • 84
  • 139