Icon

Fraudulent E-Commerce Transactions (2)

Data Loading and Data Preparation

Data Understanding and Visualization

Data Preprocessing

Training the Autoencoder

Optimizing threshold K

Final Performance

Keras Autoencoder Architecture

Reading data, parameters, and network

The Fraud Detector
- data normalization
- reproduction of data by autoencoder
- MSE calculation
- Applying threshold

Taking Actions

IF trx is legitimate => do nothing
IF trx is fraud candidate => send email to owner

Deployment

Data Modeling

Modeling Batch

Select the Product Category to train the model

send email to owner
Send Email
Min-max normalization
Normalizer
Define outliers by the best threshold for reconstruction error
Rule Engine
Total Type of Transaction by Payment Method
GroupBy
Units: 10Activation: Sigmoid
Keras Dense Layer
Normalizer for deployment
Model Writer (deprecated)
Train with Loss function=MSE Optimizer=Adam
Keras Network Learner
CSV Writer
Table Row to Variable (deprecated)
Total Fraudulent and Legitimate
GroupBy
Pivot
10 % for validation
Table Partitioner
Fraud Data Visualization
Mean of Transaction Amountby Hour of the day andType of Transaction
GroupBy
port 0 => trx legit port 1 => fraud?
CASE Switch Variable (Start) (deprecated)
Filtering Variable for modeling
Column Filter
Legitimate = greenFraudulent = orange
Color Manager
Pivot
Exploratory Data Analysis
threshold.table
Table Reader (deprecated)
Transactions1_deployment.csv
File Reader (deprecated)
normalizer.model
Model Reader (deprecated)
Table Row to Variable (deprecated)
Data Preparation
Select Product Category
Row Filter (deprecated)
Normalizer (Apply)
1/3 of Legitimateand all Fraudulent transactions for validation
Concatenate
Fradulent
Row Filter (deprecated)
CSV Reader
Product Category
Color Manager
Payment Method
Color Manager
Write model
Keras Network Writer
Shape: 7
Keras Input Layer
Variable to Table Row (deprecated)
Math Formula
Classifytransactions based onthreshold
Rule Engine
Units: 7Activation: Sigmoid
Keras Dense Layer
Normalizer (Apply)
Normalizer (Apply)
Units: 4Activation: Sigmoid
Keras Dense Layer
2/3 of LegitimateTransactionsfor training
Table Partitioner
Legitimate = greenFraudulent = orange
Color Manager
Math Formula
Payment Method
Color Manager
Threshold Optimization
threshold.table
Table Writer (deprecated)
integer to double
Math Formula
Units: 10Activation: Sigmoid
Keras Dense Layer
Keras Network Reader
Joiner
Apply network
Keras Network Executor
Apply network
Keras Network Executor
Math Formula
Legitimate TransactionsIs Fraudulent =0
Row Splitter (deprecated)
Scorer (JavaScript)

Nodes

Extensions

Links