Coder Social home page Coder Social logo

nedaaj / cryptocurrencies Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.89 MB

Use unsupervised machine learning, PCA algorithm, and K-Means clustering to analyze and classify a database of cryptocurrencies.

Jupyter Notebook 100.00%
elbow-method kmeans-clustering machine-learning pca-analysis scatter-plot unsupervised-machine-learning

cryptocurrencies's Introduction

Cryptocurrencies

Analysis Overview

The goal of this project is to utilize unsupervised machine learning to evaluate a cryptocurrency database and provide a report that categorizes traded cryptocurrencies into groups based on their characteristics. An investment bank might utilize this categorization report to propose a new bitcoin investment portfolio to its clients. For the analysis, we employ the following methods:

  • Preprocessing the database
  • Principal Component Analysis to reduce data dimension
  • K-Means to cluster cryptocurrencies
  • 2D and 3D scatter plots to visualize classification results

Results

We now have a total of 532 marketable cryptocurrencies after the preprocessing and cleaning step.

Clustering Cryptocurrencies using K-Means - Elbow Curve

We don't know what the analysis' outcome will be, thus we're utilizing unsupervised machine learning to find cryptocurrency clusters. The elbow curve below was created using the K-Means approach with k values ranging from 1 to 10.

The optimal k number looks to be 4, thus we'll classify the cryptocurrencies using an output of four clusters.

Visualizing Cryptocurrencies Results

3D-Scatter plot with clusters

The PCA technique was used to reduce the crytocurrencies dimensions to three principal components, resulting in this 3-D scatter plot.

Tradable Cryptocurrencies Table

The majority of cryptocurrencies are classified as #0 or #1. BitTorrent is the sole cryptocurrency in class #2, as seen in the image above.

2D-Scatter plot with TotalCoinMined vs TotalCoinSupply

Directly plotting the scatter plot from two cryptocurrency features does not effectively separate the classes. When it comes to improved visuals, the PCA algorithm is the way to go.

Summary

We classified 532 cryptocurrencies based on their similarity in attributes. Each group's characteristics must be examined in order to establish its performance and prospective value to the investment bank's clients.

Contact:

cryptocurrencies's People

Contributors

nedaaj avatar

Watchers

 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.