dabl
.explain¶
-
dabl.
explain
(estimator, X_val=None, y_val=None, target_col=None, feature_names=None, n_top_features=10)[source]¶ Explain estimator.
Provide basic properties and evaluation plots for the estimator.
- Parameters
- estimatordabl or sklearn estimator
Model to evaluate.
- X_valDataFrame, optional
Validation set. Used for computing hold-out evaluations like roc-curves, permutation importance or partial dependence plots.
- y_valSeries or numpy array, optional.
Validation set labels. You need to specify either y_val or target_col.
- target_colstring or int, optional
Column name of target if included in X.
- n_top_featuresint, default=10
Number of features to show for coefficients or feature importances.