The PermutationImportance
object has some nice attributes such as feature_importances_
and feature_importances_std_
.
To visualize
Found the *2
:
It's in the template generating the feature importances html table in the following page
https://github.com/TeamHG-Memex/eli5/blob/63e99182dc682bbf225355c80a24807396a747b6/eli5/templates/feature_importances.html
{% if not fw.std is none %}
± {{ "%0.4f"|format(2 * fw.std) }}
{% endif %}
It's clearly put by hand