Case study: a feature-engineering guide written for restaurant order data, kept as a worked example of the techniques taught in the ML courses. The schemas and code are open to everyone.
Complete guide to feature engineering for restaurant order data
Version 1.0.0
Temporal Features
Local hour, day of week, holidays, day parts
Weather Features
Conditions and impact scores
Entity Relationship Features
Reservations, guests, notes, status changes
Order Characteristic Tags
Discrete tags for order classification
Efficiency Metrics
Performance and utilization metrics
Trend Features
Rolling averages and anomaly detection
Weather Integration
Connect to weather API (OpenWeatherMap, Weather.gov)
Real-time Processing
Stream features using Kafka + Flink
ML Model Training
Train models on engineered features
Monitoring
Track feature drift and data quality
A/B Testing
Test feature variations for model performance