Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.45 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.45 KB

Credit-Card-Fraud-Detection

Dataset

creditcard.csv

FraudDetectionUsingText

Statlog (Australian Credit Approval) Data Set (SOM)

Fraud Detection by SOM (Unsupervised Learning)

Each customer is a input observation point which is going to be mapped to a new output space. Each neuron inside the neural network being initialized as a vector of weights, that is a vector of 15 elements (customer ID + 14 attributes). The output of a customer will be the closest neuron (winning node) to the customer.

Use a neighborhood function (e.g Galch neighborhood function) to update the weight of the neighbors of the winning node to move them closer to the winning node. And we do this for all the customers in the input space, and repeat it again and again until it reaches a point where the neighborhood stops decreasing. Each time we repeat it, the output space decreases and loses dimensions.

The outliers in the output space can be defined as frauds.

How to detect the outlier neurons?

  • Compute the mean of the Euclidean distance between this neuron and the neurons in its neighborhood.

How to identify which customer originally in the input space is associated to the winning node?

  • Use an inverse mapping function.