Documentation

Installation Guide

Credit Card Fraud Detection System

Step-by-step Setup Verified Instructions Chat Support
Back to Project
Complete Guide

Installation Guide

Follow these steps to set up and run the Credit Card Fraud Detection project on your computer.

Step 1: Check Requirements

Make sure Python 3.10 or higher is installed on your system. You can verify this by running the command below.

python --version

Step 2: Extract and Open the Project

Extract the downloaded project ZIP file and open the project folder in your terminal or command prompt.

cd credit-card-fraud-detection

Step 3: Create a Virtual Environment

Create an isolated Python environment so the project dependencies stay separate from your system.

python -m venv venv

Step 4: Activate the Virtual Environment

On Windows, run the following command.

venv\Scripts\activate

On Linux or macOS, run this instead.

source venv/bin/activate

Step 5: Install Dependencies

Install all the required libraries listed in the requirements file.

pip install -r requirements.txt

Step 6: Add the Dataset

Download the credit card transaction dataset (creditcard.csv) and place it inside the data folder of the project.

Step 7: Train the Machine Learning Models

Run the training script. This will preprocess the data, balance the classes, train the models, and save the best one.

python train_model.py

Step 8: Run the Web Application

Start the Flask server with the command below.

python app.py

Step 9: Open in Browser

Open your web browser and go to the address shown in the terminal to use the application.

http://127.0.0.1:5000

You Are Done

The application is now running. You can try single transaction prediction, upload a CSV file for batch prediction, and explore the analytics dashboard.

Need Help?

Our team is here to assist you with installation and setup.

Chat with Us
Chat with us