NeuroTabular
Neural networks for tabular data, with automatic preprocessing and a scikit-learn-style API.
Why NeuroTabular?
NeuroTabular uses PyTorch to train neural models for binary classification, multiclass classification and single-output regression on pandas DataFrames. Numerical and categorical features, missing values, validation and early stopping are handled inside the estimator, with preprocessing learned only from training data.
Project status
Version 2.1.0 changes the default regression stopping rule to eight validation checks, with at most 30 epochs, and improves extreme-value standardization and very small positive sample-weight handling. Classifier defaults are retained. Optional internal K-fold diagnostics and validation weights are available. No general classification gain is claimed. See the release notes.
Install
python -m pip install neurotabular
Python 3.11-3.14 is the recommended installation range. For the exact supported combinations and CPU/CUDA scope, see the support scope. See the installation and compatibility guidance.
Quick start
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import train_test_split
from neurotabular import NeuroTabularClassifier
X, y = load_breast_cancer(return_X_y=True, as_frame=True)
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=0.2, random_state=42, stratify=y
)
model = NeuroTabularClassifier().fit(X_train, y_train)
print("Test accuracy:", model.score(X_test, y_test))
The classifier also supports multiclass targets. For regression, use NeuroTabularRegressor with a numerical target. See usage and examples. This example demonstrates the API, not the benchmark protocol.
Highlights
- Binary and multiclass classification; single-output regression.
- Automatic mixed-DataFrame preprocessing and missing-value handling.
- scikit-learn-style estimators, cloning, pipelines and cross-validation.
- Validation, early stopping, batching and checkpoint restoration.
- Optional internal K-fold diagnostics (
cv=K), with K+1 training passes (doubled forfull_data_refit=True) and one final network. - Sample weights, optional balanced class weights and explicit validation weights (
cv=None). - CPU, optional CUDA selection and pickle/joblib persistence.
- Categorical inputs: at most 128 categorical columns (not 128 total columns); extended support is not included until its performance qualification succeeds. See limitations and the qualification roadmap.
Benchmarks
| Scope | Evidence |
|---|---|
| Competitive evidence | Six-family CPU pilot, three seeds; default and four-candidate tuning kept separate. NeuroTabular 2.0.0 is a version reference only, not part of the external-method overview. |
| Coverage | 181/288 final TEST endpoints measured (62.8%); 107 unavailable: 96 qualification exclusions, 6 cold replay stops and 5 measurement stops, all for RealMLP, TabM or FT-Transformer. |
| RealMLP / TabM / FT-Transformer | 0/36, 0/36 and 1/36 measured, respectively. No predictive ranking for incomplete methods. |
| Technical evidence | Only 2/36 dedicated inference A/A controls valid. Measurement audit and follow-up. |
| Reproduction | Frozen executable protocol; exact environment, source and wheel prerequisites apply. |
The benchmark overview links predictive quality, computational costs, complete figures, methodology, failures and numerical data. Default and tuned results, historical results and technical timing controls must be interpreted separately.
Selected measured advantages (default settings, median of three seeds)
| Dataset / metric | NeuroTabular | XGBoost | LightGBM | CatBoost | Evidence |
|---|---|---|---|---|---|
| Bank Marketing / NLL (lower is better) | 0.666704 | 0.784755 | 0.719467 | 0.717406 | Paired NLL figure |
| Climate / balanced accuracy (higher is better) | 77.67% | 66.65% | 70.53% | 60.71% | Balanced accuracy figure |
Bank Marketing's paired NLL intervals favor NeuroTabular against these three trees in all three default seeds (conditional, unadjusted intervals). Climate is a single held-out study: its balanced accuracy advantage is descriptive, without an independent-study interval; CatBoost has lower NLL there. Neither observation establishes general classification superiority or an improvement over the previous release. See coverage and follow-up and when to choose NeuroTabular.
When to use it
Use it for neural learning on mixed pandas data with a familiar estimator interface, or where the measured metric-specific advantages above match your needs. The selection guide explains the evidence, computational trade-offs and when another model is preferable.
When to consider alternatives
Consider alternatives for multi-output learning, other neural architectures or advanced AutoML. The measured trees perform substantially better on Anneal and Glass. RealMLP and TabM have no admitted real-data results and FT-Transformer coverage is partial. Their absence is a coverage limitation, not a predictive loss; see the benchmark follow-up.
Limitations
- Requires a pandas DataFrame; multilabel and multi-output learning are unsupported.
- No universal accuracy, latency, throughput or RAM advantage is established.
- Physical NVIDIA GPU validation and formal end-to-end no-network certification are incomplete.
- At most 128 categorical columns; high cardinality may substantially increase memory. Extended support is not yet performance-qualified and is excluded from 2.1.0. See the qualification roadmap.
- Concurrent
fit()calls in one process are not guaranteed thread-safe.
Documentation
- Usage and examples
- API reference
- Support scope
- API stability and maintenance policies
- Internal K-fold diagnostics
- Benchmarks
- When to choose NeuroTabular
- Historical evidence
- Performance
- Release notes
- Changelog
License
NeuroTabular is created by Luca Lullo. Its original components are released under the MIT License, Copyright (c) 2026 Luca Lullo. Third-party components retain their licenses; see the third-party notices.
Author
Created by Luca Lullo.
Metadata
Release files for neurotabular 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neurotabular-2.1.0.tar.gz | 6.1 MB | With provenance | Details for neurotabular-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neurotabular-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for neurotabular-2.1.0-py3-none-any.whl |
Total release size: 6.1 MB
Release files / neurotabular-2.1.0.tar.gz
| Download URL | neurotabular-2.1.0.tar.gz |
|---|---|
| Size | 6.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63b7ab1f7529f1a36e768357d1caa7611e513e858a577ad9f0b99cf82db88ee8
|
|
BLAKE2b-256 checksum How to use checksums |
9391abb7e8c75b3318fcf9f2b33295b8fbb43031c1d7b4b3eb342987ffb42188
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / neurotabular-2.1.0-py3-none-any.whl
| Download URL | neurotabular-2.1.0-py3-none-any.whl |
|---|---|
| Size | 44.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b9829a091f0d6c5e20a81d9de4f7dd598ae953d1df37eded88dadaa3a877d99
|
|
BLAKE2b-256 checksum How to use checksums |
2417a7c1c5306244f481f635b56135f7e01614e9c9b23d95cbf4cedf458a2054
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for neurotabular 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for neurotabular-2.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.