Full API

.explain()

Print feature importances ranked from most to least influential.

Usage

python
model.train(algorithm="random_forest")
model.explain()

Output

output
Feature importances - what drove predictions for 'Survived':
Rank   Feature                        Importance
──────────────────────────────────────────────────
  1    Sex (female)                   1.00
  2    Sex (male)                     0.91
  3    Fare                           0.44

Supported models

LogisticRegression, RandomForest, GradientBoosting, DecisionTree, Ridge. KNN prints a note explaining it has no feature importances.