How starsgiri/final_bda_project- works
Heart Disease Tracker is a Streamlit application for collecting health indicators and displaying machine-learning risk assessments, with Gemini-generated personalized guidance as an optional capability. The repository contains two substantial app scripts; the graph keeps their workflows distinct rather than assuming they call one another. Sampled excerpts show form capture, Spark prediction, and AI-generation behavior, but omit some orchestration details and model-path configuration, so uncertain links to stored models are dashed and unverified.
Main entry points: Streamlet_app1.py Risk prediction · app.py Risk prediction · model1(79) GBT pipeline · v2_dataset Logistic pipeline
Components 15
Prediction app
- Assessment interface
web-apps/Streamlet_app1.py - Input preparation
web-apps/Streamlet_app1.py - Risk prediction
web-apps/Streamlet_app1.py - Risk results
web-apps/Streamlet_app1.py - Health suggestions
web-apps/Streamlet_app1.py
CardioAI app
- CardioAI interface
web-apps/app.py - Input preparation
web-apps/app.py - Risk prediction
web-apps/app.py - Risk results
web-apps/app.py - AI insights
web-apps/app.py
ML and AI runtime
- Spark runtime
web-apps/Streamlet_app1.py - GBT pipeline
models/model1(79) - Logistic pipeline
models/model2/v2_dataset - Gemini API
Other components
- User
Connections 16
- User → Assessment interface: enters health data
web-apps/Streamlet_app1.py - Assessment interface → Input preparation: submits inputs
web-apps/Streamlet_app1.py - Input preparation → Risk prediction: builds features
web-apps/Streamlet_app1.py - Risk prediction → Spark runtime: creates DataFrame
web-apps/Streamlet_app1.py - Risk prediction → GBT pipeline: loads pipeline
- Risk prediction → Logistic pipeline: loads pipeline
- Risk prediction → Risk results: produces risk
web-apps/Streamlet_app1.py - Risk results → Health suggestions: requests suggestions
web-apps/Streamlet_app1.py - Health suggestions → Gemini API: generates guidance
web-apps/Streamlet_app1.py - User → CardioAI interface: enters health data
web-apps/app.py - CardioAI interface → Input preparation: collects indicators
web-apps/app.py - Input preparation → Risk prediction: builds inputs
web-apps/app.py - Risk prediction → Spark runtime: creates DataFrame
web-apps/app.py - Risk prediction → Risk results: runs transform
web-apps/app.py - Risk results → AI insights: requests insights
web-apps/app.py - AI insights → Gemini API: generates insights
web-apps/app.py