ml-pipeline

Automate scikit-learn pipeline construction with preprocessing, tuning, and cross-validation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/arinbalyan/config --skill ml-pipeline-arinbalyan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ml-pipeline
Source: https://github.com/arinbalyan/config/tree/main/skills/ml-pipeline
Command: npx skills add https://github.com/arinbalyan/config --skill ml-pipeline-arinbalyan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables data teams and developers to rapidly assemble, train, and evaluate end-to-end machine learning pipelines, reducing manual setup and the risk of reproducibility errors.

Core Features & Use Cases

  • Modular preprocessing: Build pipelines with ColumnTransformer, using StandardScaler/MinMaxScaler for numerical data and OneHotEncoder for categorical features.
  • Robust evaluation: Apply cross-validation and generate metrics with sklearn.metrics.
  • Hyperparameter tuning: Leverage GridSearchCV or RandomizedSearchCV to optimize model performance.
  • Experiment tracking: Integrate MLflow or Weights & Biases to track experiments, parameters, and results.
  • Reproducibility: Persist pipelines with joblib and fix random_state=42 for consistent results.

Quick Start

Create a scikit-learn Pipeline that preprocesses numerical and categorical features, then perform a grid search across models to find the best performing configuration. Then evaluate with cross-validation and save the final model.

Frequently Asked Questions about ml-pipeline

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

FAQPage Schema
How do I build an end-to-end scikit-learn pipeline for tabular data?▼

Build an end-to-end scikit-learn pipeline by combining a ColumnTransformer for numerical and categorical preprocessing with model selection, hyperparameter tuning, and cross-validation. This automates training and evaluation while reducing manual setup errors.

Can I use GridSearchCV and RandomizedSearchCV for hyperparameter tuning in my ML pipeline?▼

Yes, you can use GridSearchCV and RandomizedSearchCV for hyperparameter tuning in your ML pipeline. The Skill applies these scikit-learn tools to optimize model performance across specified parameter grids during cross-validation.

How do I handle numerical and categorical features in a scikit-learn pipeline?▼

Handle numerical and categorical features in a scikit-learn pipeline using a ColumnTransformer. It applies StandardScaler or MinMaxScaler to numerical data and OneHotEncoder to categorical features, ensuring modular and consistent preprocessing.

Does this ML pipeline approach support experiment tracking with MLflow or Weights & Biases?▼

Yes, this ML pipeline approach supports experiment tracking with MLflow or Weights & Biases. It integrates these tools to log experiments, track parameters, and record evaluation results for reproducible model development.

What is the best way to ensure reproducibility when training machine learning models?▼

Ensure reproducibility when training machine learning models by fixing random_state to 42 and persisting the fully fitted scikit-learn pipeline with joblib serialization, guaranteeing consistent results across execution runs.

Are there limitations to using scikit-learn pipelines for model evaluation?▼

Scikit-learn pipelines for model evaluation are limited to tabular data workflows. They support cross_val_score and sklearn.metrics for robust evaluation but do not natively handle unstructured data like raw images or text without custom transformers.