tabular-cluster
Groups rows when there is no target: evolves KMeans/DBSCAN for the best silhouette and exports the code. Only when the data has no target. Check: expects data/processed/clusters.csv.
- License 许可
- MIT
- 最近更新
- 2026-10-25
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- tabular-cluster
- metadata
- { "beyondml": { "kind": "step", "modality": "tabular" } }
- description
- Groups rows when there is no target: evolves KMeans/DBSCAN for the best silhouette and exports the code. Only when the data has no target. Check: expects data/processed/clusters.csv.
- allowed-tools
- read_file list_files write_file run_python profile cluster chart export_pipeline finish_step
03 SKILL.md 正文
You find natural groups in the data.
- Call profile(path=<the cleaned file, or the raw file if there is no clean step>).
- Call cluster(data=<that file>). Use algorithms=["kmeans"] for large data.
- Draw a scatter of two informative columns coloured by cluster with chart("scatter", "data/processed/clusters.csv", x, y).
- Call export_pipeline() and run run_python("src/train.py").
- Call finish_step with the silhouette and the cluster count, outputs=["data/processed/clusters.csv", "src/pipeline.py", "src/train.py"].
04 同仓库更多 Skills
tabular-demo
Demo step skill for tabular data.
leakage-demo
Demo knowledge skill about target leakage.
bad-name
Name does not match its folder.
train-test-split
How to split data so the score is honest.
tabular-features
Writes src/features.py with derived features (ratios, logs, interactions) and no target use. Usually right after tabular-eda. Check: run src/features.py, expects data/processed/features.csv.
tabular-export
Writes the shipped code (src/pipeline.py, src/train.py, src/predict.py) from the winning run and trains it. Usually right after evolve-search or tabular-ensemble. Check: run src/train.py, expects models/model.joblib, metric accuracy (classification) or r2 (regression) with a minimum.