Skip to content

feat(python-ml): EDA and preprocessing for credit card fraud detection dataset - #5

Open
khushi09-oss wants to merge 7 commits into
mainfrom
feature/python-ml
Open

feat(python-ml): EDA and preprocessing for credit card fraud detection dataset#5
khushi09-oss wants to merge 7 commits into
mainfrom
feature/python-ml

Conversation

@khushi09-oss

Copy link
Copy Markdown
Collaborator

Overview

Adds exploratory data analysis (EDA) and preprocessing for the Kaggle Credit Card
Fraud Detection dataset, laying the foundation for the fraud detection ML pipeline.

What's in this PR

  • eda.ipynb - Jupyter notebook covering full dataset exploration and preprocessing:
    • Dataset overview: 284,807 transactions, 31 features (V1–V28, Time, Amount, Class)
    • Class imbalance analysis: 99.83% legitimate vs 0.17% fraud (577:1 ratio)
    • Amount & Time statistics broken down by class
    • Feature correlation analysis with fraud label (top signals: V17, V14, V12)
    • Normalization of Amount and Time using StandardScaler
    • Final preprocessed shape ready for model training

Key Findings

  • Dataset is clean -> zero missing values
  • V1–V28 are already PCA-scaled; only Amount and Time needed normalization
  • Fraud transactions have lower median amount ($9.25) vs legitimate ($22.00)
  • Accuracy is a misleading metric here -> Precision/Recall/F1 must be used

PranavV205 and others added 7 commits March 29, 2026 13:44
* feat: scaffold NestJS API with health endpoint

Bare NestJS app on port 3001 with GET /health → { status: 'ok' }.
Multi-stage Dockerfile and docker-compose service added.

* fix: address copilot review on nestjs scaffold
* feat: scaffold Python ML service with health endpoint

* feat: add healthcheck for Python ML service and update dependencies
* feat: scaffold React frontend with placeholder page

* fix: address copilot review on frontend scaffold
Add healthchecks to postgres, minio, python-ml, and nestjs-api.
Wire depends_on conditions end-to-end so services start in the
correct order. Temporal has no healthcheck — auto-setup image's
ringpop bootstrap is disrupted by any healthcheck process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants