Skip to content

Clustering cryptocurrencies by using unsupervised learning.

Notifications You must be signed in to change notification settings

herose07/Crypto_Clustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

image

Cryptocurrency Clustering

For this project, I use classification to group various cryptocurrencies.

This project accomplishes the following main tasks:

Data Preprocessing:

  • Data is prepared for dimension reduction with PCA and clustering using K-Means.

Reducing Data Dimensions Using PCA:

  • Completion of this task results in the following dataframe:

image

Clustering Cryptocurrencies Using K-Means:

  • An Elbow Curve is created to find the best value for k.
  • Once the best value for k is defined, the Kmeans algorithm is used to predict the k clusters for the cryptocurrencies data.
  • Completion of this task results in the following dataframe:

image

Visualizing Results:

  • A 3D-Scatter plot is created using Plotly Express to plot the clusters.
  • hvplot.table is used to create a data table with all the current tradable cryptocurrencies.
  • A scatter plot is created using hvplot.scatter, to present the clustered data about cryptocurrencies having x="TotalCoinsMined" and y="TotalCoinSupply" to contrast the number of available coins versus the total number of mined coins.