scikit-learn

Build, evaluate, and deploy classical ML models with scikit-learn pipelines.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/schneidermu/agent-dotfiles --skill scikit-learn-schneidermu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scikit-learn
Source: https://github.com/schneidermu/agent-dotfiles/tree/main/codex-skills/scikit-learn
Command: npx skills add https://github.com/schneidermu/agent-dotfiles --skill scikit-learn-schneidermu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Classical machine learning tasks can be efficiently addressed by a cohesive library of algorithms and tooling that standardizes model development, evaluation, and deployment.

Core Features & Use Cases

  • Comprehensive algorithms for classification, regression, clustering, and dimensionality reduction with a consistent API.
  • Pipelines, ColumnTransformer, and GridSearchCV enable reproducible workflows and end-to-end hyperparameter tuning.
  • Rich reference content and best practices for model selection, evaluation, preprocessing, and deployment.

Quick Start

Train and evaluate a simple classifier on tabular data using a Pipeline with standard preprocessing and a default estimator.

Frequently Asked Questions about scikit-learn

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

FAQPage Schema
How do I build reproducible machine learning pipelines with ColumnTransformer and GridSearchCV?

Reproducible machine learning pipelines use ColumnTransformer to apply distinct preprocessing steps to specific columns, while GridSearchCV automates hyperparameter tuning across the entire pipeline for optimal model evaluation.

What is the best way to handle preprocessing for tabular datasets in scikit-learn?

Preprocessing tabular datasets in scikit-learn is best handled using pipelines with ColumnTransformer, which standardizes transformations like scaling and encoding within a single cohesive model evaluation workflow.

Does scikit-learn support both unsupervised clustering and supervised classification?

Yes, scikit-learn supports both unsupervised clustering and supervised classification by providing a consistent API across algorithms, allowing seamless model evaluation and algorithm selection for tabular datasets.

Can I use pandas and numpy data structures directly for scikit-learn model training?

Yes, scikit-learn directly accepts numpy arrays and pandas DataFrames for model training, allowing pipelines and GridSearchCV to process tabular datasets without manual data format conversion.

When should I use GridSearchCV for hyperparameter tuning instead of manual search?

GridSearchCV should be used for hyperparameter tuning when you need reproducible workflows, automated cross-validation, and end-to-end optimization across both preprocessing steps and the estimator in classical machine learning tasks.

What are the limitations of using scikit-learn for classical machine learning?

Scikit-learn is limited to classical machine learning tasks on tabular datasets, meaning it lacks native deep learning support and requires pipelines to properly manage complex preprocessing workflows.