{"id":34174914,"url":"https://github.com/tsurubee/tscluster","last_synced_at":"2026-03-13T04:31:41.466Z","repository":{"id":57521865,"uuid":"170076470","full_name":"tsurubee/tscluster","owner":"tsurubee","description":"time-series clustering implemented in Go","archived":false,"fork":false,"pushed_at":"2019-02-17T06:57:13.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-18T09:25:16.815Z","etag":null,"topics":["clustering","data-science","golang","machine-learning","time-series"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tsurubee.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}},"created_at":"2019-02-11T06:03:57.000Z","updated_at":"2019-03-22T11:23:02.000Z","dependencies_parsed_at":"2022-08-26T20:23:58.711Z","dependency_job_id":null,"html_url":"https://github.com/tsurubee/tscluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsurubee/tscluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsurubee%2Ftscluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsurubee%2Ftscluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsurubee%2Ftscluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsurubee%2Ftscluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsurubee","download_url":"https://codeload.github.com/tsurubee/tscluster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsurubee%2Ftscluster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30457998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T03:55:51.346Z","status":"ssl_error","status_checked_at":"2026-03-13T03:55:33.055Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","data-science","golang","machine-learning","time-series"],"created_at":"2025-12-15T12:03:25.881Z","updated_at":"2026-03-13T04:31:41.458Z","avatar_url":"https://github.com/tsurubee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tscluster\ntscluster is time-series clustering implemented in Go.  \n\n## Usage\n### Installation\n```\n$ go get github.com/tsurubee/tscluster\n```\n\n### Example\n```go\nfunc main() {\n\tvar dataset [][]float64\n\tdataset = append(dataset, []float64{1, 1, 1, 1, 1, 1})\n\tdataset = append(dataset, []float64{1, 1, 1, 1, 1, 1, 1})\n\tdataset = append(dataset, []float64{2, 2, 2, 2, 2})\n\tdataset = append(dataset, []float64{2, 2, 2, 2, 2, 2, 2})\n\n\ttc := tscluster.NewTscluster(tscluster.DTW)\n\tlabels, err := tc.Kmedoids(dataset, 2, 20)\n\tif err != nil {\n\tlog.Fatal(err)\n\t}\n\tfmt.Println(labels)\n}\n\n#=\u003e\n[0 0 2 2]\n```\nIt returns the label of the result of clustering on the given data array.  \nThe numerical value of the label returns the index number of medoid of the cluster to which the data belongs.  \n\n## License\n\n[MIT](https://github.com/tsurubee/tscluster/blob/master/LICENSE)\n\n## Author\n\n[tsurubee](https://github.com/tsurubee)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsurubee%2Ftscluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsurubee%2Ftscluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsurubee%2Ftscluster/lists"}