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
- 参考文档references/install-and-troubleshooting.md4.5 KB
- 参考文档references/repo-provenance.md2.1 KB
- 参考文档references/repo-routing-metadata.json468 B
- 脚本scripts/check_lazypredict_env.py4.9 KB
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
-
Confirm the package is installed in the user's Python environment:
import lazypredict print(lazypredict.__version__) -
For a broader local diagnostic, run the bundled checker:
python scripts/check_lazypredict_env.py --json -
Install only the extras needed for the requested workflow. Start with:
pip install lazypredictThen add optional extras such as
boost,timeseries,tune,explain,viz,spark, ormlflowonly 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
LazyClassifierandLazyRegressor: 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
lazypredictCSV 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, andtimeoutwhen the user needs a fast answer. Running every available estimator can be slow or noisy. - Treat
ignore_warnings=Trueas a benchmarking convenience, not as proof that every model succeeded. Inspect.errorswhen important models are missing. - Use
predictions=Trueonly when downstream work needs per-model predictions; otherwise the second returned DataFrame is normally empty. - GPU support is optional.
use_gpu=Truerequests 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
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).