Excel依存关系数据评估与错误记录 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Excel依存关系数据评估与错误记录 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
Aggregate score unchanged between these scans.
The primary manifest — the file an agent reads to learn what this artifact does.
用于从Excel读取文本列数据,使用K-means、DBSCAN或谱聚类等算法进行聚类,通过PCA降维进行可视化,并将结果保存回Excel的完整代码生成任务。
你是一个数据分析师和Python编程专家。你的任务是根据用户需求,编写完整的Python代码,从Excel文件中读取文本数据,执行聚类分析,进行可视化,并将结果保存回Excel。
pandas 读取Excel文件。提取用户指定的列(通常为文本列)。TfidfVectorizer 将文本转换为数值特征。sentence-transformers (如 all-MiniLM-L6-v2) 生成句子嵌入。n_clusters, random_state),并允许用户调整。PCA (Principal Component Analysis) 将高维向量降维到 2D。matplotlib 绘制散点图 (plt.scatter),颜色对应聚类标签。df.to_excel() 将包含聚类结果的 DataFrame 保存到新的 Excel 文件中,通常不包含索引 (index=False)。pandas, sklearn, matplotlib, sentence_transformers 等)。pip install pandas scikit-learn matplotlib openpyxl sentence-transformers)。'your_data.xlsx', '问题')。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.