{"id":15050716,"url":"https://github.com/rmiguelkelly/quickcluster","last_synced_at":"2025-07-26T10:36:36.422Z","repository":{"id":235962160,"uuid":"785398728","full_name":"rmiguelkelly/QuickCluster","owner":"rmiguelkelly","description":"A KMeans implemented in C++ with Python bindings and GPU acceleration ","archived":false,"fork":false,"pushed_at":"2024-07-20T19:52:48.000Z","size":67,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T01:18:42.509Z","etag":null,"topics":["clustering","clustering-algorithm","cpp","cuda","gpu","kmeans","kmeans-clustering","metal","objective-c","python","python3","unsupervised-learning"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmiguelkelly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-11T20:13:56.000Z","updated_at":"2024-08-04T10:14:28.000Z","dependencies_parsed_at":"2024-06-24T02:30:13.856Z","dependency_job_id":"b0267990-3a17-483c-973e-c11759e0c679","html_url":"https://github.com/rmiguelkelly/QuickCluster","commit_stats":null,"previous_names":["rmiguelkelly/quickcluster"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rmiguelkelly/QuickCluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmiguelkelly%2FQuickCluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmiguelkelly%2FQuickCluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmiguelkelly%2FQuickCluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmiguelkelly%2FQuickCluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmiguelkelly","download_url":"https://codeload.github.com/rmiguelkelly/QuickCluster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmiguelkelly%2FQuickCluster/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267150480,"owners_count":24043473,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","clustering-algorithm","cpp","cuda","gpu","kmeans","kmeans-clustering","metal","objective-c","python","python3","unsupervised-learning"],"created_at":"2024-09-24T21:29:04.792Z","updated_at":"2025-07-26T10:36:36.402Z","avatar_url":"https://github.com/rmiguelkelly.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QuickCluster 🔥\nA KMeans algorithm implemented in C++ along with Pythoin bindings that runs on the CPU or the GPU. \n\nI wrote this project more as a proof of concept for some key learning points I wanted to understand.\n\nThis project is definitely still in beta so there may be some bugs and upgrades to add as time goes on.  \n\n\n## Features\n\n- Simple Python interface similar to SKLearn's KMeans\n- Dynamic libraries for MacOS and Linux (Windows coming soon) for C++ integration\n- Support for Apple's GPU for hardware acceleration (CUDA coming soon too)\n\n\n## Building\n\nBuild the dynamic library from source\n\n```bash\ngit clone https://github.com/rmiguelkelly/QuickCluster\ncd QuickCluster/quickcluster\n```\n\nMacOS\n```bash\nmake darwin\n```\n\nLinux\n```bash\nmake linux\n```\n\nWindows and CUDA implementations\n```bash\nComing soon!\n```\n\n\n## Examples\nSome example code for running the program\n\nPython (CPU) [Example](examples/kmeans-example-cpu.ipynb)\n\nPython (GPU) [Example](examples/kmeans-example-gpu.ipynb)\n\nC++ (CPU) [Example](examples/kmeans-example-cpu.cc)\n\nC++ (GPU) [Example](examples/kmeans-example-gpu.cc)\n\n    \n## Python Installation\n\nYou must build the project first with the above steps\n\n```bash\ncd ..\npip install .\n```\n\nNote: you may have to edit the runtime paths using a tool like `install_name_tool` on MacOS for the dynamic library so that the Python module can link it properly\n\n\n## Authors\n\n- [@rmiguelkelly](https://www.github.com/rmiguelkelly)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmiguelkelly%2Fquickcluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmiguelkelly%2Fquickcluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmiguelkelly%2Fquickcluster/lists"}