Skip to content

Neural Network for Detecting Fraud for Transactions from Xente

Notifications You must be signed in to change notification settings

developerprince-eng/Xente-Fraud-Detection

Repository files navigation

FRAUD DETECTION

DeveloperPrince

This is a machine learning project of being able to predict whether a transaction is a fraud or not. Take note the Dataset is taken from zindi from a closed competition.

Contributor

DeveloperPrince

Requirements

1. Python 3.7
2. pip
3. Virtualenv(python package)

Setup & Inference

  1. Create Virtual environment.

on Unix based System

    python3 -m venv env

or on Win32

    py -m venv env
  1. Switch to Virtual environment

on Unix based System

    source env/bin/activate

or Win32

    .\env\Scripts\activate
  1. Change KERAS_BACKEND to either tensorflow if you your CPU supports AVX otherwise Shift to theano for leagcy CPU's

on Unix Based System

    export KERAS_BACKEND=theano        

on Windows Based System

    set KERAS_BACKEND=theano
  1. Create a Model
    python3 train.py
  1. Infer Model
    python3 main.py infer json [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] 

Where the Arguments are as follows:

[0] = TransactionId [1] = BatchId [2] = AccountId [3] = SubscriptionId [4] = CustomerId [5] = CurrencyCode [6] = ProviderId [7] = ProductId [8] = ProductCategoryId [9] = ChannelId [10] = Amount [11] = Value [12] = TransactionStartTime [13] = PricingStrategy

Enjoy

About

Neural Network for Detecting Fraud for Transactions from Xente

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages