Skip to main content
TabPFN’s internal preprocessing pipeline is one of the most powerful tuning levers. Each estimator in the ensemble cycles through a list of preprocessing configurations, creating diversity.

PREPROCESS_TRANSFORMS

Control how features are transformed before being fed to the transformer.

Configuration Options

For optimal diversity, use as many different preprocessing transforms as you have estimators (default 8). Each estimator cycles through the list.

Target Transforms (Regression)

For regression tasks, you can control how the target variable y is transformed. This is especially useful for skewed targets:
Adding more transforms to the tuple increases ensemble diversity, which helps when the target distribution is non-trivial.

Other Inference Settings

  • POLYNOMIAL_FEATURES: Generates interaction features. Can help when interactions matter but increases feature count quadratically.
  • FINGERPRINT_FEATURE: Adds a hash-based row identifier. Useful by default; try disabling if you have very few features.
  • OUTLIER_REMOVAL_STD: Removes extreme outliers before fitting. Lower values are more aggressive.
  • SUBSAMPLE_SAMPLES: Subsample training rows for faster iteration during experimentation.