TALENT icon indicating copy to clipboard operation
TALENT copied to clipboard

TabPFN v2 - Wrong validation function

Open msetzu opened this issue 2 months ago • 1 comments

Fitting a TabPFN results in the invocation of a validation function _validate_data for the 'TabPFNClassifier class, which has no such method. Results in an exception. For reference, see lib.pfn_v2.tabpfn.utils.py#L474

msetzu avatar Nov 04 '25 16:11 msetzu

Hi @msetzu,

Both TabPFNClassifier and TabPFNRegressor inherit from sklearn.base.BaseEstimator, which provides the _validate_data method. If you’re encountering an exception related to this function, it may be due to a version mismatch with scikit-learn.

If the issue persists after checking your scikit-learn version, could you please share more details?

mkmaa avatar Nov 07 '25 12:11 mkmaa