Code Monkey home page Code Monkey logo

cryptocurrencies's Introduction

Cryptocurrencies

Overview of Project

Using unsupervised machine learning, our goal was to analyze a large dataset of cryptocurrencies and classify them into multiple groups. We visualized the data with both 2D and 3D scatter plots, and finally produced a report that classified the cryptocurrencies according to their features.

Resources

Data Source: crypto_data.csv
Software/Code Language(s): Python 3.7.11, Conda 4.11.0, Jupyter Notebook, Visual Studio Code 1.65.0

Results

Elbow Curve

Using K-Means with the Inertia Method, we identify the number of useful clusters before we start seeing diminishing returns:
elbow_curve.png

Our elbow curve graph shows a sharp dropoff in significance after about 4 clusters, so that's how many we'll use in our K-Means model output.

Plotting clusters in 3D Scatter

scatter_3d.png
Using the PCA algorithm to reduce our dataset to 3 primary components allows us to visualize the class clusters in three dimensions. We can see that most of the cryptocurrencies are fairly tightly clustered in classes 0, 2 and 3, with BitTorrent showing as a bit of an outlier in class 1 (detailed pic below).
outlier.png

Plotting clusters in 2D Scatter

scatter_2d.png
When we visualize the four classes in two dimensions, plotted by Total Coin Supply vs. Total Coins Mined, we can confirm that BitTorrent is indeed an outlier. We also see a bit of divergent behavior in TurtleCoin, in class 2 (detailed pic below).
bittorrent_2d.png
turtlecoin_2d.png

Aggregated Cryptocurrencies Table (Tradable)

crypto_table.png
A new table was generated, pairing the important features of each cryptocurrency with their corresponding class. The above screenshot shows the first 10 rows of the table.

Summary

After cleaning and transforming the data, we've successfully classified 532 different cryptocurrencies into 4 groups based on similarity between features. We've also identified a couple of obvious outliers. Each group will need to be analyzed for metrics that our client will consider favorable (performance/volatility).

cryptocurrencies's People

Contributors

zerodarkhardy 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.