capability__feature_importance#

capability__feature_importance()[source]#

Capability: the estimator can provide feature importance.

  • String name: "capability:feature_importance"

  • Public capability tag

  • Values: boolean, True / False

  • Example: True

  • Default: False

If the tag is True, the estimator can produce feature importances.

Feature importances are queryable by the fitted parameter interface via get_fitted_params, after calling fit of the respective estimator.

If the tag is False, the estimator does not produce feature importances. The method get_fitted_params can be called, but the list of fitted parameters will not contain feature importances.