Skip to content

Guide to training classification, regression, and clustering models with scikit-learn, PyTorch, and TensorFlow.

CCM score
33 of 100
skills.sh installs
526
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the training workflow from data preparation and feature scaling through model selection, tuning, and validation
  • Includes common algorithms for regression, classification, and clustering, plus MLP, CNN, RNN, and Transformer neural networks
  • Provides a runnable end-to-end example comparing scikit-learn, PyTorch, and Keras models with metrics and training-loss plots
  • Guides best practices such as a 70/15/15 split, K-fold cross-validation, early stopping, and class balancing for imbalanced data

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill 'ML Model Training' -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

ML Model Training

Training machine learning models involves selecting appropriate algorithms, preparing data, and optimizing model parameters to achieve strong predictive performance.

Training Phases

  • Data Preparation: Cleaning, encoding, normalization
  • Feature Engineering: Creating meaningful features
  • Model Selection: Choosing appropriate algorithms
  • Hyperparameter Tuning: Optimizing model settings
  • Validation: Cross-validation and evaluation metrics
  • Deployment: Preparing models for production

Common Algorithms

  • Regression: Linear, Ridge, Lasso, Random Forest
  • Classification: Logistic, SVM, Random Forest, Gradient Boosting
  • Clustering: K-Means, DBSCAN, Hierarchical
  • Neural Networks: MLPs, CNNs, RNNs, Transformers

Python Implementation

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What does the ML Model Training skill do?

ML Model Training builds and trains machine learning models with scikit-learn, PyTorch and TensorFlow for classification, regression and clustering tasks. Its SKILL.md walks through data preparation, feature scaling, model selection, validation and a full Python example that compares logistic regression, random forest, gradient boosting, a PyTorch network and a Keras network.

How do I install the ML Model Training skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill 'ML Model Training' -y in your project. Once installed, ML Model Training lets your agent prepare data, train and compare models, and report accuracy, precision, recall, F1 and ROC AUC metrics.

Who is the ML Model Training skill for?

ML Model Training suits developers and data scientists who want an agent to set up supervised learning experiments in Python. Its guidance covers 70/15/15 data splits, feature normalization, K-fold cross-validation, early stopping and handling imbalanced classes.

More from aj-geddes/useful-ai-prompts

All 258

Similar to ML Model Training

More Data Science & Analytics