Giter VIP home page Giter VIP logo

creditcardviz's Introduction

CreditCardViz

Visualization tool for credit card exploratory. This dataset is obtained from Kaggle site Kaggle Credit Card Fraud

All the variables for this dataset are transformed using PCA dimension reduction algorithm. PCA ensures that we will not abuse user information. However, it also made analysis more difficult. To help visualize and explore data I built this simple app.

Bokeh is a powerful tool, it could be slow to paint large dataset locally. For the purpose of exploration, I keep all the fraud transactions and sampled 10% of normal transactions. Sampling helped in quick visualization.

This app requires installing python3 or above to view the app.

Play the app

To play with the app clone this repo and run the following command line within the folder.

OR Using methods mention in this wonderful blog,to deploy the app online.

Click to HERE HERE HERE to view :)

bokeh serve --show creditcardvizapp.py

Visual elements

Transaction types describe whether the transaction is fraud or normal. Orange points are fraud transactions.

Circle sizes are in proportion to the amount of the transactions.

Use buttons to select which variables to show. X and Y selections are for variables and transaction type button let users choose which subset of data to show.

alt text

Requirements

This repository require pandas, sklearn and bokeh to be install in order to view. Could use pip to download the required packages. Run the following command line to install

pip install -U numpy scipy scikit-learn
pip install bokeh

creditcardviz's People

Contributors

sophiarora avatar

Stargazers

Chelsea Dong avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.