Repository navigation
Open
Description
Summary
Add a DeepTab-compatible wrapper around the official TabICL package. It should implement the foundation-model adapter contract from #389. Dependencies come from #392 and tests run in the CI lane from #393.
Scope
TabICLClassifierin the foundation-adapter namespace agreed in Define foundation-model adapter interface #389 (proposed:deeptab.models.foundation). AddTabICLRegressoronly if the pinnedtabiclversion supports regression. Otherwise list regression under limitations.tabiclis imported lazily through arequire_tabicl()helper indeeptab/core/optional_deps.py. Without the extra, constructing the estimator raises an actionableImportErrornaming the extra from Add optional extras for foundation model dependencies #392 (e.g.deeptab[foundation-tabicl]), andimport deeptab.modelskeeps working.- Constructor parameters are explicit, so
get_params/set_params/clonework. Labels are encoded to0..K-1and decoded onpredict, matching the other classifiers. - The backend's sample, feature and class limits are validated up front with a DeepTab exception.
- Devices use DeepTab's vocabulary (
"cpu","cuda","mps","auto"), with documented support per backend version. - Model weights: document the download/cache location, offline use with a pre-downloaded checkpoint, and the licence of the weights.
save()/load()/InferenceModel.from_path()round-trip with identical predictions, per Define foundation-model adapter interface #389.- Use the same structure as the TabPFN adapter (Add TabPFN adapter #390) so both share the Define foundation-model adapter interface #389 base class and test helpers.
Acceptance criteria
- Adapter class(es) with numpydoc docstrings, registered in
MODEL_REGISTRYwith the agreed status - Tests that run only in the foundation profile (Add dedicated foundation-model test job #393): fit/predict/predict_proba shapes, string-label round-trip, limits validation, save/load parity,
clone - Contract tests from Define foundation-model adapter interface #389 pass with this adapter
- Model-zoo page and installation-docs entry;
just docspasses - CHANGELOG entry
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity