AGENT SKILL

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

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(), or need_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.py before 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 saved results_path layout, leaderboard/report interpretation, structured reports, explainability artifacts, and save/load workflows.
  • To ../fairness-workflows/ for sensitive_features, fairness metrics, thresholds, and privileged/underprivileged groups.
  • To ../app-deployment/ for app(), local_app(), and publish_app() workflows.

Operating checklist

  1. Confirm the package imports as supervised and use from supervised import AutoML.
  2. Identify the ML task: let ml_task="auto" infer from target values only when that inference is safe; otherwise set binary_classification, multiclass_classification, or regression explicitly.
  3. Pick a mode and budget. Prefer Explain plus a short algorithm list for exploration, Perform for production-style tabular models, Compete only when extra search is justified, and Optuna only with an explicit per-algorithm optuna_time_budget.
  4. Choose a clean results_path. It may be new or empty for training; an existing trained run with params.json is loaded instead of treated as scratch output.
  5. Fit with automl.fit(X, y, sample_weight=..., cv=...) as needed. Use custom cv only with validation_strategy={"validation_type": "custom"}.
  6. Use predict() for labels or regression values, predict_proba() only for classification probabilities, predict_all() for a DataFrame containing labels/probabilities or regression predictions, and score(X, y) for accuracy/R².
  7. 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.py for 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

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351