Giter Club home page Giter Club logo

cortana-intelligence-price-optimization's Introduction

Demand Forecasting and Price Optimization- A Cortana Intelligence Solution How-To Guide

Pricing is recognized as a pivotal determinant of success in many industries and can be one of the most challenging tasks. Companies often struggle with several aspects of the pricing process, including accurately forecasting the financial impact of potential tactics, taking reasonable consideration of core business constraints, and fairly validating the executed pricing decisions. Expanding product offerings add further computational requirements to make real-time pricing decisions, compounding the difficulty of this already overwhelming task.

This solution addresses the challenges raised above by utilizing historical transaction data to train a demand forecasting model. Pricing of products in a competing group is also incorporated to predict cross-product impacts such as cannibalization. A price optimization algorithm then employs the model to forecast demand at various candidate price points and takes into account business constraints to maximize profit. The solution can be customized to analyze various pricing scenarios as long as the general data science approach remains similar.

The process described above is operationalized and deployed in the Cortana Intelligence Suite. This solution will enable companies to ingest historical transaction data, predict future demand, and obtain optimal pricing recommendations on a regular basis. As a result, the solution drives opportunities for improved profitability and reductions in time and effort allocated to pricing tasks.

For a discussion of the analytical approach used in this solution, see the Solution Description in the Manual Deployment Guide.

Solution Architecture

In this session, we provide more details about how the above analytical approach is operationalized in Cortana Intelligence. The following chart describes the solution architecture.

Architecture Diagram

What’s Under the Hood

Raw simulated transactional data are pushed into Azure Blob Storage, whence the Spark Jobs run on HDInsight Cluster will take the raw data as inputs and:

  1. Turn the unstructured raw data into structured data and aggregate the individual transactions into weekly sales data.
  2. Train demand forecasting model on the aggregated sales data.
  3. Run the optimization algorithm and return the optimal prices for all products in all competing groups.

The final results are visualized in Power BI Dashboard. The whole process is scheduled weekly, with data movement and scheduling managed by Azure Data Factory.

About Implementation on Spark

A parallel version of the price optimization algorithm is implemented on Spark. Utilizing RDD.map(), the independent price optimization problems for products in different competing group can be solved in parallel, reducing runtime.

Solution Dashboard

The snapshot below shows the Power BI dashboard that visualizes the results of demand forecasting and price optimization solution.

Dashboard

The dashboard contains four parts:

  1. Price Elasticity: shows the relationship between sales and price, and using the filters on the right, you can select to view the results for a specific store, department or product.
  2. Demand Forecasting: shows the results and performance of the demand forecasting model.
  3. Price Optimization shows the profit gain realized by using the recommended optimal price, as well as corresponding changes in sales volume and price that resulted in the profit gain.
  4. Execution Time shows the time decomposition of different computational stages, allowing the user to monitor the runtime.

Getting Started

This solution template contains materials to help both technical and business audiences understand our demand forecasting and price optimization solution built on Cortana Intelligence.

Business Audiences

In this repository you will find a folder labeled Solution Overview for Business Audiences. This folder contains:

  • Walking Deck: In-depth exploration of the solution for business audiences

For more information on how to tailor Cortana Intelligence to your needs, connect with one of our partners.

Technical Audiences

See the Manual Deployment Guide folder for a full set of instructions on how to deploy the end-to-end pipeline, including a step-by-step walkthrough and files containing all the scripts that you’ll need to deploy resources. For technical problems or questions about deploying this solution, please post in the issues tab of the repository.

cortana-intelligence-price-optimization's People

Contributors

yiychen avatar praneet22 avatar raghoshmsft avatar mawah avatar amthomas46 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.