{"id":19973297,"url":"https://github.com/jsmith/gnn","last_synced_at":"2026-05-29T03:31:27.814Z","repository":{"id":65819136,"uuid":"114060840","full_name":"jsmith/gnn","owner":"jsmith","description":"Golang neural network framework","archived":false,"fork":false,"pushed_at":"2018-09-25T20:55:12.000Z","size":60,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-05-12T18:38:49.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jsmith.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":"2017-12-13T02:00:46.000Z","updated_at":"2023-02-09T22:42:44.000Z","dependencies_parsed_at":"2023-02-12T05:02:49.698Z","dependency_job_id":null,"html_url":"https://github.com/jsmith/gnn","commit_stats":null,"previous_names":["jacsmith21/gnn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsmith/gnn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmith%2Fgnn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmith%2Fgnn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmith%2Fgnn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmith%2Fgnn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsmith","download_url":"https://codeload.github.com/jsmith/gnn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmith%2Fgnn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33635961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-13T03:10:58.827Z","updated_at":"2026-05-29T03:31:27.798Z","avatar_url":"https://github.com/jsmith.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/jsmith/gnn.png?branch=master)](https://travis-ci.org/jsmith/gnn)\n# GNN\nGolang Neural Network (GNN) framework! GNN was built for educational purposes to learn about neural networks \u0026 goland! Currently this framework is able to implement simple fully connected networks.\n\n# Example\n```go\nnet := Net{\n  NewFC(2, 4),\n  \u0026ReLU{},\n  InitFC(4, 1),\n  \u0026Sigmoid{},\n}\n\ntrainer = Trainer{\n  Net:          net,\n  Cost:         SE{}, // Standard Error Loss\n  LearningRate: 0.1,\n  Epochs:       10000,\n  BatchSize:    4,\n}\n\nxor = data.Init(\n  mat.InitRows(\n    vec.Init(0, 0, 1, 1),\n    vec.Init(0, 1, 1, 0),\n  ),\n  mat.InitRows(\n    vec.Init(0, 1, 1, 0),\n  ),\n)\n\n\ntrainer.Train(xor)\npredictions := trainer.Predict(xor.Data())\n```\n\nSee `trainer_test.go:TestTrainer` for a worker example.\n\n\n*[anynet](https://github.com/unixpickle/anynet) used as reference*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsmith%2Fgnn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsmith%2Fgnn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsmith%2Fgnn/lists"}