Full API

.compare()

Train 5 models on your data using the same preprocessing and print a ranked accuracy table.

Usage

python
model.train()
model.compare()

Output

output
Comparing models...

Rank  Model                     Accuracy   Time
──────────────────────────────────────────────
  1.  LogisticRegression        0.816      0.01s
  2.  RandomForest              0.810      0.18s
  3.  KNN                       0.804      0.00s
  4.  DecisionTree              0.793      0.00s
  5.  GradientBoosting          0.787      0.55s

Recommendation: Use LogisticRegression (fast, interpretable, good baseline).