算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
yellowbrick【设计与创意】Use Yellowbrick visual diagnostics for scikit-learn models, feature/target analysis, clustering, model selection, text visualizers, datasets, styles, and contrib extensions.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task asks how to use Yellowbrick, troubleshoot Yellowbrick visualizers, create saved diagnostic plots for scikit-learn workflows, load Yellowbrick example datasets, or adapt Yellowbrick-style visual checks in a headless agent environment.
Yellowbrick visualizers usually wrap scikit-learn estimators or transform data and render Matplotlib figures. Start from the shared lifecycle reference, then open the focused sub-skill for the task family.
For the repository snapshot covered by this skill, use a Python scientific stack with Matplotlib and scikit-learn. Yellowbrick 1.5 has no GPU requirement.
python -m pip install yellowbrick
python - <<'PY'
import yellowbrick
print(yellowbrick.__version__)
PY
If normal scikit-learn classifiers or regressors are rejected as the wrong
estimator type, read references/troubleshooting.md; this snapshot works best
with a pre-1.4 scikit-learn compatibility stack.
For headless agents and CI, set a non-interactive backend before importing
pyplot or running bundled smoke scripts:
import matplotlib
matplotlib.use("Agg", force=True)
X, y, class labels, feature names, and any train/test split.ax or
style arguments.fit, transform/fit_transform,
score, then show(outpath=...) for saved reports.Read references/visualizer-patterns.md for lifecycle, axes, style, pipeline,
and headless rendering details. Read references/troubleshooting.md for
install/import, optional dependency, dataset, Matplotlib, and estimator-type
failures. Read references/testing-and-validation.md when creating a smoke
check or comparing against native Yellowbrick tests.
sub-skills/classifier-visualizers/SKILL.md.sub-skills/regressor-visualizers/SKILL.md.sub-skills/feature-target-visualizers/SKILL.md.sub-skills/cluster-model-selection/SKILL.md.sub-skills/text-and-datasets/SKILL.md.sub-skills/contrib-and-extensions/SKILL.md.Run scripts/check_yellowbrick_visualizer.py --outdir <dir> to verify that the
current environment can import Yellowbrick, use Matplotlib Agg, and create
small classifier, regressor, and cluster diagnostic PNGs from synthetic data.
This script is safe, deterministic, offline, and independent of the original
repository checkout.
Read references/repo-provenance.md before deciding whether this skill is
current for another checkout. If the source commit, package version, public API,
or dirty-state baseline differs, refresh the repo skill before relying on exact
signatures or compatibility notes.