#140140th of 433 in ML frameworks and libraries

imodels

Interpretable rule, tree and additive models with a scikit-learn API

Stars
1.6k
License
MIT
Last commit
Nov 2026
Last release
Oct 2026
Language
Jupyter Notebook
Stars, last 29 weeks+51
6 May 2026: 1,579 stars13 May 2026: 1,580 stars20 May 2026: 1,580 stars27 May 2026: 1,584 stars3 Jun 2026: 1,586 stars10 Jun 2026: 1,586 stars17 Jun 2026: 1,586 stars24 Jun 2026: 1,587 stars1 Jul 2026: 1,589 stars8 Jul 2026: 1,592 stars15 Jul 2026: 1,594 stars22 Jul 2026: 1,595 stars29 Jul 2026: 1,597 stars5 Aug 2026: 1,603 stars12 Aug 2026: 1,609 stars19 Aug 2026: 1,611 stars26 Aug 2026: 1,614 stars2 Sept 2026: 1,615 stars9 Sept 2026: 1,616 stars16 Sept 2026: 1,616 stars23 Sept 2026: 1,617 stars30 Sept 2026: 1,620 stars7 Oct 2026: 1,623 stars14 Oct 2026: 1,624 stars21 Oct 2026: 1,626 stars28 Oct 2026: 1,627 stars4 Nov 2026: 1,628 stars11 Nov 2026: 1,628 stars18 Nov 2026: 1,630 stars25 Nov 2026: 1,630 stars

1,579 on 6 May 20261,630 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

imodels is a Python package that implements interpretable tabular models (RuleFit, FIGS, hierarchical-shrinkage trees, rule lists, sparse integer risk scores, GAMs) behind the standard sklearn fit/predict API. A viz module draws or prints fitted models, and wrappers handle distillation and AutoML selection. It is meant to replace black-box models such as random forests when the model must stay readable.

Who it is for: Data scientists needing readable tabular models, e.g. clinical decision rules

Strengths

  • Follows the sklearn estimator API, tested per model; works in pipelines and grid search
  • Covers many families: rule sets, rule lists, trees, FIGS, GAMs, risk scores
  • Built-in drawing, text printing and interactive views of fitted models
  • Hierarchical shrinkage wrapper regularizes any sklearn tree model post hoc

Weaknesses

  • Tabular data only; text interpretability is in the separate imodelsX package
  • Bayesian rule set and rule list are slow; the rule set fails on large problems
  • Several models need numba or xgboost, or discretized features
  • Many models support only binary classification, not multiclass, per the support table

What it needs

  • no GPU
  • Needs numpy>=2.0, scikit-learn, numba (some models), xgboost (optional)
  • Models: RuleFit, FIGS, Hierarchical shrinkage trees, Bayesian rule lists, SLIM

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#138hls4mlConverts trained ML models into FPGA firmware via high-level synthesis2.2k starsApache-2.067 out of 100
#139scvi-toolsPyTorch library of probabilistic models for single-cell omics analysis1.7k starsBSD-3-Clause67 out of 100
#141cornacPython framework for benchmarking multimodal recommender models1.1k starsApache-2.067 out of 100
#142pypotsPython library for imputation and forecasting on time series with missing values2.1k starsBSD-3-Clause66 out of 100
#143pytorch3dPyTorch library for differentiable 3D mesh operations and rendering10k starscustom license65 out of 100