This FastAPI application predicts educational outcomes using time series forecasting. It leverages the Facebook Prophet library to forecast scores for various educational categories based on historical data from the PGI-D dataset.
Features:
- Predictive Analytics: Forecasts scores for future years.
- Time Series Forecasting: Employs Facebook Prophet for accurate predictions.
- RESTful API: Easy integration with other applications.
- CORS Enabled: Permits requests from specified origins (e.g., your frontend).
- Clone:
git clone https://github.com/arjun-mec/Syntax_backend.git - Virtual Environment (Recommended):
python3 -m venv env source env/bin/activate - Install:
pip install -r requirements.txt - Run:
uvicorn backend:app --reload
POST /predict/
Request Body (JSON):
{
"state": "State Name",
"district": "District Name",
"year": 2024
}Response Body (JSON):
{
"State/UT": "State Name",
"District": "District Name",
"Year": 2024,
"Outcome": 85.67,
// ... category scores ...
"Overall": 547.98
}