You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/models.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -253,6 +253,30 @@ All the parameters have beet set to recommended values from the paper. Let's loo
253
253
**For a complete list of parameters refer to the API Docs**
254
254
[pytorch_tabular.models.DANetConfig][]
255
255
256
+
## Model Stacking
257
+
258
+
Model stacking is an ensemble learning technique that combines multiple base models to create a more powerful predictive model. Each base model processes the input features independently, and their outputs are concatenated before making the final prediction. This allows the model to leverage different learning patterns captured by each backbone architecture. You can use it by choosing `StackingModelConfig`.
259
+
260
+
The following diagram shows the concept of model stacking in PyTorch Tabular.
The following model architectures are supported for stacking:
264
+
- Category Embedding Model
265
+
- TabNet Model
266
+
- FTTransformer Model
267
+
- Gated Additive Tree Ensemble Model
268
+
- DANet Model
269
+
- AutoInt Model
270
+
- GANDALF Model
271
+
- Node Model
272
+
273
+
All the parameters have been set to provide flexibility while maintaining ease of use. Let's look at them:
274
+
275
+
-`model_configs`: List[ModelConfig]: List of configurations for each base model. Each config should be a valid PyTorch Tabular model config (e.g., NodeConfig, GANDALFConfig)
276
+
277
+
**For a complete list of parameters refer to the API Docs**
278
+
[pytorch_tabular.models.StackingModelConfig][]
279
+
256
280
## Implementing New Architectures
257
281
258
282
PyTorch Tabular is very easy to extend and infinitely customizable. All the models that have been implemented in PyTorch Tabular inherits an Abstract Class `BaseModel` which is in fact a PyTorchLightning Model.
0 commit comments