pytabkit
ML models + benchmark for tabular data classification and regression
What it is and what it does
PyTabKit wraps modern tabular machine learning methods—neural networks like RealMLP and TabM, gradient boosted trees, and hybrid models—behind scikit-learn-compatible interfaces. It automatically handles GPU selection, categorical column detection, numerical preprocessing, and train-validation splitting for early stopping, with optional cross-validation ensembling and hyperparameter optimization.
The package is built around a NeurIPS 2024 paper benchmarking these methods on tabular classification and regression tasks. It includes both the trained model interfaces and the benchmarking code used to evaluate them. While the documentation recommends AutoGluon for best-possible results in production, PyTabKit is positioned as easier to use for development and supports vectorized cross-validation that can accelerate training of certain models.
Use it for:
- Quick prototyping of tabular classifiers and regressors with automatic preprocessing and GPU acceleration.
- Benchmarking multiple tabular ML methods on your own datasets using the built-in benchmarking utilities.
- Training RealMLP or TabM models with cross-validation ensembling and hyperparameter optimization for improved accuracy.
- Comparing gradient boosted tree implementations (XGBoost, LightGBM, CatBoost) with neural network baselines on structured data.
- Post-hoc calibration and refinement stopping for probabilistic predictions using temperature scaling.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PyTabKit provides scikit-learn interfaces to modern tabular machine learning models—including RealMLP, gradient boosted trees (XGB, LGBM, CatBoost), and TabR—with built-in hyperparameter optimization, cross-validation ensembling, and benchmarking utilities.
Yes, with conditions. Install if you are developing tabular ML pipelines and want scikit-learn-compatible interfaces to modern methods with minimal setup friction. The low install overhead and automatic preprocessing are valuable for iteration. However, if your goal is production-grade best performance, the documentation explicitly recommends AutoGluon instead. Maintenance is aging but not stale; no known vulnerabilities.
Install
pytabkit on PyPI
pip
pip install pytabkituv
uv add pytabkitpoetry
poetry add pytabkitInstalling pytabkit
Before you install
Low install friction; pure Python wheel. Requires torch, pytorch-lightning, and scikit-learn as core runtime dependencies. Status is aging (220 days since last release), though the repository remains active and well-maintained with recent commits and no archived status.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production and research contexts.
Quickstart
pip install pytabkit
from pytabkit import RealMLP_TD_Classifier
model = RealMLP_TD_Classifier()
model.fit(X_train, y_train)
model.predict(X_test)
Missing numerical values are not allowed and must be imputed beforehand. Requires torch to be installed separately if you need to control CPU/GPU version. TabR requires manual faiss installation (conda only).
Verify before relying
- Whether vectorized cross-validation speedup for RealMLP is significant enough to justify adoption over AutoGluon for production use cases.
- Current performance comparison with TabArena's newer models and preprocessing capabilities for real-world datasets.
- GPU memory requirements and scalability limits for large tabular datasets.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — numpy, pandas, psutil, pytorch-lightning, scikit-learn, torch, torchmetrics |
| Maintenance | aging — 220 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 102,531/month — #12,864 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pytabkit-1.7.3-py3-none-any.whl
Keywords: RealMLP, deep learning, gradient boosting, scikit-learn, tabular data
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
autogluon.tabularAutomates machine learning model training and…
permissive · top 15,000 on PyPI
tabiclTabICL is a scikit-learn-compatible tabular…
permissive · top 15,000 on PyPI
catboostCatBoost is a gradient boosting library that…
permissive · top 5,000 on PyPI
xgboost-cpuXGBoost CPU-only gradient boosting library for…
permissive · top 15,000 on PyPI
ngboostNGBoost implements Natural Gradient Boosting…
permissive · top 15,000 on PyPI
ydfYDF trains, evaluates, and interprets decision…
permissive · top 15,000 on PyPI
azureml-train-coreProvides estimator classes for training machine…
unclear · top 15,000 on PyPI
autogluon.coreAutoGluon Core provides the foundational…
permissive · top 15,000 on PyPI
pytorchcvProvides a collection of pretrained computer…
unclear · top 15,000 on PyPI
coremltoolsConverts trained machine learning models from…
permissive · top 5,000 on PyPI