{"id":13413377,"url":"https://github.com/muesli/regommend","last_synced_at":"2025-04-09T13:09:19.629Z","repository":{"id":13853777,"uuid":"16551388","full_name":"muesli/regommend","owner":"muesli","description":"Recommendation engine for Go","archived":false,"fork":false,"pushed_at":"2019-08-07T04:55:12.000Z","size":31,"stargazers_count":315,"open_issues_count":0,"forks_count":27,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-02T07:42:54.616Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muesli.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":"2014-02-05T17:00:49.000Z","updated_at":"2025-03-16T18:50:22.000Z","dependencies_parsed_at":"2022-08-30T07:41:55.039Z","dependency_job_id":null,"html_url":"https://github.com/muesli/regommend","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/muesli%2Fregommend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muesli%2Fregommend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muesli%2Fregommend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muesli%2Fregommend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muesli","download_url":"https://codeload.github.com/muesli/regommend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045233,"owners_count":21038553,"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":["hacktoberfest"],"created_at":"2024-07-30T20:01:38.931Z","updated_at":"2025-04-09T13:09:19.607Z","avatar_url":"https://github.com/muesli.png","language":"Go","readme":"regommend\n=========\n\nRecommendation engine for Go\n\n## Installation\n\nMake sure you have a working Go environment (Go 1.2 or higher is required).\nSee the [install instructions](http://golang.org/doc/install.html).\n\nTo install regommend, simply run:\n\n    go get github.com/muesli/regommend\n\nTo compile it from source:\n\n    cd $GOPATH/src/github.com/muesli/regommend\n    go get -u -v\n    go build \u0026\u0026 go test -v\n\n## Example\n```go\npackage main\n\nimport (\n\t\"github.com/muesli/regommend\"\n\t\"fmt\"\n)\n\nfunc main() {\n\t// Accessing a new regommend table for the first time will create it.\n\tbooks := regommend.Table(\"books\")\n\n\tbooksChrisRead := make(map[interface{}]float64)\n\tbooksChrisRead[\"1984\"] = 5.0\n\tbooksChrisRead[\"Robinson Crusoe\"] = 4.0\n\tbooksChrisRead[\"Moby-Dick\"] = 3.0\n\tbooks.Add(\"Chris\", booksChrisRead)\n\n\tbooksJayRead := make(map[interface{}]float64)\n\tbooksJayRead[\"1984\"] = 5.0\n\tbooksJayRead[\"Robinson Crusoe\"] = 4.0\n\tbooksJayRead[\"Gulliver's Travels\"] = 4.5\n\tbooks.Add(\"Jay\", booksJayRead)\n\n\trecs, _ := books.Recommend(\"Chris\")\n\tfor _, rec := range recs {\n\t\tfmt.Println(\"Recommending\", rec.Key, \"with score\", rec.Distance)\n\t}\n\n\tneighbors, _ := books.Neighbors(\"Chris\")\n\t...\n}\n```\n\nTo run this example, go to example/ and run:\n\n    go run example.go\n\n## Development\n\n[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](https://godoc.org/github.com/muesli/regommend)\n","funding_links":[],"categories":["Machine Learning","机器学习","Recommendation Engines","\u003cspan id=\"机器学习-machine-learning\"\u003e机器学习 Machine Learning\u003c/span\u003e","Relational Databases"],"sub_categories":["Advanced Console UIs","检索及分析资料库","SQL 查询语句构建库","Search and Analytic Databases","Vector Database","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","交流"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuesli%2Fregommend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuesli%2Fregommend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuesli%2Fregommend/lists"}