Commit 603618d
authored
feat!: DeepTab v2 API with split-config design (#400)
DeepTab v2 is a ground-up restructuring of the library. The high-level
estimator API (`MambularClassifier().fit(...)`) is largely unchanged, but
the internal package layout, configuration objects, and import paths have
moved.
## Highlights
- **Split-config API:** model behavior is now configured through separate
`model_config`, `preprocessing_config`, `trainer_config`, and
`observability_config` objects instead of a single monolithic config.
- **15 stable architectures** across five families: State Space Models
(Mambular, MambaTab, MambAttention), Transformers (FTTransformer,
TabTransformer, SAINT, AutoInt), Residual Networks (ResNet, TabR),
Tree-Inspired (NODE, ENODE, NDTF), and general baselines (MLP, TabM,
TabulaRNN), each as a Classifier, Regressor, or distributional (LSS) model.
- **3 experimental models** under evaluation: ModernNCA, Tangos, Trompt.
- **Reorganized package layout:** `deeptab.models`, `deeptab.architectures`,
`deeptab.configs`, `deeptab.core`, `deeptab.training`, `deeptab.data`.
## Fixes
- ModernNCA now supports distributional (LSS) prediction by pooling
candidate representations through the tabular head.
- Aligned ruff between CI and pre-commit to remove "passes locally, fails
in CI" drift; declared the previously implicit `sphinxext-opengraph`
docs dependency; regenerated `poetry.lock`.
## Docs & tests
- Standardized numpydoc docstrings across architectures, core, nn, and
training modules.
- Added smoke coverage for all stable and experimental models.
- Verified and corrected the model comparison tables against source.
BREAKING CHANGE: internal package layout, configuration objects, and import
paths have changed. See the migration guide for details.315 files changed
Lines changed: 53688 additions & 10755 deletions
File tree
- .github/workflows
- deeptab
- arch_utils
- layer_utils
- mamba_utils
- architectures
- experimental
- base_models
- utils
- configs
- experimental
- models
- core
- data_utils
- data
- distributions
- hpo
- metrics
- models
- _mixins
- experimental
- utils
- nn
- blocks
- training
- utils
- docs
- _static
- api
- base_models
- configs
- data_utils
- data
- distributions
- metrics
- models
- training
- core_concepts
- developer_guide
- examples
- getting_started
- images/logo
- model_zoo
- experimental
- stable
- tutorials
- notebooks
- efficiency
- examples
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
172 | 190 | | |
173 | 191 | | |
174 | 192 | | |
| 193 | + | |
175 | 194 | | |
176 | 195 | | |
177 | | - | |
178 | | - | |
179 | | - | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
3 | 13 | | |
4 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
5 | 22 | | |
6 | | - | |
7 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
8 | 27 | | |
9 | | - | |
| 28 | + | |
| 29 | + | |
10 | 30 | | |
0 commit comments