Tabular AutoML
Use this sub-skill for Auto-PyTorch tabular classification and regression. It covers the main public search workflow, single-configuration fitting, refitting, feature typing, portfolio selection, and result inspection.
When to use
Choose this route when the user asks to:
- train or tune tabular classification or regression models
- handle categorical and numerical columns in pandas or NumPy data
- control resampling, budgets, or search-space restrictions
- force or inspect traditional learners
- inspect the final ensemble, run history, or performance over time
- fit one configuration instead of running a full search
What this route owns
TabularClassificationTaskTabularRegressionTaskTabularClassificationPipelineTabularRegressionPipelineTraditionalTabularClassificationPipelineTraditionalTabularRegressionPipelineTabularInputValidatorTabularFeatureValidatorTabularTargetValidatorget_dataset_requirements(...)get_configuration_space(...)- tabular search, fit, refit, predict, score, and inspection flows
Main workflow
- Decide whether the task is classification or regression.
- Validate the inputs and, when needed, pass
feat_typesfor ambiguous dtypes. - Build the task or pipeline object.
- Choose the search style:
search(...)for end-to-end AutoMLfit_pipeline(...)for one configurationrefit(...)after search when you want to retrain on the full dataset
- Inspect the outcome with
predict(...),score(...),show_models(), andsprint_statistics().
Common decisions
Data shape
- Accepts pandas DataFrames, NumPy arrays, and Python lists in the supported tabular formats.
- Categorical detection is easiest with DataFrames.
- If NumPy data encodes categories as integers, pass
feat_typesexplicitly.
Search control
- Use
include_componentsto narrow the search to a known subset. - Use
exclude_componentsto rule out components you do not want. - Use
search_space_updatesfor targeted hyperparameter overrides. - Use
portfolio_selection='greedy'when you want the built-in warm-start portfolio. - Keep
enable_traditional_pipeline=Truewhen you want the traditional learner baseline alongside neural pipelines.
Resampling
- Default holdout validation is the common starting point.
- Cross-validation and stratified variants are available when you need more stable evaluation.
fit_pipeline(...)accepts the same family of resampling controls.
Traditional learners
The traditional path can use:
- LightGBM
- CatBoost
- Random Forest
- Extra Trees
- SVM
- KNN
These remain useful when you want a fast non-neural baseline or a smaller dataset path.
What to read next
references/workflows.mdfor end-to-end tabular recipes, including search, fit-pipeline, refit, and result inspectionreferences/api-reference.mdfor the main class and method signaturesreferences/troubleshooting.mdfor install/import, data-shape, and optional-dependency problemsscripts/tabular_smoke.pyfor a tiny fixture check of tabular validation and search-space setup
Do not use this route for
- time series forecasting
- image classification proof-of-concept paths
- repo-maintenance or CI workflows
Route forecasting questions to sub-skills/forecasting/ instead.