February 24, 2021

490 words 3 mins read

ikatsov/tensor-house

ikatsov/tensor-house

A collection of reference machine learning and optimization models for enterprise operations: marketing, pricing, supply chain

repo name ikatsov/tensor-house
repo link https://github.com/ikatsov/tensor-house
homepage
language Jupyter Notebook
size (curr.) 88533 kB
stars (curr.) 441
created 2017-11-24
license Apache License 2.0

About

TensorHouse is a collection of reference machine learning and optimization models for enterprise operations: marketing, pricing, supply chain, and more. The goal of the project is to provide baseline implementations for industrial, research, and educational purposes.

The project focuses on models, techniques, and datasets that were originally developed either by industry practitioners or by academic researchers who worked in collaboration with leading companies in technology, retail, manufacturing, and other sectors. In other words, TensorHouse focuses mainly on industry-proven methods and models rather than on theoretical research.

TensorHouse contains the following resources:

  • a well-documented repository of reference model implementations,
  • a manually curated list of important papers in modern operations research,
  • a manually curated list of public datasets related to enterprise use cases.

Illustrative Examples

Strategic price optimization using reinforcement learning:
DQN learns a Hi-Lo pricing policy that switches between regular and discounted prices
Price Optimization Using RL Animation

Supply chain optimization using reinforcement learning:
World Of Supply simulation environment
Price Optimization Using RL Animation

Demand decomposition using Bayesian Structural Time Series Demand Decomposition Example

List of Models

  • Promotions and Advertisements
    • Media Mix Modeling: Basic Adstock Model for Campaign/Channel Attribution (notebook)
    • Media Mix Modeling: Bayesian Model with Carriover and Saturation Effects (notebook)
    • Dynamic Content Personalization using Contextual Bandits (LinUCB) (notebook)
    • Customer Lifetime Value (LTV) Modeling using Markov Chain (notebook)
    • Next Best Action Model using Reinforcement Learning (Fitted Q Iteration) (notebook)
    • Multitouch Channel Attribution Model using Deep Learning (LSTM with Attention) (notebook)
    • Customer Churn Analysis and Prediction using Deep Learning (LSTM with Attention) (notebook)
  • Search
    • Latent Semantic Analysis (LSA) (notebook)
    • Image Search by Artistic Style (VGG16) (notebook)
  • Recommendations
    • Nearest Neighbor User-based Collaborative Filtering (notebook)
    • Nearest Neighbor Item-based Collaborative Filtering (notebook)
    • Item2Vec Model using NLP Methods (word2vec) (notebook)
    • Customer2Vec Model using NLP Methods (doc2vec) (notebook)
    • Deep Learning Recommender (notebooks 1 2)
  • Pricing and Assortment
    • Markdown Price Optimization (notebook)
    • Dynamic Pricing using Thompson Sampling (notebook)
    • Dynamic Pricing with Limited Price Experimentation (notebook)
    • Price Optimization using Reinforcement Learning (DQN) (notebook)
  • Supply Chain
    • Multi-echelon Inventory Optimization using Reinforcement Learning (DDPG, TD3) (notebook)
    • Supply Chain Simulator for Reinforcement Learning Based Optimization (PPO) (notebook)
  • Enterpirse Time Series Analysis
    • Demand Forecasting Using ARIMA and SARIMA (notebooks 1 2)
    • Demand Decomposition and Forecasting using Bayesian Structural Time Series (BSTS) (notebooks 1 2 3 4)
    • Forecasting and Decomposition using Gradient Boosted Decision Trees (GBDT) (notebook)
    • Forecasting and Decomposition using LSTM with Attention (notebook)
    • Forecasting and Decomposition using VAR/VEC models (notebooks 1 2)

Approach

  • The most basic models come from Introduction to Algorithmic Marketing book. Book’s website - https://algorithmicweb.wordpress.com/
  • More advanced models use deep learning techniques to analyze event sequences (e.g. clickstream) and reinforcement learning for optimization (e.g. safety stock management policy)
  • Almost all models are based on industrial reports and real-life case studies

Community

Follow our twitter feed for notifications about meetups and new developments.

Twitter Follow

comments powered by Disqus