AGENT SKILL

lazypredict

Use Lazy Predict for low-code model benchmarking, supervised classification and regression sweeps, time-series forecasting comparisons, CLI CSV runs, optional tuning, explainability, MLflow, Spark, and dependency troubleshooting.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
lazypredict
license
MIT
metadata
{ "disco-role": "operating" }
description
Use Lazy Predict for low-code model benchmarking, supervised classification and regression sweeps, time-series forecasting comparisons, CLI CSV runs, optional tuning, explainability, MLflow, Spark, and dependency troubleshooting.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Lazy Predict Repo Skill

Use this skill when a task asks how to install, use, debug, or validate the lazypredict Python package. Lazy Predict runs many baseline machine-learning models with little code and returns ranked pandas DataFrames for comparing model families before deeper modeling work.

First checks

  1. Confirm the package is installed in the user's Python environment:

    import lazypredict
    print(lazypredict.__version__)
    
  2. For a broader local diagnostic, run the bundled checker:

    python scripts/check_lazypredict_env.py --json
    
  3. Install only the extras needed for the requested workflow. Start with:

    pip install lazypredict
    

    Then add optional extras such as boost, timeseries, tune, explain, viz, spark, or mlflow only when the task needs them. Read references/install-and-troubleshooting.md before installing broad extras or GPU/Spark/foundation dependencies.

Route by task

  • Read supervised-benchmarking for LazyClassifier and LazyRegressor: sklearn-style classification or regression sweeps, categorical columns, custom metrics, result DataFrames, model selection, progress callbacks, persistence, and fitted-pipeline access.
  • Read time-series-forecasting for LazyForecaster: univariate or exogenous series, seasonal period detection, lag/rolling features, forecasting metrics, horizon strategies, ensembles, diagnostics, plotting, and optional statistical/deep/foundation forecasters.
  • Read advanced-workflows for optional tuning, search spaces, permutation/SHAP explainability, FLAML/Optuna choices, and advanced smoke checks that should not be mixed into a first quick start.
  • Read cli-and-integrations for the lazypredict CSV CLI, MLflow tracking, Dask/PySpark conversion, Spark MLlib classes, GPU/Intel optional acceleration checks, and integration failures.

Common decision points

  • Prefer explicit model subsets, max_models, and timeout when the user needs a fast answer. Running every available estimator can be slow or noisy.
  • Treat ignore_warnings=True as a benchmarking convenience, not as proof that every model succeeded. Inspect .errors when important models are missing.
  • Use predictions=True only when downstream work needs per-model predictions; otherwise the second returned DataFrame is normally empty.
  • GPU support is optional. use_gpu=True requests supported backends but many paths fall back to CPU unless CUDA-capable packages and hardware are present.
  • The CSV CLI supports supervised classification/regression only. Use the Python API for time-series forecasting, tuning, explainability, or custom pipelines.

Provenance and refresh

Read references/repo-provenance.md before checking whether this skill is current for a different Lazy Predict checkout. If the package version, public entry points, or major workflow files changed, refresh the skill before relying on detailed API claims.

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