Git Product home page Git Product logo

cryptocurrencies's Introduction

Cryptocurrencies


Analysis the biggest part of Cryptocurrencies using unsupervised machine learning and Python

Overview


The goal of this project was to analyze a dataset of many alternative cryptocurrencies in order to identify trends that make a firm or individual want to invest in them. The problem with cryptocurrencies is that the most common ones, such as Bitcoin or Ethereum, become inaccessible to the general public due to their cost. With the help of unsupervised machine learning, we will try to calculate any alternatives and approach to them.

Resources


  • Datasets
  • Software
    • Python
    • VS Code
    • Sklearn and hvplot libraries
    • Unsupervised Machine Learning

Results

Full code you can check crypto_clustering.ipynb

First step - preprocess and transform the data. This included dropping null values, using only tradaeble and mined cryptocurrencies, numerically encoding categorical columns using the pandas.get_dummies method, and scaling the data using the StandardScaler() method as well.

Step Two is Principal Component Analysis (PCA) to reduce the number of columns available to three principal.

Step Three - I created an elbow curve to check how many clusters is possible to use for dividing the cryptos

As shown on curve - the optimal result was 4 clusters.

Step Four is a clustered_df table with a "Class" column that showed predictions of which group it belonged to.

Step Five - I create some visualizations to better understand the results.

  • In the 3D scatter plot, you can see that each grouped crypto was located in relation to the three main components created on the PCA, there are 3 main groups and one outlier.

  • Similarly, when trying to graph the clustered cryptos by total supply and mined coins, we can observe two outliers. The first one with a lot of supply and a lot of mined coins (BitTorrent Crypto) and another one with a lot of supply but not too many coins mined (TurtleCoin).

Summary


At the end of our analysis, we can state that we have successfully grouped cryptocurrencies into 4 groups. If we were going to create a portfolio of crypto investments, we would need further analysis of the clusters. However, we have a good starting point where we see that the most profitable and well-known cryptocurrencies are in about two groups that have less supply and mined coins compared to others. The task of unsupervised machine learning is to discover patterns or groups of data when there is no known output. And as we have already checked on ourselves, it copes with this perfectly !!! Denis Antonov 10.27.2022

Contact: [email protected]

cryptocurrencies's People

Contributors

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