Skip to content

namanzz001/Sampling-Naman-102203421

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sampling_assignment_102203421

Credit Card Fraud Detection - Model Evaluation with Sampling Techniques

This project evaluates the performance of various machine learning models (Logistic Regression, Decision Tree, and Random Forest) on a credit card fraud detection dataset. Different sampling techniques are applied to balance the dataset and evaluate how they impact model performance.

Table of Contents

Introduction

In this project, we apply various sampling techniques to balance the class distribution in the dataset. The techniques include random sampling, stratified sampling, systematic sampling, bootstrap sampling, and cluster sampling. The dataset used is a credit card fraud detection dataset. After balancing the dataset, we evaluate the performance of three machine learning models:

  • Logistic Regression
  • Decision Tree Classifier
  • Random Forest Classifier

The goal is to analyze how different sampling methods affect model accuracy.

Installation

To run this project, you need the following Python libraries:

  1. pandas
  2. numpy
  3. scikit-learn
  4. imbalanced-learn

You can install these dependencies using pip:

pip install pandas numpy scikit-learn imbalanced-learn

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages