Looking for usage documentation? Check out Fine tuning.
TabPFNRegressor.fit_from_preprocessed
View source TabPFNRegressor.fit_with_differentiable_input
View source TabPFNClassifier.fit_with_differentiable_input. Lets
gradients flow from a downstream loss back through X (and y,
if it carries grads) into upstream torch modules. Use this instead
of fit when differentiable_input=True.
TabPFNRegressor.predict_batched
View source fit() + predict() does,
then compatible model-input shapes are fused. Heterogeneous
post-preprocessing shapes run in separate groups. This is equivalent to
independent prediction and leaves self unchanged.
Datasets need not share a target scale (each is decoded with its own
bar distribution) but must share raw array shapes. Fitted transforms may
produce different shapes; these are grouped internally without padding.
Type aliases
Type aliases
ValueError
If the input lists have unequal or zero length, or the
training (or test) arrays do not all share one shape.
TabPFNValidationError
If output_type or quantiles are invalid.
NotImplementedError
If tuning_config is configured on the
estimator — the calibrated ensemble temperature is per-dataset
state and cannot be applied correctly across a shared batch, so
score those datasets individually with predict. Also
raised for inference_precision=torch.float64, which the
fused forward does not support.
Note
Constant-target datasets are answered analytically and take no part
in the fused forward.
TabPFNRegressor.forward
View source TabPFNRegressor Inference Engine.
Used in fine-tuning and prediction. Called directly
in FineTuning training loop or by predict() function
with the use_inference_mode flag explicitly set to True.
Iterates over outputs of InferenceEngine.