K-Means 聚类
SkillAI & modelsUse K-Means to cluster business objects for profiling (customer segmentation via clustering)
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the K-Means 聚类 skill
What this skill tells your AI
The instructions your AI receives, as published by zafer-liu/data-analysis-agent in skills/kmeans/SKILL.md and read by ahel’s review.
确认聚类实体与特征,处理缺失值并标准化数值变量。比较合理的 K 值,报告聚类质量、各簇规模、中心特征和业务画像,并说明异常点及稳定性限制。
Tool routing
- Use
get_schemato identify the entity key, candidate numeric features, and source table. - Use
query_datato verify feature availability, missingness, and scale before modeling. - Use
run_analysiswithanalysis_name="K_Means"for the clustering computation. - Use
generate_charton cluster profiles, elbow output, or label result tables afterrun_analysissucceeds.
Implementation reference
- Tool entry:
agent/tools/business/data.py::_tool_run_analysis - Analysis registry:
Function/Analyze/registry.py - Analysis implementation:
Function/Analyze/K-Means/analyze.py - Chart implementation:
Function/Charts_generation/chart_generate.py
Signals
- GitHub stars
- 3k
- Forks
- 221
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
kmeans-zafer-liu- Source
- github.com/zafer-liu/data-analysis-agent