This is your go-to for classical ML tasks in Python. Covers the full workflow: preprocessing and scaling, training classifiers and regressors (tree-based, linear, SVM, neural nets), clustering and dimensionality reduction, plus cross-validation and hyperparameter tuning. The pipeline examples are solid, especially the ColumnTransformer pattern for mixed data types. Tested against scikit-learn 1.8.0 with Python 3.11-3.14. One thing to note: this handles structured and text data well, but if you're doing deep learning or working with images beyond simple feature extraction, you'll want a different tool. Strong skill for interpretable, production-ready ML.

skills.sh installs
2.3K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill scikit-learn --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Targets scikit-learn 1.9.1, verified with Python 3.13. The release requires Python 3.11+; use its published wheels for your interpreter/platform. See the 1.9 release notes. The bundled scripts and regression tests are executable examples. Reference snippets using caller-provided X, y, columns, or placeholders are illustrative adaptations, not complete standalone programs.

Install the PyPI package scikit-learn (not the deprecated sklearn package on PyPI). Import in code as sklearn.

# Install scikit-learn using uv
uv pip install "scikit-learn==1.9.1"

# Optional: plotting utilities and bundled script dependencies
uv pip install "scikit-learn[plots]==1.9.1" matplotlib pandas

# Commonly used with
uv pip install pandas numpy

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Documentation, AI & Agent Building, Data Science & ML, Python
First seen
Jun 3, 2026

More from k-dense-ai/scientific-agent-skills

All 137
1ar9av avatarwiki-digestar9av/obsidian-wikiGenerate a periodic knowledge digest — a human-readable newsletter-style summary of what was learned, updated, and connected in your wiki over a specified perio2.1Kskills.sh installs
2actionbook avatarcore-fix-skill-docsactionbook/rust-skillsInternal maintenance support for checking and fixing generated Rust skill documentation references. Use only when explicitly invoked by /fix-skill-docs.2Kskills.sh installs
3github avataroo-component-documentationgithub/awesome-copilotCreate or update standardized object-oriented component documentation using a shared template plus mode-specific guidance for new and existing docs.1.8Kskills.sh installs
4lingzhi227 avatarrelated-work-writinglingzhi227/agent-research-skillsWrite Related Work sections that compare and contrast prior work with your approach. Organize by theme, cite broadly, and explain how your work differs. Use whe1.7Kskills.sh installs
5charleswiltgen avataraxiom-apple-docscharleswiltgen/axiomUse when ANY question involves Apple framework APIs, Swift compiler errors, or Xcode-bundled documentation. Covers Liquid Glass, Swift 6.2 concurrency, Foundati1.6Kskills.sh installs
6everyinc avatarcompound-docseveryinc/compound-engineering-pluginCapture solved problems as categorized documentation with YAML frontmatter for fast lookup1.5Kskills.sh installs