evalml.model_understanding.get_linear_coefficients¶
-
evalml.model_understanding.
get_linear_coefficients
(estimator, features=None)[source]¶ Returns a dataframe showing the features with the greatest predictive power for a linear model.
- Parameters
estimator (Estimator) – Fitted linear model family estimator.
features (list[str]) – List of feature names associated with the underlying data.
- Returns
Displaying the features by importance.
- Return type
pd.DataFrame