Agent skill · Documentation

scikit-learn

Machine learning in Python with scikit-learn. Use when working with supervised learning (classification, regression), unsupervised learning (clustering, dimensionality reduction), model evaluation, hyperparameter tuning, preprocessing, or building ML pipelines. Provides comprehensive reference documentation for algorithms, preprocessing techniques, pipelines, and best practices.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codecan modify filesships scriptsMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill scikit-learn --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 11
SKILL.md size: 10 KB
Bundled scripts: yes
Version: 1.2
Allowed tools: ReadWriteEditBash
Requires: Requires Python 3.11+ and scikit-learn 1.7+. NumPy and SciPy are required dependencies. Optional matplotlib/seaborn for…
Path: skills/scikit-learn/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Scikit-learn ## Overview This skill provides comprehensive guidance for machine learning tasks using scikit-learn, the industry-standard Python library for classical machine learning. Use this skill for classification, regression, clustering, dimensionality reduction, preprocessing, model evaluation, and building production-ready ML pipelines. ## Installation Tested against **scikit-learn 1.8.0** (stable; December 2025). Requires **Python 3.11–3.14** (free-threaded CPython 3.14 wheels available in 1.8+). Install the PyPI package **`scikit-learn`** (not the deprecated `sklearn` package on PyPI). Import in code as `sklearn`. ```bash # Install scikit-learn using uv uv pip install "scikit-learn>=1.7" # Optional: plotting utilities and bundled script dependencies uv pip install "scikit-learn[plots]" matplotlib seaborn # Commonly used with uv pip install pandas numpy ``` Check your version: ```python import sklearn print(sklearn.__version__) ``` ## 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 performa

What's inside
Steps it walks through
  1. Overview
  2. Installation
  3. When to Use This Skill
  4. Quick Start
  5. Classification Example
  6. Complete Pipeline with Mixed Data
  7. Core Capabilities
  8. Example Scripts
  9. Classification Pipeline
  10. Clustering Analysis
  11. Reference Documentation
  12. Quick Reference
  13. Supervised Learning
  14. Unsupervised Learning
Ships with 10 files
  • references/common_workflows.md
  • references/core_capabilities.md
  • references/model_evaluation.md
  • references/pipelines_and_composition.md
  • references/preprocessing.md
  • references/quick_reference.md
  • references/supervised_learning.md
  • references/unsupervised_learning.md
  • scripts/classification_pipeline.py
  • scripts/clustering_analysis.py
Commands it runs
Install scikit-learn using uv
uv pip install "scikit-learn>=1.7"
uv pip install "scikit-learn[plots]" matplotlib seaborn
Commonly used with
uv pip install pandas numpy
uv run python scripts/classification_pipeline.py
uv run python scripts/clustering_analysis.py
More from scientific-agent-skills
All skills →
About this skill
What does the scikit-learn skill do?

Machine learning in Python with scikit-learn. Use when working with supervised learning (classification, regression), unsupervised learning (clustering, dimensionality reduction), model evaluation, hyperparameter tuning, preprocessing, or building ML pipelines. Provides comprehensive reference documentation for algorithms, preprocessing techniques, pipelines, and best practices.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill scikit-learn --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going