scikit-learn — classical machine learning reference
Classical ML with scikit-learn: supervised and unsupervised algorithms, preprocessing, pipelines and composition, cross-validation, hyperparameter tuning, model evaluation, best practices, and worked examples — verified against scikit-learn 1.8-1.9
- What
- Classical ML with scikit-learn: supervised and unsupervised algorithms, preprocessing, pipelines and composition, cross-validation, hyperparameter tuning, model evaluation, best practices, and worked examples — verified against scikit-learn 1.8-1.9
- Cost
- Free
- Needs
- Python >= 3.12, with scikit-learn >= 1.8 resolved per call (uv run --python ">=3.12" --with "scikit-learn>=1.8" --with pandas — no install step; >= 1.8 recommended, verified against 1.8-1.9) — matplotlib and seaborn optional for plotting; your own tabular/text data
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor — @alterlab-ieu's alterlab-scikit-learn skill, listed here with credit to its creator (part of the AlterLab Academic Skills suite): a complete agent reference for classical machine learning with scikit-learn. It covers supervised learning (linear models, trees, SVMs, ensembles, Naive Bayes, KNN, MLPs), unsupervised learning (K-Means, DBSCAN/HDBSCAN, agglomerative, GMMs, PCA, t-SNE, UMAP), model evaluation and selection (KFold/StratifiedKFold/TimeSeriesSplit, GridSearchCV/RandomizedSearchCV/HalvingGridSearchCV, per-task metrics), data preprocessing (scalers, encoders, imputers, feature engineering), and pipelines and composition (Pipeline, ColumnTransformer, FeatureUnion) — with two runnable example scripts (classification pipeline, clustering analysis), worked examples, and a best-practices/troubleshooting reference. Refreshingly current: verified against scikit-learn 1.8-1.9, including breaking-change notes (LogisticRegression penalty deprecation, SVC(probability=True) removal path, squared=False removal) and a routing table for when to use sibling skills (PyMC for Bayesian, scikit-survival for censored outcomes, SHAP for explanations, statsmodels for inference). Honest caveats: scikit-learn is CPU classical ML — for deep learning or GPUs, look elsewhere; version drift is real (the 1.8-1.9 notes help); your data comes from you — the skill is patterns and code, not data. MIT licensed. Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh.
Version:
Quick answer
scikit-learn — classical machine learning reference is a free Muse skill that offers a reference for classical machine learning with scikit-learn, covering supervised learning, unsupervised learning, model evaluation and selection, data preprocessing, and pipelines and composition. It includes two runnable scripts, examples and a best-practices reference, verified against scikit-learn 1.8-1.9, with breaking-change notes and sibling-skill routing.
Install
Copy the install package below, then paste it into Muse🧪 Install ran in our test sandbox · Nov 11, 2026📌 Pinned version: commit c50cf64Step 0 — before installing anything: read this install prompt, summarize in a few lines what this build does and what installing it involves, then ask me to confirm before you proceed. Prerequisites: Python >= 3.12, with scikit-learn >= 1.8 resolved per call (uv run --python ">=3.12" --with "scikit-learn>=1.8" --with pandas — no install step; >= 1.8 recommended, verified against 1.8-1.9) — matplotlib and seaborn optional for plotting; your own tabular/text data Install "scikit-learn — classical machine learning reference" for me. It gives my agent @alterlab-ieu's scikit-learn reference: supervised and unsupervised algorithms, preprocessing (scalers, encoders, imputers, feature engineering), pipelines and composition (Pipeline, ColumnTransformer, FeatureUnion), cross-validation and hyperparameter tuning, per-task metrics, two runnable example scripts (classification_pipeline.py, clustering_analysis.py), worked examples, and best-practices/troubleshooting — with 1.8-1.9 version notes and a routing table for sibling skills (PyMC, scikit-survival, UMAP, SHAP, statsmodels). Part of the AlterLab Academic Skills suite. MIT licensed. Repository: https://raw.githubusercontent.com/alterlab-ieu/alterlab-academic-skills/c50cf64bf0997f66cb4a654dee2174cbe0f1f82e/skills/data-science/alterlab-scikit-learn/SKILL.md Pinned version: install the code at commit c50cf64bf0997f66cb4a654dee2174cbe0f1f82e exactly (Skill Harbor tested this version). Do not substitute a newer version. If this commit is unreachable, stop and tell me. Updated November 5, 2026: Skill Harbor regenerated this install prompt from the current upstream file. What changed since the version the previous prompt described: there is no install step anymore — instead of `uv pip install scikit-learn` (plus pandas, numpy, matplotlib, seaborn), everything runs with `uv run --python ">=3.12" --with "scikit-learn>=1.8" --with pandas`, adding `--with matplotlib --with seaborn` only for plotting. The Python >= 3.12 pin matters because an older default interpreter resolves older scikit-learn releases. Everything else is unchanged: the same algorithms, preprocessing, pipelines, metrics, example scripts, 1.8-1.9 version notes and sibling-skill routing table. 1. Fetch the SKILL.md file (and any helper files) from the repository path into a temporary folder 2. Safety check: review the SKILL.md and scripts for anything suspicious (unexpected network calls, shell commands, credential harvesting). This repo should contain zero secrets in code. Verify that holds here; STOP on any red flag and tell me. 3. Install it as a skill: copy SKILL.md and its helper files into the agent's skills directory, in a folder named "alterlab-scikit-learn". 4. Verify with no network calls: frontmatter valid, files in place. 5. Report what was installed, where, and what I still need to do myself (e.g. run scripts with uv run --python ">=3.12" --with "scikit-learn>=1.8" --with pandas — add --with matplotlib --with seaborn for plotting; no install step; check my sklearn version against the 1.8-1.9 notes; always preprocess inside a Pipeline, fit on train only, stratify classification splits). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. If anything looks off, stop and ask me.
Saved to your recent installs. Find it anytime on /connect.
🔒 Security, provenance and what this touches
- It can download and install software packages.
What the scan found — excerpts from the install prompt
- installs packages — Prerequisites: Python 3 with scikit-learn installed (uv pip install scikit-learn; >= 1.8 recommended, verified · Prérequis : Python 3 avec scikit-learn installé (uv pip install scikit-learn ; ≥ 1.8 recommandé, vérifié contr
The install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?
Verification certificate
Dated facts about what was checked for this listing, and how. This is not a safety certification.
- Pinned version
- c50cf64 · 2026-10-13
- Sandbox install test
- Install ran in our test sandbox · Nov 11, 2026
- Creator identity
- Not verified
- Fingerprint watch
- Last checked · Nov 19, 2026 : no change detected in the files linked by this install prompt
- Install prompt analysis
- 2026-10-13 : installs packages
Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify
Questions
How do I install a skill?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the skill up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a skill before installing it.