Skip to main content
Explore hands-on guides for integrating TabPFN into various scenarios. Each cookbook walks through a use-case with TabPFN.

Contribute to TabPFN Cookbook

Have an interesting TabPFN use case? Contribute to the Cookbook!
Filter by tag

Bayesian Optimization with TabPFN Extensions

ExtensionsOptimization

Use TabPFN as a Bayesian optimization surrogate via tabpfn-extensions

Experiment with Thinking Mode

Thinking modeAPI

Improve results of target metrics with TabPFN Thinking Mode

Faster Inference with KV Cache

Performance

Get a quick introduction into faster inference with fit_with_cache

Forecast Daily Spare-parts Demand with TabPFN

Time SeriesRegression

Compare local and pooled TabPFN regressors on synthetic demand from German

Generate Synthetic Data Using Real Data with TabPFN

Extensions

Sample new rows that mirror the statistics of an existing table

Get Started with Predictive Distribution

Regression

Learn how to extract predictive distributions with TabPFNRegressor

Insurance Claim Modeling: TabPFN vs. GLM

RegressionInsurance

Predict insurance pure premiums on zero-inflated claims data; TabPFN

Interpreting Results with TabPFN

Interpretability

Learn how to use the standard interpretability toolkit with TabPFN for

Interpreting Time-Series Forecasts with TabPFN-TS

InterpretabilityTime Series

Explain what drives a TabPFN-TS forecast with partial dependence, Window

Predictions over Relational Data with TabPFN-Rel

Relational

Get started with RelArena & TabPFN-Rel, a TabPFN Harness

See Which Training Rows Drive a TabPFN Prediction

InterpretabilityClassification

Interpret TabPFN predictions as weighted votes from training rows with

TabPFN vs XGBoost

Benchmark

Compare TabPFN results with XGBoost using an OpenML Dataset

TabPFN with MLflow

Integration

Learn how to wrap TabPFN as an MLflow PythonModel, register it to Unity Catalog, and deploy it to a Mosaic AI Model serving endpoint.