Skip to content

amyylin1/Cryptocurrencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Cryptocurrencies

Introduction

This analysis uses unsupervised machine learning and principal components analysis (PCA) to decide which cryptocurrency to invest in.

Results

PCA

The analysis is done with three principal components. However, all three principal components explained the overall variances poorly. The 1st principal component accounts for 2.7% of the overall variability; the 2nd principal component accounts for 2.1% of the overall variability; and the 3rd principal component accounts for 2.0% of the overall variability (see figure below).

Screen Shot 2022-11-29 at 1 39 52 PM

K-Means

Based on the Elbow curve below, the best value for k is 4, meaning that 4 clusters are ideal.

Screen Shot 2022-11-29 at 1 56 57 PM

3D-scatter with clusters

3D-scatter plot shows there are four distinct clusters. Screen Shot 2022-11-29 at 1 58 34 PM