scikit-learn

Guide classical machine learning workflows with scikit-learn pipelines and model evaluation.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/viniruggeri/applied-dynamical-systems --skill scikit-learn-viniruggeri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scikit-learn
Source: https://github.com/viniruggeri/applied-dynamical-systems/tree/main/.agents/skills/scikit-learn
Command: npx skills add https://github.com/viniruggeri/applied-dynamical-systems --skill scikit-learn-viniruggeri

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, matplotlib, scikit-learn, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Provides structured guidance for applying classic machine learning using scikit-learn to build, evaluate, and compare models.

Core Features & Use Cases

  • Supervised learning: classification and regression
  • Unsupervised learning and dimensionality reduction
  • Model evaluation, hyperparameter tuning, preprocessing, and reusable pipelines
  • Practical examples and a reference workflow for end-to-end ML tasks

Quick Start

Train a simple pipeline with standard preprocessing and a classifier, then evaluate its accuracy on a held-out test set.

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 scikit-learn pipeline with preprocessing and classification?

Build a scikit-learn pipeline by chaining preprocessing steps like scaling with a classifier using Pipeline and ColumnTransformer. This ensures reproducible workflows by applying consistent data transformations during model training and evaluation.

What's the best way to tune hyperparameters using GridSearchCV in scikit-learn?

Tune hyperparameters using GridSearchCV by defining a parameter grid and fitting it to your pipeline. It systematically searches parameter combinations, returning the best estimator and cross-validation scores for optimal model evaluation.

Can I use scikit-learn for unsupervised learning tasks like clustering and dimensionality reduction?

Yes, scikit-learn supports unsupervised learning including clustering and dimensionality reduction. It provides algorithms to group unlabelled data and reduce feature dimensions, enabling exploratory data analysis and pattern discovery.

Does this Skill require numpy and pandas for machine learning workflows?

Yes, numpy and pandas are required dependencies for scikit-learn machine learning workflows. They handle numerical operations and data manipulation, providing the foundational array and dataframe structures needed for model training.

How do I evaluate and compare classical machine learning models in scikit-learn?

Evaluate and compare classical machine learning models by splitting data into training and test sets, then applying metrics like accuracy. Scikit-learn provides built-in scoring functions to assess classification and regression performance.

When should I use ColumnTransformer instead of standard pipelines for preprocessing?

Use ColumnTransformer instead of standard pipelines when your dataset contains heterogeneous data types. It allows you to apply different preprocessing steps to specific columns, integrating categorical and numerical transformations within a single workflow.