{"id":13413380,"url":"https://github.com/Xamber/Varis","last_synced_at":"2025-03-14T19:32:05.210Z","repository":{"id":54639615,"uuid":"106391348","full_name":"Xamber/Varis","owner":"Xamber","description":"Golang Neural Network ","archived":false,"fork":false,"pushed_at":"2018-08-02T13:47:14.000Z","size":221,"stargazers_count":55,"open_issues_count":0,"forks_count":9,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-07-31T20:52:16.566Z","etag":null,"topics":["golang","machine-learning","neural-network","perceptron"],"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/Xamber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-10T08:43:27.000Z","updated_at":"2024-06-05T02:16:13.000Z","dependencies_parsed_at":"2022-08-13T22:30:56.214Z","dependency_job_id":null,"html_url":"https://github.com/Xamber/Varis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xamber%2FVaris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xamber%2FVaris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xamber%2FVaris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xamber%2FVaris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xamber","download_url":"https://codeload.github.com/Xamber/Varis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221498742,"owners_count":16833055,"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","machine-learning","neural-network","perceptron"],"created_at":"2024-07-30T20:01:39.002Z","updated_at":"2024-10-26T05:30:48.190Z","avatar_url":"https://github.com/Xamber.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/1732107/33759520-a9eb5208-dc13-11e7-9ba2-9c9f97e45ac4.jpg\" height=\"200\" alt=\"Gopher from internet =)\" title=\"Gopher from internet =\" /\u003e\n\u003c/p\u003e\n\n# Varis\nNeural Networks with GO\n\n[![Build Status](https://travis-ci.org/Xamber/Varis.svg?branch=master)](https://travis-ci.org/Xamber/Varis)\n[![Go Report Card](https://goreportcard.com/badge/github.com/Xamber/Varis)](https://goreportcard.com/report/github.com/Xamber/Varis)\n[![API Reference](https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667)](https://godoc.org/github.com/Xamber/Varis)\n[![codecov](https://codecov.io/gh/Xamber/Varis/branch/master/graph/badge.svg)](https://codecov.io/gh/Xamber/Varis)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/xamber/Varis/blob/master/LICENSE.md)\n[![Release](https://img.shields.io/github/tag/xamber/varis.svg?label=latest)](https://github.com/Xamber/Varis/releases/tag/release-0.1)\n\n## About Package\nSome time ago I decided to learn Go language and neural networks.\nSo it's my variation of Neural Networks library. I tried to make library for programmers (not for mathematics).\n\nFor now Varis is 0.1 version.\n\nI would be happy if someone can find errors and give advices.\nThank you. Artem.\n\n## Main features\n- All neurons and synapses are goroutines.\n- Golang channels for connecting neurons.\n- No dependencies\n\n## Installation\n    go get github.com/Xamber/Varis\n\n## Usage\n```go\npackage main\n\nimport (\n\t\"github.com/Xamber/Varis\"\n)\n\nfunc main() {\n\tnet := varis.CreatePerceptron(2, 3, 1)\n\n\tdataset := varis.Dataset{\n\t\t{varis.Vector{0.0, 0.0}, varis.Vector{1.0}},\n\t\t{varis.Vector{1.0, 0.0}, varis.Vector{0.0}},\n\t\t{varis.Vector{0.0, 1.0}, varis.Vector{0.0}},\n\t\t{varis.Vector{1.0, 1.0}, varis.Vector{1.0}},\n\t}\n\n\ttrainer := varis.PerceptronTrainer{\n\t\tNetwork: \u0026net,\n\t\tDataset: dataset,\n\t}\n\n\ttrainer.BackPropagation(10000)\n\tvaris.PrintCalculation = true\n\n\tnet.Calculate(varis.Vector{0.0, 0.0}) // Output: [0.9816677167418877]\n\tnet.Calculate(varis.Vector{1.0, 0.0}) // Output: [0.02076530509106318]\n\tnet.Calculate(varis.Vector{0.0, 1.0}) // Output: [0.018253250887023762]\n\tnet.Calculate(varis.Vector{1.0, 1.0}) // Output: [0.9847884089930481]\n}\n\n```\n## Roadmap 0.2-0.5\n- Add locks\n- Add training channels\n- Improve speed\n- Add error return to functions.\n- Create more tests and benchmarks.\n- Create server and cli realization for use Varis as a application\n\n## Alternatives\n[gonn](https://github.com/fxsjy/gonn) | [go-mind](https://github.com/stevenmiller888/go-mind) | [go-perceptron-go](https://github.com/made2591/go-perceptron-go)\n","funding_links":[],"categories":["Machine Learning","机器学习","Relational Databases"],"sub_categories":["Search and Analytic Databases","检索及分析资料库","Advanced Console UIs","交流","SQL 查询语句构建库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXamber%2FVaris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FXamber%2FVaris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXamber%2FVaris/lists"}