scikit-learn

Guide machine learning tasks with scikit-learn for classification, regression, and clustering.

2|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Weiwei-Mao/hydrology-skills --skill scikit-learn-weiwei-mao
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: scikit-learn
Source: https://github.com/Weiwei-Mao/hydrology-skills/tree/main/hydrology-skills/scikit-learn
Command: npx skills add https://github.com/Weiwei-Mao/hydrology-skills --skill scikit-learn-weiwei-mao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and tools for performing a wide range of machine learning tasks, from data preprocessing to model evaluation and deployment, using the industry-standard scikit-learn library.

Core Features & Use Cases

  • Supervised Learning: Build classification and regression models.
  • Unsupervised Learning: Perform clustering and dimensionality reduction.
  • Model Evaluation & Tuning: Assess model performance and optimize hyperparameters.
  • Data Preprocessing: Scale, encode, and impute data for ML.
  • Pipelines: Create robust, end-to-end ML workflows.
  • Use Case: Analyze customer data to predict churn (classification), forecast sales (regression), or segment customers into distinct groups (clustering).

Quick Start

Use the scikit-learn skill to train a Random Forest classifier on your data.

Frequently Asked Questions about scikit-learn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a machine learning pipeline for data preprocessing and classification?▼

Build a machine learning pipeline by chaining data preprocessing steps like scaling and encoding with classification models. This skill provides scripts and reference documentation to construct robust, end-to-end workflows using scikit-learn.

What's the best way to evaluate model performance and optimize hyperparameters?▼

Evaluate model performance and optimize hyperparameters using built-in scikit-learn tools. This skill provides guidance on assessing classification and regression models, plus best practices for tuning to improve predictive accuracy.

Can I perform clustering and dimensionality reduction for customer segmentation?▼

Perform clustering and dimensionality reduction for customer segmentation using unsupervised learning tools. This skill includes example scripts and reference documentation to group data and reduce features with scikit-learn.

How do I scale, encode, and impute data before training a regression model?▼

Scale, encode, and impute data using scikit-learn preprocessing modules before training a regression model. This skill covers data preparation techniques to ensure your features are formatted correctly for supervised learning.

Does this skill provide examples for forecasting sales with regression?▼

Forecasting sales with regression is supported through supervised learning guidance. This skill provides comprehensive tools and example scripts for building regression models to predict continuous outcomes.

Why do I need to troubleshoot common machine learning workflows?▼

Troubleshoot common machine learning workflows to resolve pipeline errors and model fitting issues. This skill includes detailed reference documentation on best practices and solving problems during preprocessing, training, and evaluation.