training-core
Train, configure, evaluate, and use supervised.AutoML for tabular classification and regression.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- training-core
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Train, configure, evaluate, and use supervised.AutoML for tabular classification and regression.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/advanced-configuration.md10.3 KB
- 参考文档references/api-reference.md10.9 KB
- 参考文档references/troubleshooting.md10.0 KB
- 参考文档references/workflows.md9.1 KB
- 脚本scripts/mljar_automl_smoke.py13.0 KB
03 SKILL.md 正文
Training Core
Use this sub-skill when a task involves fitting, configuring, evaluating, or making predictions with supervised.AutoML for tabular binary classification, multiclass classification, or regression.
Route here for
- Choosing
mode="Explain","Perform","Compete", or"Optuna"and making the choice safe for the user's time budget. - Selecting algorithms, validation strategy, time limits,
eval_metric, custom metrics, random state, CPU parallelism, ensembling, or stacking. - Calling
fit(),predict(),predict_proba(),predict_all(),score(), orneed_retrain(). - Diagnosing training and prediction errors caused by unfitted models, invalid task/mode/algorithm/metric settings, result-directory conflicts, custom CV mistakes, or too-small time limits.
- Creating a bounded synthetic smoke check with
scripts/mljar_automl_smoke.pybefore using user data.
Route elsewhere
- To
../data-preprocessing/for input dtype cleanup, missing/categorical/text/datetime handling, target-shape decisions, and feature-engineering data choices. - To
../artifacts-reports/for savedresults_pathlayout, leaderboard/report interpretation, structured reports, explainability artifacts, and save/load workflows. - To
../fairness-workflows/forsensitive_features, fairness metrics, thresholds, and privileged/underprivileged groups. - To
../app-deployment/forapp(),local_app(), andpublish_app()workflows.
Operating checklist
- Confirm the package imports as
supervisedand usefrom supervised import AutoML. - Identify the ML task: let
ml_task="auto"infer from target values only when that inference is safe; otherwise setbinary_classification,multiclass_classification, orregressionexplicitly. - Pick a mode and budget. Prefer
Explainplus a short algorithm list for exploration,Performfor production-style tabular models,Competeonly when extra search is justified, andOptunaonly with an explicit per-algorithmoptuna_time_budget. - Choose a clean
results_path. It may be new or empty for training; an existing trained run withparams.jsonis loaded instead of treated as scratch output. - Fit with
automl.fit(X, y, sample_weight=..., cv=...)as needed. Use customcvonly withvalidation_strategy={"validation_type": "custom"}. - Use
predict()for labels or regression values,predict_proba()only for classification probabilities,predict_all()for a DataFrame containing labels/probabilities or regression predictions, andscore(X, y)for accuracy/R². - Use
need_retrain(X_new, y_new, decrease=...)as a quick degradation signal, not as a substitute for full drift monitoring.
Read next
- API reference for signatures, accepted values, return shapes, and task-specific metric rules.
- Workflows for binary, multiclass, regression, custom validation, scoring, and retraining recipes.
- Advanced configuration for modes, time limits, ensembling/stacking, Optuna, custom metrics, and budget controls.
- Troubleshooting for common training, prediction, configuration, and dependency failures.
scripts/mljar_automl_smoke.pyfor a no-network synthetic helper that can run from any working directory.- Root package assumptions:
../../references/package-overview.md; cross-cutting install/import issues:../../references/troubleshooting.md.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).