How nehansa2003/aws_project works
ChurnIQ combines a model-development workflow with real-time churn scoring through a Streamlit dashboard and FastAPI service. Its repository also documents an AWS ingestion, validation, and Athena analytics pipeline; the Lambda validator is present, but cloud event wiring and most analytics infrastructure are documented rather than visible in sampled source. The graph distinguishes demonstrated calls from README-described or unverified integrations.
Main entry points: app.py Streamlit App · main.py REST API · predict.py Inference Logic · lambda_function.py Lambda Validation
Components 20
User Dashboard
- Streamlit App
frontend_streamlit/app.py - Prediction Form
frontend_streamlit/views/prediction.py - Overview
frontend_streamlit/views/overview.py - About
frontend_streamlit/views/about.py
Prediction Service
- REST API
api/main.py - Request Schemas
api/schemas.py
Machine Learning
- Inference Logic
src/predict.py - Trained Model
models/best_customer_churn_model.pkl - ML Configuration
src/config.py - Data Preparation
src/data_processor.py - Model Training
src/model_trainer.py - Model Evaluation
src/evaluate.py
Cloud Data Analytics
- CSV Upload
- S3 Raw Data
- Lambda Validation
lambda_function.py - S3 Processed Lake
- CloudWatch Logs
- Athena Analytics
sql/queries.sql - Athena Results
Other components
- Customer Team
Connections 18
- Customer Team → Streamlit App: uses
README.md - Streamlit App → Prediction Form: routes to
frontend_streamlit/app.py - Streamlit App → Overview: routes to
frontend_streamlit/app.py - Streamlit App → About: routes to
frontend_streamlit/app.py - Prediction Form → REST API: POSTs prediction
frontend_streamlit/views/prediction.py - REST API → Request Schemas: validates request
api/main.py - REST API → Inference Logic: calls inference
api/main.py - Inference Logic → Trained Model: loads model
src/predict.py - Data Preparation → ML Configuration: reads settings
src/data_processor.py - Model Training → ML Configuration: reads settings
src/model_trainer.py - Inference Logic → ML Configuration: reads model path
src/predict.py - CSV Upload → S3 Raw Data: uploads CSV
README.md - S3 Raw Data → Lambda Validation: triggers validation
README.md - Lambda Validation → S3 Processed Lake: writes processed data
README.md - Lambda Validation → CloudWatch Logs: writes logs
README.md - Athena Analytics → S3 Processed Lake: queries lake
README.md - Athena Analytics → Athena Results: writes results
README.md - Model Training → Model Evaluation: evaluates models