How karangarje48-lab/mediclaim-app works
This is a Streamlit insurance-charge prediction app. Users enter a profile for a single estimate or upload a CSV for batch predictions; the app loads and cleans the bundled dataset, loads a trained Random Forest pipeline, and displays predictions. Separate views provide data exploration, exploratory analysis, and model-performance metrics. The map follows the sampled app implementation and README; training details are documented as notebook work, but notebook source was not sampled, so its internal steps are not expanded.
Main entry points: app.py Streamlit App · insurance_model_pipeline.pkl Trained Pipeline · mediclaim_raw.csv Insurance Dataset · Mediclaim.ipynb Training and EDA
Components 11
Data and Model Inputs
- Insurance Dataset
mediclaim_raw.csv - Trained Pipeline
model/insurance_model_pipeline.pkl - Training and EDA
Mediclaim.ipynb
Prediction Runtime
- Streamlit App
app.py - Data Cleaning
app.py - Charge Prediction
app.py - Batch Prediction
app.py
Analysis Views
- Data Explorer
app.py - EDA Dashboard
app.py - Model Performance
app.py
Other components
- App User
Connections 16
- App User → Streamlit App: uses
README.md - Streamlit App → Insurance Dataset: loads
app.py - Streamlit App → Trained Pipeline: loads
app.py - Streamlit App → Data Cleaning: cleans data
app.py - Streamlit App → Charge Prediction: routes input
app.py - Streamlit App → Batch Prediction: routes upload
app.py - Streamlit App → Data Explorer: routes view
app.py - Streamlit App → EDA Dashboard: routes view
app.py - Streamlit App → Model Performance: routes view
app.py - Charge Prediction → Trained Pipeline: predicts with
app.py - Batch Prediction → Data Cleaning: cleans upload
app.py - Batch Prediction → Trained Pipeline: predicts with
app.py - Data Explorer → Insurance Dataset: displays data
app.py - EDA Dashboard → Insurance Dataset: analyzes data
app.py - Model Performance → Trained Pipeline: evaluates
app.py - Training and EDA → Trained Pipeline: trains pipeline
README.md