- The aim of this project is to predict whether a credit card transaction is fraudulent or not, based on the transaction amount, time and other transaction related data.
- It aims to track down credit card transaction data, which is done by detecting anomalies in the transaction data.
Objective is to predict whether the instance of a credit card transaction is fraudulent or valid
Credit card fraud detection is typically implemented using an algorithm that detects any anomalies in the transaction data and notifies the cardholder (as a precautionary measure) and the bank about any suspicious transaction.
To avoid misuse of data, the dataset has been masked. Hence we are unable to explain columns V1 to V28. All the columns between V1 to V28 are used as independent variable
The other two independent columns are Amount and Time.
- Time indicates the time elapsed when the transaction was captured
- Amount indicates the amount transacted.
Target column is named as Class Number of categories in Class column is 2 (0 & 1)
- "0" indicated as valid
- "1" indicated as fraud
Synopsis
- Import Libraries
- Reading Dataset
- Checking Null Set
- Exploring Dataset
- Exploratory Data Analysis
5.1 Sampling Technique - Deterrmining Fraud Data Cases (finding Outliers)
- Data Preprocessing
7.1 . Setting X and Y Variables
7.2. Splitting Train and Test DataSet - Model Analysis
8.1 Random Forest Classifier Model
8.2 Confusion Matrix
8.3 Determining Accuracy, Recall and Precision Score