scikit-learn – Data & Science skill for AI agents
Machine learning in Python with scikit-learn. Use for classification, regression, clustering, model evaluation, and ML pipelines.
Install the scikit-learn skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/scikit-learn-7b4ef.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /scikit-learn – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/scikit-learn-7b4ef.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $scikit-learn – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/scikit-learn-7b4ef.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /scikit-learn – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/scikit-learn-7b4ef.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /scikit-learn – then describe the task you want done.
SKILL.md content
Scikit-learn
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) 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 Workflows
The named classification/clustering scripts and expanded per-topic reference files are not bundled in this catalog tree. Do not run those paths or claim their results. Use the inline examples in the detailed guide, or request/review the actual upstream assets before depending on them. Example snippets assume user-provided feature/target data and are not production certifications.
Classification Pipeline
Run a complete classification workflow with preprocessing, model comparison, hyperparameter tuning, and evaluation:
# Not bundled: obtain and review classification_pipeline.py before execution.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:
# Not bundled: obtain and review clustering_analysis.py before execution.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.
Related skills
- seaborn – Seaborn is a Python visualization library for creating publication-quality statistical…
- search-specialist – Research questions with focused web searches, primary-source verification, and explicit…
- second-deposit-igaming – Explore local casino deposit exports with heuristic signals and descriptive comparisons…
- segment-cdp – Expert patterns for Segment Customer Data Platform including Analytics.js, server-side…
- senior-fullstack – Coordinate full-stack implementation across interface, service, database and delivery…
- skill-gap-analysis – Skill gap register: employee, skill area, current against required level, gap severity…
- skill-optimizer – Diagnose and optimize Agent Skills (SKILL.md) with real session data and research-backed…
- skin-health-analyzer – Analyze skin health data, identify skin problem patterns, assess skin health status…