协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
unsupervised-learning【开发与工程】Run and debug ML-From-Scratch unsupervised PCA, clustering, association mining, GMM, genetic search, and RBM workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks for ML-From-Scratch workflows in clustering,
dimensionality reduction, density modeling, association mining, transaction
rules, string-target genetic search, or RBM reconstruction. It assumes the
mlfromscratch package is importable in a CPU Python environment and keeps all
runtime guidance self-contained.
PCA().transform(X, n_components).KMeans, DBSCAN, PAM, or GaussianMixtureModel.Apriori or FPGrowth.GeneticAlgorithm targeting a string.RBM.../supervised-learning/.../deep-learning/.../reinforcement-learning/.../../references/troubleshooting.md.references/algorithm-catalog.md for constructors, methods, return values,
state, and known API quirks.references/workflows.md for safe recipes: clustering/PCA, association
mining with string normalization, genetic search, and RBM reconstruction.references/troubleshooting.md for scaling, DBSCAN density parameters,
KMeans empty clusters, transaction formatting, support/confidence, RBM speed,
and headless plotting.../../references/package-overview.md for package-level install context.../../references/shared-utilities.md for shared helpers such as
normalize, standardize, euclidean_distance, and plotting helpers.Run these from this sub-skill directory or adapt their in-memory patterns:
python scripts/run_clustering_smoke.py --help
python scripts/run_clustering_smoke.py
python scripts/run_association_smoke.py
python scripts/run_optimization_smoke.py --iterations 5
The bundled scripts avoid network access, credentials, destructive writes, and interactive plotting. They are smoke checks for import/API usability, not benchmark or quality claims.
predict(X) directly; PCA exposes
transform(X, n_components); there is often no separate fit call.numpy.random.seed(...) before KMeans, PAM, GMM, or GeneticAlgorithm when
a deterministic result is needed.