{"id":22785567,"url":"https://github.com/purcellcjp/cryptoclustering","last_synced_at":"2025-07-15T10:34:59.108Z","repository":{"id":261314337,"uuid":"883245887","full_name":"purcellcjp/CryptoClustering","owner":"purcellcjp","description":"This project applies K-means clustering to group crypto-currencies based on 24 hr and 7 day price changes. In addition, it investigates the impact of dimensionality reduction using Principal Component Analysis (PCA) on clustering outcomes.","archived":false,"fork":false,"pushed_at":"2024-11-07T19:50:35.000Z","size":1334,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T17:12:55.137Z","etag":null,"topics":["clustering","cryptocurrency","machine-learning","pca-analysis","unsupervised-learning"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purcellcjp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-04T16:18:12.000Z","updated_at":"2024-11-07T19:50:39.000Z","dependencies_parsed_at":"2025-01-21T14:45:53.711Z","dependency_job_id":null,"html_url":"https://github.com/purcellcjp/CryptoClustering","commit_stats":null,"previous_names":["purcellcjp/cryptoclustering"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcellcjp%2FCryptoClustering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcellcjp%2FCryptoClustering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcellcjp%2FCryptoClustering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcellcjp%2FCryptoClustering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purcellcjp","download_url":"https://codeload.github.com/purcellcjp/CryptoClustering/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246337029,"owners_count":20761141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clustering","cryptocurrency","machine-learning","pca-analysis","unsupervised-learning"],"created_at":"2024-12-11T23:06:45.229Z","updated_at":"2025-03-30T15:26:52.737Z","avatar_url":"https://github.com/purcellcjp.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crypto Clustering\n\n## Overview\n\nIn this challenge, you'll use your knowledge of Python and unsupervised learning to predict if cryptocurrencies are affected by 24-hour or 7-day price changes.\n\n## Steps\n\n1. Load the data into a DataFrame.\n2. Prepare the data by scaling it using StandardScaler().\n3. Find the best value for k using the Scaled DataFrame.\n4. Cluster cryptocurrencies with K-means using the original scaled data.\n5. Optimize clusters with Principal Component Analysis (PCA)\n6. Find the best value for k using the PCA DataFrame.\n7. Cluster cryptocurrencies with K-means using the PCA DataFrame.\n8. Visualize and compare the results using hvPlot.\n\n## Results\n\nThe project includes the following visualizations:\n\n1. Elbow curve for the original data.\n![alt text](Images/crypto_elbow_plot.jpg)\n \n2. Scatter plot of cryptocurrency clusters based on the original data.\n![alt text](Images/crypto_scaled_predictions_scatter_plot.jpg)\n\n3. Elbow curve for the PCA data.\n![alt text](Images/pca_crypto_elbow_plot.jpg)\n\n4. Scatter plot of cryptocurrency clusters based on the PCA data.\n![alt text](Images/crypto_pca_predictions_scatter_plot.jpg)\n\n\n## Conclusion\n\nThe project analyzes the impact of using fewer features on clustering the data using K-means. Comparing the clustering results of the original data and the PCA data helps to understand the effect of dimensionality reduction on the clustering process.\n\n## Dependencies\n\n- Python\n- pandas\n- scikit-learn\n- hvPlot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurcellcjp%2Fcryptoclustering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurcellcjp%2Fcryptoclustering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurcellcjp%2Fcryptoclustering/lists"}