# anuragverma777/-payment-pulse-disruption-early-warning architecture

> Architecture diagram of the GitHub repository anuragverma777/-payment-pulse-disruption-early-warning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/anuragverma777/-payment-pulse-disruption-early-warning
- Repository: https://github.com/anuragverma777/-payment-pulse-disruption-early-warning

## Overview

Payment Pulse is a notebook-based decision-support prototype that replays sampled historical transactions, aggregates them into area/time windows, forecasts volume, scores anomalies, and presents evaluation plots and alerts for human review. The repository also includes four separate completed ML lab notebooks, not stages of the Payment Pulse workflow. The README documents the main flow and optional aggregate-only Granite summary; no source excerpts were provided, so relationships below rely on README statements only.

Main entry points: [`payment pulse 2.0.ipynb`](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb) (Area/time aggregation), [`payment_pulse_synthetic_29mb.csv`](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment_pulse_synthetic_29mb.csv) (Sampled transactions), [`labs/Fraud_LSTM_Keras_TF.ipynb`](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Fraud_LSTM_Keras_TF.ipynb) (Fraud LSTM lab), [`labs/Churn_Scikit_PyTorch.ipynb`](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Churn_Scikit_PyTorch.ipynb) (Churn prediction lab)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Payment Pulse workflow"]
  node_transactions["Sampled transactions"]
  node_load["Load and profile"]
  node_sampling["Representative sampling"]
  node_aggregation["Area/time aggregation"]
  node_forecast["Volume forecasting"]
  node_anomaly["Anomaly scoring"]
  node_evaluation["Holdout evaluation"]
  node_replay["Scenario replay"]
  node_visuals["Plots and alerts"]
end

subgraph group_labs["Reference labs"]
  node_fraudlab["Fraud LSTM lab"]
  node_churnlab["Churn prediction lab"]
  node_digitlab["Digit classification lab"]
  node_loanlab["Loan approval lab"]
end

subgraph group_integration["Optional integration"]
  node_granite{{"Granite summary"}}
end

node_operator(("Operator"))

node_transactions -->|"loads"| node_load
node_load -->|"samples"| node_sampling
node_sampling -->|"aggregates"| node_aggregation
node_aggregation -->|"trains forecaster"| node_forecast
node_aggregation -->|"trains detector"| node_anomaly
node_forecast -->|"evaluates"| node_evaluation
node_anomaly -->|"evaluates"| node_evaluation
node_evaluation -->|"tests scenarios"| node_replay
node_replay -->|"shows results"| node_visuals
node_visuals -->|"presents signals"| node_operator
node_operator -->|"inspects lab"| node_fraudlab
node_operator -->|"inspects lab"| node_churnlab
node_operator -->|"inspects lab"| node_digitlab
node_operator -->|"inspects lab"| node_loanlab
node_visuals -.->|"summarizes aggregates"| node_granite

click node_transactions "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment_pulse_synthetic_29mb.csv"
click node_load "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb"
click node_sampling "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb"
click node_aggregation "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb"
click node_forecast "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb"
click node_anomaly "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb"
click node_evaluation "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb"
click node_replay "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb"
click node_visuals "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb"
click node_fraudlab "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Fraud_LSTM_Keras_TF.ipynb"
click node_churnlab "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Churn_Scikit_PyTorch.ipynb"
click node_digitlab "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Digit_Class_TensorFlow.ipynb"
click node_loanlab "https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Loan_Approval_Demo.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_transactions,node_load,node_sampling,node_aggregation,node_forecast,node_anomaly,node_evaluation,node_replay,node_visuals toneBlue
class node_fraudlab,node_churnlab,node_digitlab,node_loanlab toneAmber
class node_granite toneMint
class node_operator toneIndigo
```

## Components

### Payment Pulse workflow

- [Sampled transactions](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment_pulse_synthetic_29mb.csv): `payment_pulse_synthetic_29mb.csv`
- [Load and profile](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb): `payment pulse 2.0.ipynb`
- [Representative sampling](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb): `payment pulse 2.0.ipynb`
- [Area/time aggregation](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb): `payment pulse 2.0.ipynb`
- [Volume forecasting](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb): `payment pulse 2.0.ipynb`
- [Anomaly scoring](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb): `payment pulse 2.0.ipynb`
- [Holdout evaluation](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb): `payment pulse 2.0.ipynb`
- [Scenario replay](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb): `payment pulse 2.0.ipynb`
- [Plots and alerts](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/payment%20pulse%202.0.ipynb): `payment pulse 2.0.ipynb`

### Reference labs

- [Fraud LSTM lab](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Fraud_LSTM_Keras_TF.ipynb): `labs/Fraud_LSTM_Keras_TF.ipynb`
- [Churn prediction lab](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Churn_Scikit_PyTorch.ipynb): `labs/Churn_Scikit_PyTorch.ipynb`
- [Digit classification lab](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Digit_Class_TensorFlow.ipynb): `labs/Digit_Class_TensorFlow.ipynb`
- [Loan approval lab](https://github.com/anuragverma777/-payment-pulse-disruption-early-warning/blob/main/labs/Loan_Approval_Demo.ipynb): `labs/Loan_Approval_Demo.ipynb`

### Optional integration

- **Granite summary**

### Other components

- **Operator**

## Connections

- Sampled transactions → Load and profile: loads (evidence: `README.md`)
- Load and profile → Representative sampling: samples (evidence: `README.md`)
- Representative sampling → Area/time aggregation: aggregates (evidence: `README.md`)
- Area/time aggregation → Volume forecasting: trains forecaster (evidence: `README.md`)
- Area/time aggregation → Anomaly scoring: trains detector (evidence: `README.md`)
- Volume forecasting → Holdout evaluation: evaluates (evidence: `README.md`)
- Anomaly scoring → Holdout evaluation: evaluates (evidence: `README.md`)
- Holdout evaluation → Scenario replay: tests scenarios (evidence: `README.md`)
- Scenario replay → Plots and alerts: shows results (evidence: `README.md`)
- Plots and alerts → Operator: presents signals (evidence: `README.md`)
- Operator → Fraud LSTM lab: inspects lab (evidence: `README.md`)
- Operator → Churn prediction lab: inspects lab (evidence: `README.md`)
- Operator → Digit classification lab: inspects lab (evidence: `README.md`)
- Operator → Loan approval lab: inspects lab (evidence: `README.md`)
- Plots and alerts → Granite summary: summarizes aggregates (evidence: `README.md`)
