TALENT
TALENT copied to clipboard
TabPFN v2 - Wrong validation function
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
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?