Serverless Dynamic Pricing: PyTorch & LightGBM on AWS Lambda

A serverless AI system designed to serve optimal price points based on learned demand curve.

A machine learning system to providing an intelligence hub for mid-size online retailers. The system combines multiple microservices; The first component serves an optimal price point for a given product leveraging sales prediction that Deep Learning Network, LightGBM, and Elastic Net served. Uses PyTorch and LightGBM to estimate demand elasticity and maximize retail revenue.

Price OptimizationMLOpsServerless MLPyTorchLightGBMAWS LambdaData Version Control (DVC)Bayesian OptimizationPrice Elasticity

Feature Lists

  • HPO via Bayesian Optimization
  • Multi-model failover (LightGBM, SVR, Elastic Net)
  • Automated ML Lineage with DVC & Prefect
  • CI/CD Integration with Snyk security gates
  • Low-latency caching with ElastiCache Redis

Playground

SKUs

Sales volume


Demand curve



Results

Architected by Kuriko Iwai

Kuriko Iwai

Continue Your Learning

If you enjoyed this blog, these related entries will complete the picture:

Related Books for Further Understanding

These books cover the wide range of theories and practices; from fundamentals to PhD level.

Linear Algebra Done Right

Linear Algebra Done Right

Foundations of Machine Learning, second edition (Adaptive Computation and Machine Learning series)

Foundations of Machine Learning, second edition (Adaptive Computation and Machine Learning series)

Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications

Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications

Machine Learning Design Patterns: Solutions to Common Challenges in Data Preparation, Model Building, and MLOps

Machine Learning Design Patterns: Solutions to Common Challenges in Data Preparation, Model Building, and MLOps

Share What You Learned

Kuriko IWAI, "Serverless Dynamic Pricing: PyTorch & LightGBM on AWS Lambda" in ML Labs

https://kuriko-iwai.com/labs/serverless-dynamic-pricing-pytorch-lightgbm-aws

Looking for Solutions?

Written by Kuriko IWAI. All images, unless otherwise noted, are by the author. All experimentations on this blog utilize synthetic or licensed data.