aj-geddes avatar

Feature Engineering

Helps Claude understand and apply feature engineering techniques when you're prepping data for machine learning. You get guidance on encoding categorical variables, normalizing different scales, handling skewed distributions, and creating domain-specific features based on your business context. It's from aj-geddes's useful-ai-prompts repo, which has 245 GitHub stars and passes all three security audits. Most useful when you're past the raw data stage and need to actually improve model performance through better feature work. The skill covers when to use different techniques rather than just listing transformations, which makes it more practical than a simple reference.

GitHub stars
317
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill 'Feature Engineering' --agent claude-code

Installs into .claude/skills of the current project.

Files

Feature Engineering

Overview

Feature engineering creates and transforms features to improve model performance, interpretability, and generalization through domain knowledge and mathematical transformations.

When to Use

  • When you need to improve model performance beyond using raw features
  • When dealing with categorical variables that need encoding for ML algorithms
  • When features have different scales and require normalization
  • When creating domain-specific features based on business knowledge
  • When handling skewed distributions or non-linear relationships
  • When preparing data for different types of ML algorithms with specific requirements

Engineering Techniques

  • Encoding: Converting categorical to numerical
  • Scaling: Normalizing feature ranges
  • Polynomial Features: Higher-order terms
  • Interactions: Combining features
  • Domain-specific: Business-relevant transformations
  • Temporal: Time-based features

Key Principles

  • Create features based on domain knowledge
  • Remove redundant features
  • Scale features appropriately
  • Handle categorical variables
  • Create meaningful interactions

Implementation with Python

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1aj-geddes avatarFunnel Analysisaj-geddes/useful-ai-promptsAnalyze user conversion funnels, identify drop-off points, and optimize conversion rates for conversion optimization and user flow analysis0skills.sh installs
2aj-geddes avatarML Model Trainingaj-geddes/useful-ai-promptsBuild and train machine learning models using scikit-learn, PyTorch, and TensorFlow for classification, regression, and clustering tasks0skills.sh installs
3aj-geddes avatarModel Hyperparameter Tuningaj-geddes/useful-ai-promptsOptimize hyperparameters using grid search, random search, Bayesian optimization, and automated ML frameworks like Optuna and Hyperopt0skills.sh installs
4aj-geddes avatarNetwork Analysisaj-geddes/useful-ai-promptsAnalyze network structures, identify communities, measure centrality, and visualize relationships for social networks and organizational structures0skills.sh installs
5aj-geddes avatarNeural Network Designaj-geddes/useful-ai-promptsDesign and architect neural networks with various architectures including CNNs, RNNs, Transformers, and attention mechanisms using PyTorch and TensorFlow0skills.sh installs
6aj-geddes avatarRecommendation Engineaj-geddes/useful-ai-promptsBuild recommendation systems using collaborative filtering, content-based filtering, matrix factorization, and neural network approaches0skills.sh installs