跳到正文
Skillpedia
机器学习48k · #5683

scikit-learn

它能做什么

这个工具可以帮你构建机器学习模型,用来预测结果、对相似数据进行分组,或者发现信息中的规律。它很适合分析数据,并构建能从数据中学习的系统。

适用场景

  • ✓当你想预测某个结果时(例如,预测客户是否会购买某件商品)。
  • ✓当你想对相似的事物进行分组时(例如,根据行为习惯对客户进行分群)。
  • ✓当你需要为分析或模型学习准备数据时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/scikit-learn/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/scikit-learn/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“根据客户数据,建立一个模型,预测客户是否会购买某个产品。”

每周 5 个新技能,1 分钟读完。

工作原理

该工具使用机器学习算法,从你的数据中找出规律。它可以对信息进行分类、对相似数据进行分组,或者预测数值。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Scikit-learn

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use This Skill

Use the scikit-learn skill when:

  • Building classification or regression models
  • Performing clustering or dimensionality reduction
  • Preprocessing and transforming data for machine learning
  • Evaluating model performance with cross-validation
  • Tuning hyperparameters with grid or random search
  • Creating ML pipelines for production workflows
  • Comparing different algorithms for a task
  • Working with both structured (tabular) and text data
  • Need interpretable, classical machine learning approaches

Example Scripts

Classification Pipeline

Run a complete classification workflow with preprocessing, model comparison, hyperparameter tuning, and evaluation:

python scripts/classification_pipeline.py

This script demonstrates:

  • Handling mixed data types (numeric and categorical)
  • Model comparison using cross-validation
  • Hyperparameter tuning with GridSearchCV
  • Comprehensive evaluation with multiple metrics
  • Feature importance analysis

Clustering Analysis

Perform clustering analysis with algorithm comparison and visualization:

python scripts/clustering_analysis.py

This script demonstrates:

  • Finding optimal number of clusters (elbow method, silhouette analysis)
  • Comparing multiple clustering algorithms (K-Means, DBSCAN, Agglomerative, Gaussian Mixture)
  • Evaluating clustering quality without ground truth
  • Visualizing results with PCA projection

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

什么是机器学习?

机器学习就是让计算机从数据中学习,而不需要为每个任务都编写明确的程序。它们能识别规律,并据此做出决策或预测。

使用这个工具需要会编程吗?

这个工具是为不懂编程的人设计的。它会自动完成复杂的机器学习任务。

它能分析什么样的数据?

它对表格形式的数据(比如电子表格)处理得很好,也能处理文本数据。

详情

作者的原始描述

Machine learning in Python with scikit-learn. Use for classification, regression, clustering, model evaluation, and ML pipelines.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5683
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能