CoolFace
Datasetpublic

jyunyilin/credit-card-fraud-detection

Credit Card Fraud Detection – Processed Dataset This dataset contains preprocessed credit card transaction data prepared for fraud detection tasks. Data Description The dataset is derived from anonymized transaction records and includes numerical features (V1–V28), transaction amount, and time-based information. Preprocessing Steps Feature scaling and normalization Handling class imbalance Feature selection based on correlation analysis Removal of… See the full description on the dataset page: https://huggingface.co/datasets/jyunyilin/credit-card-fraud-detection.

sourceHugging Facemitupdated 9mo agoView on Hugging Face
1likes40downloads
Dataset Card

Credit Card Fraud Detection – Processed Dataset

This dataset contains preprocessed credit card transaction data prepared for fraud detection tasks.

Data Description

The dataset is derived from anonymized transaction records and includes numerical features (V1–V28), transaction amount, and time-based information.

Preprocessing Steps

  • —Feature scaling and normalization
  • —Handling class imbalance
  • —Feature selection based on correlation analysis
  • —Removal of irrelevant identifiers

Dataset Structure

The dataset provides a single split:

  • —train: processed transaction records

Columns

Column NameDescription
TimeTime elapsed between transactions
AmountTransaction amount
V1–V28Anonymized PCA-transformed features
ClassTarget label (1 = Fraud, 0 = Legitimate)

Intended Use

  • —Fraud detection modeling
  • —Explainable AI (SHAP) demonstrations
  • —Streamlit / Hugging Face Spaces applications

Usage Example

python
from datasets import load_dataset

dataset = load_dataset("jyunyilin/credit-card-fraud-detection")
df = dataset["train"].to_pandas()
print(df.head())