Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.86 KB

File metadata and controls

46 lines (30 loc) · 1.86 KB

Analytics Vidhya - JanataHack - Demand Forecasting

Solution and Approach to the "Analytics Vidhya JanataHack Demand Forecasting" Hackathon

Hosted at: https://datahack.analyticsvidhya.com/contest/janatahack-demand-forecasting/#ProblemStatement

Rank: 25 from 13,307 registered participants.

Problem Statement

One of the largest retail chains in the world wants to use their vast data source to build an efficient forecasting model to predict the sales for each SKU in its portfolio at its 76 different stores using historical sales data for the past 3 years on a week-on-week basis. Sales and promotional information is also available for each week - product and store wise.

However, no other information regarding stores and products are available. Can you still forecast accurately the sales values for every such product/SKU-store combination for the next 12 weeks accurately? If yes, then dive right in!

Data Description

  • record_ID: Unique ID for each week store sku combination
  • week: Starting Date of the week
  • store_id: Unique ID for each store (no numerical order to be assumed)
  • sku_id: Unique ID for each product (no numerical order to be assumed)
  • total_price: Sales Price of the product
  • base_price: Base price of the product
  • is_featured_sku: Was part of the featured item of the week
  • is_display_sku: Product was on display at a prominent place at the store
  • units_sold(Target): Total Units sold for that week-store-sku combination

Evaluation Metric

The evaluation metric for this competition is 100*RMSLE (Root Mean Squared Log Error).

Approach

  • Solving it as a Regression problem.
  • Feature Engineering
    1. Creating datetime features.
    2. Creating price difference rate features.
    3. Creating aggregate features.
  • Building baseline models and tuning.
  • Use Stacking.

Ranking

  • Public Leaderboard Rank - 21
  • Private Leaderboard Rank - 25