Built a dual-state (Gujarat & Maharashtra) crop price forecasting system predicting mandi prices 1–30 days ahead for 3 crops (Wheat, Tomato, Onion) using a Hybrid ARIMAX + MLP Neural Network pipeline.
# 🌾 CropCast – Hybrid Crop Price Forecasting System
> AI-powered crop price forecasting using a Hybrid ARIMAX + Multi-Layer Perceptron (MLP) model for agricultural market intelligence.
---
# 📖 Overview
CropCast is an AI-driven crop price forecasting platform designed to help farmers, traders, researchers, and policymakers estimate future mandi prices before selling agricultural produce.
Unlike traditional forecasting systems that rely on a single statistical model, CropCast combines **ARIMAX** (for capturing linear trends) with a **Multi-Layer Perceptron Neural Network** (for learning nonlinear residual patterns), resulting in significantly improved forecasting performance for highly volatile crops.
The system currently supports:
- 🌾 Wheat
- 🍅 Tomato
- 🧅 Onion
across
- Gujarat
- Maharashtra
using historical AGMARKNET market data, engineered weather features, seasonal indicators, and market statistics.
---
# 🚨 Problem Statement
Agricultural commodity prices fluctuate dramatically due to:
- Seasonal production
- Rainfall variability
- Market arrivals
- Demand fluctuations
- Government policies
For example:
- Tomato prices can vary from ₹200 to ₹8,000 per quintal.
- Onion prices frequently collapse during harvest season.
- Farmers often sell without knowing future price trends.
CropCast aims to reduce this uncertainty through data-driven forecasting.
---
# ✨ Key Features
## Machine Learning
- Hybrid ARIMAX + MLP architecture
- Time-series forecasting
- Residual learning
- Feature engineering pipeline
- Chronological train-test split
- No data leakage
---
## Data Engineering
- Automated preprocessing pipeline
- Outlier removal using IQR
- Missing value handling
- Feature normalization
- Rolling statistics
- Lag features
- Seasonal encoding
- Weather integration
---
## Cloud Integration
- Supabase PostgreSQL database
- REST API uploads
- Prediction storage
- Metrics storage
- Feature storage
---
## Dashboard
Interactive dashboard displ …