计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
supervised-and-tabular-models【效率与协作】Routes numpy-ml tabular estimator, tree, nonparametric, and matrix-factorization tasks with fit/predict guidance and compatibility checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks how to use, inspect, or troubleshoot
numpy-ml estimators for small NumPy tabular problems:
This package is an educational NumPy/SciPy implementation library, not a scikit-learn replacement. Prefer small, explicit arrays and inspect learned attributes when validating behavior.
Confirm the runtime uses the root skill compatibility guidance: Python 3.8
is the verified legacy path, with numpy<1.24 and SciPy installed.
Run the local helper when a task needs a quick estimator sanity check:
python sub-skills/supervised-and-tabular-models/scripts/tabular_smoke.py
Read references/api-reference.md before
writing code that depends on constructor defaults, fit/predict methods,
model attributes, or estimator-family differences.
Read references/workflows.md for copyable tiny
examples and model-selection routes.
Read references/troubleshooting.md when
results contain nan, shapes do not match, fit returns None, class
labels behave unexpectedly, or legacy dependency errors appear.
| User asks for | Use this route |
|---|---|
| ordinary least squares, weighted/incremental least squares, ridge, Bayesian regression | Linear-model guidance in api-reference.md and workflows.md. |
| binary logistic regression, Gaussian naive Bayes, GLM links | Classification/GLM rows in api-reference.md; validate target shape and probability outputs. |
| CART, random forest, GBDT | Tree-family guidance; keep tiny data deterministic and set seeds where available. |
| KNN, Nadaraya-Watson kernel regression, Gaussian process regression | Nonparametric route; check metric/kernel object strings and prediction return shapes. |
| matrix factorization, ALS/NMF | Factorization route; inspect .W and .H after in-place fit. |
| feature standardization, one-hot encoding, tokenization, kernels, distances, graph helpers | Route to ../preprocessing-and-utilities/SKILL.md. |
| neural-network layers, losses, optimizers, schedulers | Route to ../neural-network-components/SKILL.md. |
| GMM/HMM/LDA/n-gram language models | Route to ../probabilistic-and-sequence-models/SKILL.md. |
fit methods mutate the model and return None; keep the
estimator object and inspect attributes such as .beta, .parameters,
.W, .H, tree nodes, or trained kernel state.../preprocessing-and-utilities/SKILL.md, then return
here for estimator fitting.