scikit-learn Machine Learning Assistant
A reference skill that guides classification, regression, clustering, model evaluation and pipeline building in scikit-learn with best practices baked in.
Data & AnalyticsIntermediate★ 33,030⑂ 3,248AI score 9/10Last updated: Aug 9, 2026
What it does
Gives Claude authoritative guidance for classical machine learning with scikit-learn.
- Supervised learning: linear models, SVMs, trees & ensembles, KNN, Naive Bayes, plus an algorithm selection guide
- Unsupervised learning: K-Means, DBSCAN, Agglomerative, Gaussian Mixtures, PCA and manifold methods
- Model evaluation: cross-validation strategies, GridSearchCV/RandomizedSearchCV, classification/regression/clustering metrics, learning and validation curves
- Preprocessing: scaling, categorical encoding, imputation, feature selection, custom transformers
- Pipelines:
Pipeline,ColumnTransformer,FeatureUnionfor leakage-free workflows
It also ships runnable example scripts (classification pipeline, clustering analysis) and deep-dive reference docs under references/.
Who it's for
- Data analysts and scientists modeling tabular data
- Practitioners who have been bitten by data leakage from preprocessing outside a pipeline
- Researchers needing reproducible ML experiment code for papers or reports
- Beginner-to-intermediate ML users comparing algorithms to establish a baseline
Example uses
- "Build a churn classification pipeline for my mixed numeric/categorical data and tune it with GridSearchCV" → imputers, one-hot encoding and the estimator wired into one Pipeline
- "My labels are imbalanced — which metrics should I report?" → guidance on Precision/Recall, ROC AUC, Balanced Accuracy plus a custom scorer example
- "I don't know how many clusters to use" → elbow and silhouette analysis, K-Means vs DBSCAN vs GMM comparison, and a PCA projection plot
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/scikit-learn folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/scikit-learn/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/scikit-learn ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal where Claude Code is installed.
- Clone the repository:
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r scientific-agent-skills/skills/scikit-learn ~/.claude/skills/(keep the references/ and scripts/ subfolders intact). - Install the Python dependencies:
uv pip install "scikit-learn>=1.7" pandas numpy(addmatplotlib seabornfor the plotting scripts). - Restart Claude Code and ask something like "build a scikit-learn classification pipeline for this CSV" — the skill activates automatically.
View source on GitHub ↗License: MIT