{"id":18015253,"url":"https://github.com/lettier/interactivekmeans","last_synced_at":"2025-03-26T18:31:08.598Z","repository":{"id":32685845,"uuid":"36274925","full_name":"lettier/interactivekmeans","owner":"lettier","description":"Interactive HTML canvas based implementation of k-means.","archived":false,"fork":false,"pushed_at":"2018-03-24T05:53:20.000Z","size":4861,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-22T06:27:37.418Z","etag":null,"topics":["ai","cluster","cluster-analysis","clustering","clustering-algorithm","clustering-evaluation","clustering-methods","data-science","interactive-kmeans","kmeans","kmeans-algorithm","kmeans-clustering","machine-learning","machine-learning-algorithms","scikit-learn"],"latest_commit_sha":null,"homepage":"https://lettier.com/kmeans","language":"JavaScript","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/lettier.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}},"created_at":"2015-05-26T05:45:27.000Z","updated_at":"2020-11-09T17:54:43.000Z","dependencies_parsed_at":"2022-09-08T21:42:59.662Z","dependency_job_id":null,"html_url":"https://github.com/lettier/interactivekmeans","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lettier%2Finteractivekmeans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lettier%2Finteractivekmeans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lettier%2Finteractivekmeans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lettier%2Finteractivekmeans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lettier","download_url":"https://codeload.github.com/lettier/interactivekmeans/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245712596,"owners_count":20660266,"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":["ai","cluster","cluster-analysis","clustering","clustering-algorithm","clustering-evaluation","clustering-methods","data-science","interactive-kmeans","kmeans","kmeans-algorithm","kmeans-clustering","machine-learning","machine-learning-algorithms","scikit-learn"],"created_at":"2024-10-30T04:13:24.557Z","updated_at":"2025-03-26T18:31:07.645Z","avatar_url":"https://github.com/lettier.png","language":"JavaScript","readme":"![Interactive K-means](preview.gif)\n\n# Interactive K-means\n\nVisualize and interact with the clustering algorithm k-means.  \nTry it at [lettier.com/kmeans](http://www.lettier.com/kmeans/).  \nRead more about [k-means](https://lettier.github.io/posts/2016-04-24-k-means-from-scratch.html).\n\n## Download \u0026 Run\n\n```bash\ngit clone https://github.com/lettier/interactivekmeans.git\ncd interactivekmeans\nnohup python -m http.server \u0026\u003e /dev/null \u0026\npython -mwebbrowser http://localhost:8000\n```\n\n## Directions\n\n- Lay down data points by clicking the mouse. \n- You can also use the `scatter` button located in the controls. \n- Set your value for `k` and `maxIterations`. \n- Press `runKMeans` to cluster the on-screen data points. \n- Remove data points by clicking on them. \n- Use the silhouette coefficient to find the optimal `k`.\n\n(C) 2015 David Lettier.  \n[lettier.com](https://www.lettier.com/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flettier%2Finteractivekmeans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flettier%2Finteractivekmeans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flettier%2Finteractivekmeans/lists"}