{"id":16352253,"url":"https://github.com/bugthesystem/neurolog","last_synced_at":"2025-07-05T05:05:58.603Z","repository":{"id":57527841,"uuid":"69791408","full_name":"bugthesystem/neurolog","owner":"bugthesystem","description":"Go inteface to access `neural-redis`","archived":false,"fork":false,"pushed_at":"2017-06-01T12:22:11.000Z","size":830,"stargazers_count":12,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-27T15:16:48.784Z","etag":null,"topics":["golang","neural-network","redis"],"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/bugthesystem.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":"2016-10-02T10:29:20.000Z","updated_at":"2024-07-04T22:37:51.000Z","dependencies_parsed_at":"2022-08-31T07:01:15.961Z","dependency_job_id":null,"html_url":"https://github.com/bugthesystem/neurolog","commit_stats":null,"previous_names":["bugthesystem/neurolog","ziyasal/neurolog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bugthesystem/neurolog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fneurolog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fneurolog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fneurolog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fneurolog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugthesystem","download_url":"https://codeload.github.com/bugthesystem/neurolog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugthesystem%2Fneurolog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263687149,"owners_count":23496088,"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":["golang","neural-network","redis"],"created_at":"2024-10-11T01:25:28.023Z","updated_at":"2025-07-05T05:05:58.582Z","avatar_url":"https://github.com/bugthesystem.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Neurolog\n================\n\u003e A Go-lang interface to access [`neural-redis`](https://github.com/antirez/neural-redis)\n\nDocumetation on [GoDoc](https://godoc.org/github.com/ziyasal/neurolog/neurolog)\n\n**Build Docker image**  \nIt contains `redis-server` and `neural-redis` pre-configured\n\n```sh\ndocker built -t neurolog .\n```\n\n**To run container**\n```sh\ndocker run -d --name neural-redis -p 6379:6379 neurolog\n```\n\n**To connect using `redis-cli`**\n```sh\ndocker run -it --link neural-redis:neurolog --rm reurolog redis-cli -h neurolog -p 6379\n```\n\n**Usage (Preview)**\n\n```go\npackage main\n\nimport (\n        \"fmt\"\n        \"time\"\n\t\"github.com/ziyasal/neurolog/neurolog\"\n)\n\n\nfunc main() {\n\n\toptions := neurolog.Options{\n\t\tName:            \"additions\",\n\t\tType:            \"regressor\",\n\t\tInputs:          []string{\"number1\", \"number2\"},\n\t\tOutputs:         []string{\"result\"},\n\t\tHiddenLayers:    []int{3},\n\t\tDatasetSize:     50,\n\t\tTestDatasetSize: 10,\n\t\tRedisHost:       \"localhost:6379\",\n\t}\n\n\tnetwork := neurolog.New(options)\n\n    network.ObserveTrain(map[string]int64{\"number1\":3, \"number2\":5}, map[string]int64{\"result\":8})\n    \n    network.Train(0,0,true,true)\n    \n    for network.IsTraining() {\n        fmt.Println(\"Training\")\n        time.Sleep(1)\n    }\n    \n    fmt.Println(network.Run(map[string]int64{\"number1\":1, \"number2\":2}))\n}\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugthesystem%2Fneurolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugthesystem%2Fneurolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugthesystem%2Fneurolog/lists"}