Skip to main content

Causilo

Causilo is a pretrained tabular foundation model from Nums AI Inc., supporting classification and regression through a scikit-learn interface.

Apache-2.0 code · Causilo License v1.0 model weights · License & contact

Installation

Python 3.10–3.12 and PyTorch 2.13+ are required.

pip install causilo

The first fit automatically downloads and caches the task's checkpoint. device="auto" uses CUDA when available, otherwise CPU.

Quick start

from causilo import CausiloClassifier, CausiloRegressor

classifier = CausiloClassifier(n_estimators=8, random_state=42)
classifier.fit(X_train, y_train)
labels = classifier.predict(X_test)
probabilities = classifier.predict_proba(X_test)

regressor = CausiloRegressor(n_estimators=8, random_state=42)
regressor.fit(X_train, y_train)
predictions = regressor.predict(X_test)

Inputs can be NumPy arrays or pandas DataFrames, including categorical features and missing feature values. Use pandas categorical dtype for numeric category codes. NumPy object arrays infer numeric columns; strings and Booleans remain categorical. Prediction reuses the fitted schema, including handling unseen categories.

Classification supports up to 10 classes. Regression returns mean predictions by default and also supports median and quantile predictions. Targets must not be missing. See runnable classification and regression examples.

Benchmarks

Evaluated using the official TabArena pipeline: 51 datasets, 51 Lite splits and 816 Full splits, using the default configuration with eight estimators and seed 42. System methods are excluded. Full plots show the top 16 model families by their best Elo, with default, tuned and ensembled variants.

TabArena Full

Task Elo position Elo ↑ Improvability ↓
Overall 1 1792.9 0.0684
Classification 1 1771.8 0.0875
Regression 1 2032.6 0.0125
TabArena Lite results
Task Elo position Elo ↑ Improvability ↓
Overall 1 1817.4 0.0596
Classification 1 1780.1 0.0747
Regression 1 2168.2 0.0155

Overall performance

Overall — TabArena Full, classification and regression combined.

Classification and regression

Classification performance

Classification — TabArena Full, classification datasets only.

Regression performance

Regression — TabArena Full, regression datasets only.

Local H100 80 GB comparison, one GPU and eight physical CPU cores per job:

Model Fit (s/1k) Predict (s/1k) CPU (GiB) GPU (GiB)
Causilo 2.504 0.251 1.94 8.15
TabICLv2 3.449 0.303 2 8.37
TabPFN-3 4.18 0.686 2.87 0.88

Times are median seconds per 1,000 rows; memory is mean peak usage during fit only. Protocol, task-level resources and complete leaderboards.

Options

Parameter Default Behavior
n_estimators 8 Number of ensemble members to evaluate
random_state 42 Nonnegative integer seed for feature and class permutations
device "auto" One available CUDA device, otherwise CPU; explicit "cpu" or "cuda:0" is supported
use_kv_cache False Prepare and retain attention keys and values during fit
retain_preprocessing True Retain transformed training tables for later prediction

Refit after changing options. Use device="cuda:0" to select a specific GPU, or CUDA_VISIBLE_DEVICES to control which GPUs are available.

Ensembles cycle through none, rank2gaussian, robust and power normalization. See inference details for quantile prediction, precision and reproducibility.

Repeated prediction

Set use_kv_cache=True to move reusable context computation into fit, trading additional device memory for repeated prediction speed. With retain_preprocessing=False, fitted transforms are retained but transformed training tables are recomputed. See cached prediction.

Fitted-state storage

import joblib

joblib.dump(classifier, "classifier.joblib")
restored = joblib.load("classifier.joblib")

Saved state includes fitted preprocessing and optional K/V caches, but excludes pretrained weights. Restoration loads the pinned checkpoint and reuses saved caches. It requires matching Causilo and dependency versions, including Python major/minor. See save/restore.

License & contact

Code is licensed under Apache-2.0; model weights are separately licensed under Causilo License v1.0. Non-commercial research and free research redistribution are permitted under its conditions. Commercial or production use, and hosted/API/SaaS services whether paid or free, require separate licenses. Contact contact@nums.world.

Metadata

Release files for causilo 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for causilo 1.0.1
File Size Uploaded
causilo-1.0.1.tar.gz 45.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for causilo 1.0.1
File Interpreter ABI Platform
causilo-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 91.3 kB

Release files / causilo-1.0.1.tar.gz

Download URL causilo-1.0.1.tar.gz
Size 45.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1983be553c3676d5d9028c474d749c4d4ddbaf95c7d29c90cbe531330a00938e
BLAKE2b-256 checksum
How to use checksums
43b1b1c3a2b9a448f6d97e0729a78ac066cace0e3d595a6c40bb7df62b550021
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 14, 2026.

Transparency log

Release files / causilo-1.0.1-py3-none-any.whl

Download URL causilo-1.0.1-py3-none-any.whl
Size 45.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cef76a33523929d467e58d1fb5501f550ce2f790cd1243200cd0fdea114befec
BLAKE2b-256 checksum
How to use checksums
8ba094449e63eecc8501d5d9b1feb1627a50081763f00a7eead042f32e8bed6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.3

2 release files

1.0.2

2 release files

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page