How aditya20030420/federated-learning-cross-border-financial-risk-assessment works
This research project combines a documented notebook workflow for building and evaluating a simulated federated financial-risk model with a Gradio demo that serves predictions from bundled artifacts. The principal workflow runs from public economic and market data through panel preparation, feature engineering, risk scoring, federated training, and evaluation. The demo separately loads the saved snapshot, accepts a country and stress factor, and displays predictions and country-level results. Notebook internals are represented from README methodology; their implementation details were not sampled.
Main entry points: Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb Research notebook · app.py Gradio application · artifacts Model and data artifacts
Components 16
Notebook research workflow
- Research notebook
Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb - Public data sources
- Country-year panel
Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb - Feature engineering
Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb
Risk modeling
- GARCH volatility
Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb - Composite risk score
Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb - Federated BiLSTM
Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb - Model evaluation
Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb - Analysis visualizations
Federated_Learning_Cross_Border_Financial_Risk_Assessment.ipynb
Interactive demo
- Gradio application
hf_space/app.py - BiLSTM inference
hf_space/app.py - Stress prediction
hf_space/app.py - Results ranking
hf_space/app.py
Bundled snapshot
- Model and data artifacts
hf_space/artifacts
Other components
- Researcher
- Demo user
Connections 16
- Researcher → Research notebook: runs workflow
README.md - Research notebook → Public data sources: fetches data
README.md - Research notebook → Country-year panel: merges and imputes
README.md - Research notebook → Feature engineering: engineers features
README.md - Research notebook → GARCH volatility: estimates volatility
README.md - Research notebook → Composite risk score: calculates score
README.md - Research notebook → Federated BiLSTM: trains clients
README.md - Research notebook → Model evaluation: evaluates model
README.md - Research notebook → Analysis visualizations: generates plots
README.md - Demo user → Gradio application: uses demo
hf_space/app.py - Gradio application → Model and data artifacts: loads artifacts
hf_space/app.py - Gradio application → Stress prediction: registers callback
hf_space/app.py - Gradio application → Results ranking: registers callback
hf_space/app.py - Stress prediction → BiLSTM inference: predicts series
hf_space/app.py - Results ranking → BiLSTM inference: computes metrics
hf_space/app.py - BiLSTM inference → Model and data artifacts: uses weights and scalers
hf_space/app.py