How arpitatandon-ds/diabetic_predictive_model works
This repository provides two separate Streamlit apps: a login-gated SVM screening workflow with probability, PDF reports and prediction history, and a Random Forest analysis app for exploring and evaluating the dataset. The prediction app loads and standardizes the dataset, trains and evaluates its model, then applies it to patient-entered features. The analysis app cleans data, presents visualizations, and evaluates a separate model. The apps and their internal stages are evidenced by the README and excerpts; generated local files are described in the README, not present in the tree.
Main entry points: myapp.py Prediction App · View_data.py Analysis App · diabetes.csv Diabetes Dataset
Components 16
Patient Screening
- Prediction App
myapp.py - Login and Register
myapp.py - SVM Training
myapp.py - Patient Inputs
myapp.py - Prediction Result
myapp.py - PDF Report
myapp.py - Prediction History
myapp.py - Account Storage
myapp.py
Data Analysis
- Analysis App
View_data.py - Data Cleaning
View_data.py - Dataset Visualizations
View_data.py - Random Forest
View_data.py - Model Evaluation
View_data.py - Feature Importance
View_data.py
Dataset
- Diabetes Dataset
Database/diabetes.csv
Other components
- App User
Connections 20
- App User → Prediction App: uses
README.md - App User → Analysis App: uses
README.md - Prediction App → Login and Register: checks access
myapp.py - Login and Register → Account Storage: loads and saves
myapp.py - Prediction App → Diabetes Dataset: loads
README.md - Prediction App → SVM Training: trains and evaluates
myapp.py - Prediction App → Patient Inputs: collects
myapp.py - Prediction App → SVM Training: applies scaled inputs
myapp.py - Prediction App → Prediction Result: shows result
myapp.py - Prediction App → PDF Report: generates report
README.md - Prediction App → Prediction History: saves and downloads
README.md - Analysis App → Diabetes Dataset: loads
View_data.py - Analysis App → Data Cleaning: cleans
View_data.py - Analysis App → Dataset Visualizations: renders
View_data.py - Analysis App → Random Forest: trains
View_data.py - Analysis App → Model Evaluation: evaluates
View_data.py - Analysis App → Feature Importance: displays
View_data.py - Data Cleaning → Dataset Visualizations: prepares data for
View_data.py - Random Forest → Model Evaluation: predicts for
View_data.py - Random Forest → Feature Importance: provides importances
View_data.py