# harshjpatel/ai_fraud_detection architecture

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

- Interactive diagram: https://gitdiagram.com/harshjpatel/ai_fraud_detection
- Repository: https://github.com/harshjpatel/ai_fraud_detection

## Overview

This is a research project exploring machine-learning approaches to detect suspicious transactions in the IBM AML dataset. Its documented workflow is to use transaction data to investigate labeled classification and unlabeled anomaly detection; the repository also contains notebooks for decision trees, other classifiers, and neural networks. Graph analysis and time-series modeling are stated goals, but the tree provides no corresponding implementation paths. No source excerpts were provided, so relationships below rely on the README and do not assert notebook execution order.

Main entry points: [`Supervised Learning/DecisionTree`](https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/DecisionTree) (Decision trees), [`Supervised Learning/LR_RF_Bagging_GB_SVC`](https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/LR_RF_Bagging_GB_SVC) (Classifiers), [`Supervised Learning/Neural Network`](https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/Neural%20Network) (Neural networks), [`UnSupervised Learning`](https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/UnSupervised%20Learning) (Anomaly detection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data exploration"]
  node_ibm_data[("IBM AML data")]
  node_raw_extract["Raw extraction"]
end

subgraph group_supervised["Supervised learning"]
  node_decision_tree["Decision trees"]
  node_classifiers["Classifiers"]
  node_neural_network["Neural networks"]
end

subgraph group_unsupervised["Unsupervised learning"]
  node_anomaly["Anomaly detection"]
end

subgraph group_research["Research goals"]
  node_graph_analysis["Graph analysis"]
  node_time_series["Time-series models"]
end

node_researcher(("Researcher"))

node_researcher -->|"investigates"| node_ibm_data
node_ibm_data -->|"supports classification"| node_decision_tree
node_ibm_data -->|"supports classification"| node_classifiers
node_ibm_data -->|"supports classification"| node_neural_network
node_ibm_data -->|"supports detection"| node_anomaly
node_ibm_data -->|"supports research"| node_graph_analysis
node_ibm_data -->|"supports research"| node_time_series

click node_raw_extract "https://github.com/harshjpatel/ai_fraud_detection/blob/feature/Harsh_04_17/Raw%20Data%20Extraction/ITMD_524_Project_Raw.ipynb"
click node_decision_tree "https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/DecisionTree"
click node_classifiers "https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/LR_RF_Bagging_GB_SVC"
click node_neural_network "https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/Neural%20Network"
click node_anomaly "https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/UnSupervised%20Learning"

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_ibm_data,node_raw_extract toneBlue
class node_decision_tree,node_classifiers,node_neural_network toneAmber
class node_anomaly toneMint
class node_graph_analysis,node_time_series toneRose
class node_researcher toneIndigo
```

## Components

### Data exploration

- **IBM AML data**
- [Raw extraction](https://github.com/harshjpatel/ai_fraud_detection/blob/feature/Harsh_04_17/Raw%20Data%20Extraction/ITMD_524_Project_Raw.ipynb): `Raw Data Extraction/ITMD_524_Project_Raw.ipynb`

### Supervised learning

- [Decision trees](https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/DecisionTree): `Supervised Learning/DecisionTree`
- [Classifiers](https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/LR_RF_Bagging_GB_SVC): `Supervised Learning/LR_RF_Bagging_GB_SVC`
- [Neural networks](https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/Supervised%20Learning/Neural%20Network): `Supervised Learning/Neural Network`

### Unsupervised learning

- [Anomaly detection](https://github.com/harshjpatel/ai_fraud_detection/tree/feature/Harsh_04_17/UnSupervised%20Learning): `UnSupervised Learning`

### Research goals

- **Graph analysis**
- **Time-series models**

### Other components

- **Researcher**

## Connections

- Researcher → IBM AML data: investigates (evidence: `README.md`)
- IBM AML data → Decision trees: supports classification (evidence: `README.md`)
- IBM AML data → Classifiers: supports classification (evidence: `README.md`)
- IBM AML data → Neural networks: supports classification (evidence: `README.md`)
- IBM AML data → Anomaly detection: supports detection (evidence: `README.md`)
- IBM AML data → Graph analysis: supports research (evidence: `README.md`)
- IBM AML data → Time-series models: supports research (evidence: `README.md`)
