/Cryptocurrencies

Primary LanguageJupyter Notebook

Cryptocurrencies

Purpose

An investment firm is interested in providing their clients with opportunities to invest in cryptocurrencies. Using Unsupervised Machine Learning and principal component reduction technique, PCA, the vast world of cryptocurrency options was clustered into the most likely candidates for sound investing. Preprocessing of the data was performed to prepare for PCA. Preprocessing included ensuring only the tradable cryptocurrencies with working algorithms were kept in the dataframe, and then ensuring all rows with at least one NaN value were removed.

image

The dataset was processed further to ensure only the coins that were being mined were retained.

image

Because unsupervised machine learning models only work with numbers, the text values had to be converted to numerical values.

image

Finally, PCA could be used to reduce the data dimensions. There were three principal components chosen for this model.

image

Results

Looking for the best K-means value meant creating an elbow curve. A k-means of 4 was determined by the curve.

image

The clustered data was printed on a 3-d scatter plot

image

The x-values were scaled and a scatter plot created to show Total Coins Mined versus Total Coin Supply

image