How aditya20030420/emipredict-ai works
EMIPredict AI is a dual-model financial risk assessment platform. Applicants use the Streamlit app to enter financial details and receive eligibility and safe-EMI predictions; the eligibility page also compares the requested instalment with safe capacity. Separate app branches support dataset exploration, model-performance viewing, and applicant-record CRUD. The training side covers data cleaning and splitting, EDA, feature engineering, classification and regression training, tuning, evaluation, and model registry. Edges are limited to README statements and source-index references; several unsampled page and training implementations are represented only at their documented or indexed scope.
Main entry points: utils.py Forms and inference helpers · theme.py Shared UI theme · data_loader.py Data cleaning and quality · train_classification.py Classification training
Components 23
Applicant app
- App home
app/Home.py - Eligibility prediction
app/pages/1_Predict_Eligibility.py - Maximum EMI prediction
app/pages/2_Predict_Max_EMI.py - Forms and inference helpers
app/utils.py - Shared UI theme
app/theme.py - Champion model files
models
Data preparation
- Paths and feature schema
src/config.py - Data cleaning and quality
src/data_loader.py - Train-validation-test split
src/split_data.py - Exploratory analysis
src/eda.py
Model development
- Feature engineering pipeline
src/features.py - Classification training
src/train_classification.py - Regression training
src/train_regression.py - Classification tuning
src/tune_classification.py - Metric evaluation
src/evaluate.py - Model registry
src/registry.py
Exploration and records
- Data explorer
app/pages/3_Data_Explorer.py - Model dashboard
app/pages/4_Model_Dashboard.py - Applicant CRUD
app/pages/5_Admin_CRUD.py - SQLite applicant store
app/utils.py - Explorer sample data
data/sample.csv
Other components
- Applicant
- MLflow tracking
Connections 40
- Applicant → App home: opens app
README.md - App home → Forms and inference helpers: loads models
app/Home.py - App home → Shared UI theme: renders with
app/Home.py - Applicant → Eligibility prediction: submits profile
README.md - Applicant → Maximum EMI prediction: submits profile
README.md - Eligibility prediction → Forms and inference helpers: requests predictions
app/pages/1_Predict_Eligibility.py - Eligibility prediction → Shared UI theme: renders results
app/pages/1_Predict_Eligibility.py - Maximum EMI prediction → Forms and inference helpers: uses helpers
app/pages/2_Predict_Max_EMI.py - Maximum EMI prediction → Shared UI theme: renders with
app/pages/2_Predict_Max_EMI.py - Forms and inference helpers → Champion model files: loads models
README.md - Forms and inference helpers → Feature engineering pipeline: uses transforms
app/utils.py - Forms and inference helpers → SQLite applicant store: reads and writes
app/utils.py - Applicant → Data explorer: explores records
README.md - Data explorer → Explorer sample data: loads sample
README.md - Data explorer → Data cleaning and quality: cleans data
app/pages/3_Data_Explorer.py - Data explorer → Paths and feature schema: uses schema
app/pages/3_Data_Explorer.py - Data explorer → Shared UI theme: renders with
app/pages/3_Data_Explorer.py - Applicant → Model dashboard: views metrics
README.md - Model dashboard → Shared UI theme: renders with
app/pages/4_Model_Dashboard.py - Applicant → Applicant CRUD: manages records
README.md - Applicant CRUD → Forms and inference helpers: uses CRUD helpers
app/pages/5_Admin_CRUD.py - Applicant CRUD → Shared UI theme: renders with
app/pages/5_Admin_CRUD.py - Applicant → Train-validation-test split: runs data pipeline
README.md - Train-validation-test split → Data cleaning and quality: loads cleaned data
src/split_data.py - Train-validation-test split → Paths and feature schema: uses paths
src/split_data.py - Exploratory analysis → Data cleaning and quality: loads fallback data
src/eda.py - Exploratory analysis → Paths and feature schema: uses dataset settings
src/eda.py - Classification training → Data cleaning and quality: loads split data
src/train_classification.py - Classification training → Feature engineering pipeline: builds preprocessing
src/train_classification.py - Classification training → Metric evaluation: computes metrics
src/train_classification.py - Classification training → Paths and feature schema: uses targets
src/train_classification.py - Regression training → Data cleaning and quality: loads split data
src/train_regression.py - Regression training → Feature engineering pipeline: builds preprocessing
src/train_regression.py - Regression training → Metric evaluation: computes metrics
src/train_regression.py - Classification tuning → Data cleaning and quality: loads split data
src/tune_classification.py - Classification tuning → Feature engineering pipeline: builds preprocessing
src/tune_classification.py - Classification tuning → Metric evaluation: computes metrics
src/tune_classification.py - Model registry → Paths and feature schema: uses settings
src/registry.py - Classification training → MLflow tracking: logs experiments
README.md - Model registry → MLflow tracking: tracks versions
README.md