Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
89jobrien avatar

Machine Learning

  • 55 installs
  • 4 repo stars
  • Updated April 11, 2026
  • 89jobrien/steve

machine-learning is a Claude Code skill that provides patterns for building, training, evaluating, and deploying machine learning models across the full ML lifecycle.

About

machine-learning is a Claude Code skill that guides the machine learning lifecycle from data prep through production. It covers feature engineering, algorithm selection, hyperparameter tuning, evaluation metrics, deployment patterns, and drift monitoring. A developer invokes it when building ML pipelines, training or evaluating models, or serving them in production.

  • Algorithm-selection guide keyed to data size and problem type (classification, regression, ranking, clustering)
  • Metric tables per problem type plus imbalanced-data and drift-monitoring guidance
  • MLOps coverage: experiment tracking, model versioning, and CI/CD for ML

Machine Learning by the numbers

  • 55 all-time installs (skills.sh)
  • Ranked #913 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

machine-learning capabilities & compatibility

Capabilities
model training · feature engineering · model evaluation · model deployment · hyperparameter tuning
Use cases
data analysis
Pricing
Free
From the docs

What machine-learning says it does

Comprehensive machine learning skill covering the full ML lifecycle from experimentation to production deployment.
SKILL.md
Building machine learning pipelines
SKILL.md
Model deployment and serving
SKILL.md
npx skills add https://github.com/89jobrien/steve --skill machine-learning

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs55
repo stars4
Last updatedApril 11, 2026
Repository89jobrien/steve

What it does

Build and ship a machine learning pipeline from feature engineering through model training, evaluation, and production serving.

Who is it for?

Developers building ML pipelines who need structured guidance on feature engineering, model selection, evaluation metrics, and production deployment.

Skip if: Developers who only need a single quick prediction or who are not building or operating an ML model.

When should I use this skill?

Building ML pipelines, training models, doing feature engineering, evaluating models, or deploying ML systems to production.

What you get

A structured ML workflow from data quality checks through model serving and drift monitoring.

  • ML pipeline design
  • model selection recommendation
  • evaluation strategy

By the numbers

  • 7-step ML development lifecycle
  • 3 reference files (preprocessing, model patterns, evaluation)

Files

SKILL.mdMarkdownGitHub ↗

Machine Learning

Comprehensive machine learning skill covering the full ML lifecycle from experimentation to production deployment.

When to Use This Skill

  • Building machine learning pipelines
  • Feature engineering and data preprocessing
  • Model training, evaluation, and selection
  • Hyperparameter tuning and optimization
  • Model deployment and serving
  • ML experiment tracking and versioning
  • Production ML monitoring and maintenance

ML Development Lifecycle

1. Problem Definition

Classification Types:

  • Binary classification (spam/not spam)
  • Multi-class classification (image categories)
  • Multi-label classification (document tags)
  • Regression (price prediction)
  • Clustering (customer segmentation)
  • Ranking (search results)
  • Anomaly detection (fraud detection)

Success Metrics by Problem Type:

Problem TypePrimary MetricsSecondary Metrics
Binary ClassificationAUC-ROC, F1Precision, Recall, PR-AUC
Multi-classMacro F1, AccuracyPer-class metrics
RegressionRMSE, MAER², MAPE
RankingNDCG, MAPMRR
ClusteringSilhouette, Calinski-HarabaszDavies-Bouldin

2. Data Preparation

Data Quality Checks:

  • Missing value analysis and imputation strategies
  • Outlier detection and handling
  • Data type validation
  • Distribution analysis
  • Target leakage detection

Feature Engineering Patterns:

  • Numerical: scaling, binning, log transforms, polynomial features
  • Categorical: one-hot, target encoding, frequency encoding, embeddings
  • Temporal: lag features, rolling statistics, cyclical encoding
  • Text: TF-IDF, word embeddings, transformer embeddings
  • Geospatial: distance features, clustering, grid encoding

Train/Test Split Strategies:

  • Random split (standard)
  • Stratified split (imbalanced classes)
  • Time-based split (temporal data)
  • Group split (prevent data leakage)
  • K-fold cross-validation

3. Model Selection

Algorithm Selection Guide:

Data SizeProblemRecommended Models
Small (<10K)ClassificationLogistic Regression, SVM, Random Forest
Small (<10K)RegressionLinear Regression, Ridge, SVR
Medium (10K-1M)ClassificationXGBoost, LightGBM, Neural Networks
Medium (10K-1M)RegressionXGBoost, LightGBM, Neural Networks
Large (>1M)AnyDeep Learning, Distributed training
TabularAnyGradient Boosting (XGBoost, LightGBM, CatBoost)
ImagesClassificationCNN, ResNet, EfficientNet, Vision Transformers
TextNLPTransformers (BERT, RoBERTa, GPT)
SequentialTime SeriesLSTM, Transformer, Prophet

4. Model Training

Hyperparameter Tuning:

  • Grid Search: exhaustive, good for small spaces
  • Random Search: efficient, good for large spaces
  • Bayesian Optimization: smart exploration (Optuna, Hyperopt)
  • Early stopping: prevent overfitting

Common Hyperparameters:

ModelKey Parameters
XGBoostlearning_rate, max_depth, n_estimators, subsample
LightGBMnum_leaves, learning_rate, n_estimators, feature_fraction
Random Forestn_estimators, max_depth, min_samples_split
Neural Networkslearning_rate, batch_size, layers, dropout

5. Model Evaluation

Evaluation Best Practices:

  • Always use held-out test set for final evaluation
  • Use cross-validation during development
  • Check for overfitting (train vs validation gap)
  • Evaluate on multiple metrics
  • Analyze errors qualitatively

Handling Imbalanced Data:

  • Resampling: SMOTE, undersampling
  • Class weights: weighted loss functions
  • Threshold tuning: optimize decision threshold
  • Evaluation: use PR-AUC over ROC-AUC

6. Production Deployment

Model Serving Patterns:

  • REST API (Flask, FastAPI, TF Serving)
  • Batch inference (scheduled jobs)
  • Streaming (real-time predictions)
  • Edge deployment (mobile, IoT)

Production Considerations:

  • Latency requirements (p50, p95, p99)
  • Throughput (requests per second)
  • Model size and memory footprint
  • Fallback strategies
  • A/B testing framework

7. Monitoring & Maintenance

What to Monitor:

  • Prediction latency
  • Input feature distributions (data drift)
  • Prediction distributions (concept drift)
  • Model performance metrics
  • Error rates and types

Retraining Triggers:

  • Performance degradation below threshold
  • Significant data drift detected
  • Scheduled retraining (daily, weekly)
  • New training data available

MLOps Best Practices

Experiment Tracking

Track for every experiment:

  • Code version (git commit)
  • Data version (hash or version ID)
  • Hyperparameters
  • Metrics (train, validation, test)
  • Model artifacts
  • Environment (packages, versions)

Model Versioning

models/
├── model_v1.0.0/
│   ├── model.pkl
│   ├── metadata.json
│   ├── requirements.txt
│   └── metrics.json
├── model_v1.1.0/
└── model_v2.0.0/

CI/CD for ML

1. Continuous Integration:

  • Data validation tests
  • Model training tests
  • Performance regression tests

2. Continuous Deployment:

  • Staging environment validation
  • Shadow mode testing
  • Gradual rollout (canary)
  • Automatic rollback

Reference Files

For detailed patterns and code examples, load reference files as needed:

  • `references/preprocessing.md` - Data preprocessing patterns and feature engineering techniques
  • `references/model_patterns.md` - Model architecture patterns and implementation examples
  • `references/evaluation.md` - Comprehensive evaluation strategies and metrics

Integration with Other Skills

  • performance - For optimizing inference latency
  • testing - For ML-specific testing patterns
  • database-optimization - For feature store queries
  • debugging - For model debugging and error analysis

Related skills

Forks & variants (1)

Machine Learning has 1 known copy in the catalog totaling 3 installs. They canonicalize to this original listing.

FAQ

What does the machine-learning skill cover?

The full ML lifecycle: problem definition, data preparation, model selection, training, evaluation, production deployment, and monitoring.

Does it recommend which model to use?

Yes, it includes an algorithm-selection table keyed to data size and problem type, from logistic regression up to deep learning and gradient boosting.

Does it cover production concerns?

Yes, it covers model serving patterns, latency/throughput considerations, data and concept drift monitoring, and CI/CD for ML.

Data Science & MLpipelinesanalytics

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.