Predictive Demand Algorithm
Introduction
Framework Overview
Core Principles from Baseline Evidence
Principle
Implementation
Tiered Forecasting Architecture
┌────────────────────────────────────────────────────────────────────┐
│ TIER 3 │
│ Machine Learning Forecasting │
│ (District/Central Level - Random Forest/XGBoost) │
│ │
│ Purpose: Stockout risk prediction, district planning │
└───────────────────────────────┬────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────────────────┐
│ TIER 2 │
│ Hierarchical Exponential Smoothing (HES) │
│ (District Server - Weekly Generation) │
│ │
│ Purpose: Second opinion for facility comparison │
└───────────────────────────────┬────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────────────────┐
│ TIER 1 │
│ Rule-Based Forecasting (Offline) │
│ (Mobile App - Always Available) │
│ │
│ Purpose: Primary operational forecasting │
└────────────────────────────────────────────────────────────────────┘Tier 1: Rule-Based Forecasting
Core Algorithm Logic
Base Calculation
Seasonal Adjustment
Commodity
Season
Adjustment
Infrastructure Constraint Application
Storage Rating
Cap Applied
Cold Start Protocol
Data Synchronization Protocol
Tier 2: Hierarchical Exponential Smoothing (HES)
Model Selection
Advantage
Description
Hierarchical Structure
Data Sources
Output and Use Case
Tier 3: Machine Learning Forecasting
Core Algorithm
Feature Set
Purpose and Output
Algorithm Workflow with Human-in-the-Loop
Facility-Level Workflow (Offline)
Step 1: Automated Forecast Generation
Step 2: Forecast Review During Inventory
Step 3: Human Override Capability
Step 4: Local Order Approval
District-Level Workflow (Online)
Step
Action
Model Evaluation and Validation
Primary Success Metric: Stockout Frequency and Duration
Forecast Accuracy Metrics (Secondary)
Performance Level
MAPE Range
Action
Override Analysis
Technology Stack (Open Source)
Component
Technology
Transparency and Explainability
Risks and Mitigation
Risk
Mitigation
Success Criteria
Metric
Target
Document Information
Field
Value
Key Changes in v2.0
Last updated
