FinSight360 is a completed, multimodal fintech data science portfolio system for trust, growth, KYC intake, advertising, and customer-support workflows. It is deliberately separate from the existing FinSight credit-risk project and does not reuse that project's code, data, models, or metrics.
flowchart LR
D["Public + synthetic data<br/>tabular · text · image · speech"] --> E["SQL · PySpark · Scala<br/>contracts and feature pipelines"]
E --> M["ML/DL modules<br/>uplift · fraud · ranking · CV/OCR · NLP · ASR"]
M --> A["FastAPI<br/>versioned contracts · confidence routing"]
A --> S["Streamlit<br/>seven-page local dashboard"]
M --> R["MLflow registry<br/>checksums · model cards · lineage"]
A --> O["Evidently + custom monitoring<br/>tabular · text · KYC · speech · latency"]
R --> A
The versioned API exposes nine documented operations with strict request/response contracts:
- Synthetic UPI growth experimentation and offer targeting.
- Transaction-level fraud detection using PaySim as a mobile-money proxy.
- Contextual ads click-through prediction and simulated fintech offer ranking.
- KYC document intake, localization, quality assessment, classification, and OCR.
- Banking intent classification and financial complaint intelligence.
- Speech recognition connected to the support-intent pipeline.
- Local FastAPI, Streamlit, MLflow, monitoring, and Docker integration.
All 15 stages are complete: foundation, dataset validation/curation, storage cleanup, synthetic UPI generation, Spark/SQL engineering, UPI uplift/fraud modeling, five-offer ranking, chronological Criteo CTR prediction, the MIDV-2020 KYC intake/OCR prototype, BANKING77 intent routing, CFPB complaint intelligence, privacy-safe structured summarization, and local speech recognition/support analytics, a versioned privacy-safe FastAPI integration, MLflow champion registry, controlled multimodal drift monitoring, a seven-page Streamlit dashboard, verified local Docker profiles, and the final QA and portfolio handoff.
Verified offline results:
- UPI T-learner: Qini
0.006113, AUUC0.055018, and2.117×simulator true-effect lift over random top-decile targeting on 10,000 held-out synthetic users. - PaySim XGBoost: PR-AUC
0.423435at1.399%fraud prevalence on 89,466 strictly later test transactions, with0.799precision in the top 0.5%. - Five-offer ranker: NDCG@5
0.824919, Precision@10.618, and20.45%NDCG improvement over popularity on 10,000 held-out synthetic users. - Criteo LightGBM: ROC-AUC
0.783538, log loss0.460136, and3.474×top-1% lift on 150,000 chronologically later anonymous ad events. - KYC intake: localization mean IoU
0.879671, quality manual-review precision/recall0.995609/0.971667, and document-type macro-F10.998333on identity-disjoint MIDV splits. - Multilingual OCR: character error rate improved
20.66%, from0.782189before rectification to0.620605after rectification/orientation handling across 1,616 annotation-mapped fields. - BANKING77: TF-IDF logistic macro-F1
0.886486, top-three accuracy0.966558, and0.906599selective accuracy at95.94%coverage on the official 3,080-query test split. - CFPB routing: macro-F1
0.808098on 75,000 chronologically later H2 2025 complaints; 25 NMF topics were assigned across 535,093 curated narratives for monthly pain-point analysis. - Structured complaint summaries:
100%extractive grounding across a manually reviewed 20-case release set; cloud processing of CFPB narratives is disabled by default. - Speech recognition: Whisper
base.enbeam-3 achieved22.465%WER at0.5229real-time factor across 1,000 balanced Common Voice clips, with a1.008percentage-point absolute India/South-Asia WER gap. Speech-to-intent remains a functional integration demonstration.
These are synthetic/offline benchmark results, not real customer or production outcomes. Detailed
assumptions, leakage controls, limitations, and release checks are in reports/model_cards/ and
reports/models/stage7.md.
Large public datasets, generated data, model artifacts, and sensitive inputs are not committed. The project tracks download instructions, source licenses, checksums, schemas, and tiny synthetic test fixtures instead. Any business lift reported from the UPI simulator will be labelled as an offline synthetic result, not realized customer impact.
See dataset licenses, the public repository data audit, failure cases, security policy, and the final impact report.
app/ FastAPI and Streamlit entry points
configs/ Versioned stage and deployment configuration
docs/ Data cards, runbooks, architecture, handoff material
reports/ Tracked aggregate metrics, model cards, release evidence
spark/ and sql/ Scala/PySpark parity job and DuckDB analytics
src/finsight360/ Reusable data, model, API, monitoring, and deployment code
tests/ Unit, data, model, API, privacy, dashboard, and deployment tests
conda env create -f environment.yml
conda activate finsight360
make testRun the released validation workflows with:
python -m finsight360.models.uplift
python -m finsight360.models.fraud
python -m finsight360.models.validate_stage7
python -m finsight360.models.offer_ranking
python -m finsight360.models.ctr
python -m finsight360.models.validate_stage8
python -m finsight360.vision.localization
python -m finsight360.vision.quality
python -m finsight360.vision.classification
python -m finsight360.vision.ocr
python -m finsight360.vision.validate_stage9
python -m finsight360.nlp.intent
python -m finsight360.nlp.intent_transformer
python -m finsight360.nlp.complaints
python -m finsight360.nlp.validate_summarization --reviewed-by stage10_release_review
python -m finsight360.nlp.validate_stage10
python -m finsight360.speech.benchmark --model tiny.en
python -m finsight360.speech.benchmark --model base.en
python -m finsight360.speech.validate_stage11
python -m finsight360.api.validate_stage12
python -m finsight360.monitoring.release_stage13
python -m finsight360.deployment.validate_stage14
python -m finsight360.release.validate_stage15
python -m finsight360.release.validate_publication --check-onlyStart the local API with python -m uvicorn app.api:app --host 127.0.0.1 --port 8000; endpoint contracts,
privacy controls, and examples are documented in docs/api.md.
Model binaries and holdout predictions remain local under artifacts/; checksums and model cards
are tracked in the repository.
docker compose --profile lightweight upOpen the dashboard at http://127.0.0.1:8501 and API documentation at
http://127.0.0.1:8000/docs. KYC and speech execution require the full profile and locally
prepared artifacts. See the deployment guide.

