Downloads · 30 days
0
Abhisingh-18/Prognos
Prognos is a machine learning model from Abhisingh-18. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
All four questions have been completed. The top three scores will be considered.
Downloads · 30 days
0
Access
Public
Updated Jul 13, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py19 KB · 60%
From the Hugging Face model README
All four questions have been completed. The top three scores will be considered.
| File | Question | Description |
|---|---|---|
Q1_Q2_conceptual_answers.md | Q1, Q2 | Appointment-scheduling chatbot (challenges, evaluations, hallucination handling) and the full RAG FAQ-chatbot design with RAG / Advanced RAG / GraphRAG comparison. |
Q3_langgraph_blog_agent.py | Q3 | LangGraph agent that reads topics from Excel, writes a blog per topic, saves each to a Google Doc, and writes the link back to the sheet. Runs as a self-contained simulation; the real LangGraph, Google Docs, and Sheets calls are provided as commented implementations behind clean function boundaries. |
Q4_surge_prediction.py | Q4 | End-to-end demand-surge predictor. Generates synthetic data matching all five input schemas, builds the leakage-safe surge_flag label, engineers features (sales trend, stock pressure, disaster proximity, store/SKU metadata), trains a gradient-boosted classifier, and reports the appropriate metrics. |
python Q3_langgraph_blog_agent.py # prints the per-topic processing loop
python Q4_surge_prediction.py # trains the model and prints metrics
Q4 requires pandas, numpy, and scikit-learn.
Each code file documents its own assumptions in a header comment. The main ones: the Excel sheet uses the columns shown in the prompt and rows already containing a blog link are skipped (Q3); the seven-day surge horizon is made explicit as demand_next_7_days > 1.5 × 7 × daily_baseline (Q4); and the disaster feed is joined to stores by haversine distance and alert recency (Q4).