> ## Documentation Index
> Fetch the complete documentation index at: https://docs.priorlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> TabPFN-3 and later versions support up to 1,000,000 rows, subject to feature count and checkpoint/API limits.
> For large datasets, use per-estimator subsampling, e.g. inference_config={"SUBSAMPLE_SAMPLES": 100_000}, in TabPFNClassifier or TabPFNRegressor from tabpfn or tabpfn_client.
> Pass raw pandas DataFrames to fit and predict. Categorical strings/categories, raw text, and missing feature values are handled automatically; no manual integer/one-hot encoding, imputation, scaling, or outlier removal is needed.

# Preprocessor presets

> Get the preprocessor configuration for classification in v2.5 of the model.

<div className="python-reference-heading">
  <h2 id="v2-5-classifier-preprocessor-configs">
    `v2_5_classifier_preprocessor_configs`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/TabPFN/blob/c70b6ef0488858d32244c52222abfc0c5be207d6/src/tabpfn/preprocessing/presets.py#L47" aria-label="View source for v2_5_classifier_preprocessor_configs"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

Get the preprocessor configuration for classification in v2.5 of the model.

```python theme={null}
v2_5_classifier_preprocessor_configs() -> list[PreprocessorConfig]
```

**Returns**

<div className="python-reference-table python-reference-returns">
  | Type | Description |
  | - | - |
  | <code className="python-reference-type">list\[<a href="/api-reference/python/tabpfn/preprocessing/configuration#preprocessorconfig">Preprocessor<wbr />Config</a>]</code> | — |
</div>

***

<div className="python-reference-heading">
  <h2 id="v2-5-regressor-preprocessor-configs">
    `v2_5_regressor_preprocessor_configs`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/TabPFN/blob/c70b6ef0488858d32244c52222abfc0c5be207d6/src/tabpfn/preprocessing/presets.py#L65" aria-label="View source for v2_5_regressor_preprocessor_configs"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

Get the preprocessor configuration for regression in v2.5 of the model.

```python theme={null}
v2_5_regressor_preprocessor_configs() -> list[PreprocessorConfig]
```

**Returns**

<div className="python-reference-table python-reference-returns">
  | Type | Description |
  | - | - |
  | <code className="python-reference-type">list\[<a href="/api-reference/python/tabpfn/preprocessing/configuration#preprocessorconfig">Preprocessor<wbr />Config</a>]</code> | — |
</div>

***

<div className="python-reference-heading">
  <h2 id="v2-classifier-preprocessor-configs">
    `v2_classifier_preprocessor_configs`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/TabPFN/blob/c70b6ef0488858d32244c52222abfc0c5be207d6/src/tabpfn/preprocessing/presets.py#L16" aria-label="View source for v2_classifier_preprocessor_configs"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

Get the preprocessor configuration for classification in v2 of the model.

```python theme={null}
v2_classifier_preprocessor_configs() -> list[PreprocessorConfig]
```

**Returns**

<div className="python-reference-table python-reference-returns">
  | Type | Description |
  | - | - |
  | <code className="python-reference-type">list\[<a href="/api-reference/python/tabpfn/preprocessing/configuration#preprocessorconfig">Preprocessor<wbr />Config</a>]</code> | — |
</div>

***

<div className="python-reference-heading">
  <h2 id="v2-regressor-preprocessor-configs">
    `v2_regressor_preprocessor_configs`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/TabPFN/blob/c70b6ef0488858d32244c52222abfc0c5be207d6/src/tabpfn/preprocessing/presets.py#L34" aria-label="View source for v2_regressor_preprocessor_configs"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

Get the preprocessor configuration for regression in v2 of the model.

```python theme={null}
v2_regressor_preprocessor_configs() -> list[PreprocessorConfig]
```

**Returns**

<div className="python-reference-table python-reference-returns">
  | Type | Description |
  | - | - |
  | <code className="python-reference-type">list\[<a href="/api-reference/python/tabpfn/preprocessing/configuration#preprocessorconfig">Preprocessor<wbr />Config</a>]</code> | — |
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.