PROJECT_06 // FINANCIAL_INTELLIGENCE
CREDIT DEFAULT PREDICTION
A distributed research application exploring knowledge-driven credit repayment classification, temporal financial history and event-driven graph processing.
RESEARCH PROTOTYPE: The original prediction service applies deterministic repayment rules, not a trained classifier. This portfolio does not provide lending decisions or validated default probabilities.
01 // APPLICATION_PROFILE
Python · Flask · Pandas · REST · TigerGraph · YAML
02 // TEMPORAL_INTELLIGENCE
The UI iterates from PAY_6 to PAY_1, processing billing, payment and account information and propagating predicted repayment status into the next cycle. The diagram is a conceptual overview, not a live service trace.
03 // SERVICE_ARCHITECTURE
Dataset ingestion and orchestration
Customer information
Credit account state
Monthly processing
Billing information
Payment information
Deterministic repayment classification
Graph event integration
A separate schema builder constructs the YAML-defined graph schema. The original service endpoints use localhost; independent cloud deployment is not demonstrated here.
04 // PREDICTION_METHODOLOGY
For a positive bill, the default minimum due is the greater of 2% of the bill or 25 monetary units. The rule distinguishes unused accounts, full payment, minimum payment and delayed repayment. The credit limit is accepted by the function but is not used in the rule calculation.
Future interactive modules will expose the rule logic, six-month simulation, schema explorer and a separate synthetic machine learning comparison.
06 // DISTRIBUTED_ARCHITECTURE_ENGINE
Explore source-derived communication paths. Animated lines illustrate requests, not live traffic. The /init prediction path is defined in Event; the UI's direct initialization call is commented out.
07 // RULE_BASED_PREDICTION_ENGINE
Browser reproduction of predict_next_pay() in default_prediction/main.py. Monetary units are illustrative. This is a deterministic flag, not a probability or lending recommendation.
08 // SIX_MONTH_FINANCIAL_HISTORY
Process PAY_6 through PAY_1, carrying each predicted status into the next cycle, as in UI/main.py. Bills and payments are independently supplied synthetic inputs, not simulated balance accounting.
| Month | Bill | Payment | Input PAY | Minimum | Predicted PAY | Flag |
|---|
Intermediate flags are illustrative. Only the final cycle represents the next-month output. No live services, customer records or credit decisions are involved.
09 // DIGITAL_GENOME_EXPLORER
Exact schema declarations from application_schema.yaml. Shared deployment metadata and financial domain attributes are shown as declared, not as live values.
| Attribute | Type |
|---|
SCHEMA_RELATIONSHIPS
| Edge | From | To | Direction |
|---|
10 // DYNAMIC_KNOWLEDGE_GRAPH_AND_EVENT_MEMORY
Run the six-month history above to populate this synthetic graph. Each completed cycle adds monthly billing, payment, account and prediction records. Edges are drawn only for matching schema types. This is a browser interpretation, not a replay of actual TigerGraph writes.
| Month | Input PAY | Bill | Payment | Predicted PAY | Flag |
|---|
Resetting the history clears this in-memory event log. No persistent database or live service is contacted.
COMPARATIVE_MACHINE_LEARNING_LABORATORY
2,400 fictional accounts | 1,800 training | 600 held-out test. Seed 42. Five inputs: credit limit, bill, payment, current PAY, utilization. Synthetic outcomes sampled from a logistic probability depending on PAY, utilization and payment ratio; not actual defaults. This favors a related statistical model and is not evidence of real-world superiority.
| Model | Accuracy | Precision | Recall | F1 | ROC AUC |
|---|
CONFUSION_MATRIX
| Actual / Predicted | 0 | 1 |
|---|
HELD_OUT_ACCOUNT_EXPLORER
Models trained offline with scikit-learn; probabilities are precomputed, not live inference. Rule has no probability or adjustable threshold. No lending decisions or real financial data.
RESEARCH_NARRATIVE
Original application research and separate synthetic portfolio experiments.
RESEARCH_OBJECTIVE
Explore explicit financial knowledge and sequential repayment classification in distributed software.
DISTRIBUTED_ARCHITECTURE
Eight application service types coordinate customer, account, monthly, billing, payment and prediction information through REST and event processing. The source uses local endpoints; independent deployment is not verified.
TEMPORAL_INTELLIGENCE
The UI processes PAY_6 through PAY_1, propagating predicted repayment status between monthly cycles. This is not a validated account balance forecast.
DOMAIN_KNOWLEDGE
The original deterministic rule evaluates bill and payment amounts and current repayment status. A predicted delay of at least two months sets the default flag; the flag is not a probability.
DIGITAL_GENOME
The schema declares eight vertex types, 25 undirected edge types and 116 attributes.
EVENT_MEMORY
The Event service represents financial processing in TigerGraph. The portfolio memory is temporary browser-local synthetic history.
COMPARATIVE_ML
The portfolio compares rules with logistic regression and random forest on synthetic held-out records. These experiments are separate from the original rule-based application.
RESEARCH_LIMITATIONS
No real financial records, lending validation, production reliability or live AMOS integration are established. Credit Default is an intended management target, not a core AMOS manager.
05 // RESEARCH_BOUNDARIES
Static source review only. No original customer records, credentials, live database connection or original service execution is included. No accuracy, fairness, production reliability or regulatory compliance is established. The application is distinct from the AMOS management platform.