The TabM research pipeline consists of several specialized scripts that take TOML configuration files as input.
Training a single model
Use bin/model.py with a TOML config. The output (including report.json containing metrics and hyperparameters) will be placed in a directory named after the config file next to the config itself.
python bin/model.py exp/reproduce/train-once/0.toml
Hyperparameter tuning
Use bin/tune.py to find optimal hyperparameters. Use the --continue flag to resume interrupted runs.
python bin/tune.py exp/reproduce/tabm/california/0-tuning.toml --continue
Evaluation (Multiple Seeds)
Use bin/evaluate.py to train a model under multiple random seeds. To evaluate a specific configuration, place it in a directory named <path>-evaluation with the file named 0.toml.
python bin/evaluate.py exp/reproduce/tabm/california/0-tuning
Ensembling
Use bin/ensemble.py to compute metrics for an ensemble of models that have already been trained.
python bin/ensemble.py exp/reproduce/tabm/california/0-evaluation
Automated Pipeline
Use bin/go.py to execute tuning, evaluation, and ensembling in a single automated workflow.
python bin/go.py exp/reproduce/tabm-go/california/0-tuning --continue