{"id":27761194,"url":"https://github.com/tsoding/nnaskell","last_synced_at":"2025-08-30T17:12:59.361Z","repository":{"id":91698286,"uuid":"109043939","full_name":"tsoding/nnaskell","owner":"tsoding","description":"Neural Network in Haskell","archived":false,"fork":false,"pushed_at":"2019-08-03T15:00:59.000Z","size":22,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-29T12:55:28.551Z","etag":null,"topics":["functional-programming","hacktoberfest","hacktoberfest2020","haskell","machine-learning","neural-network"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","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/tsoding.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-31T19:36:40.000Z","updated_at":"2024-06-03T21:25:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d776544-0dd6-46ed-95a5-1560e19881c6","html_url":"https://github.com/tsoding/nnaskell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsoding/nnaskell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fnnaskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fnnaskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fnnaskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fnnaskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsoding","download_url":"https://codeload.github.com/tsoding/nnaskell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fnnaskell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272878320,"owners_count":25008336,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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":["functional-programming","hacktoberfest","hacktoberfest2020","haskell","machine-learning","neural-network"],"created_at":"2025-04-29T12:40:11.018Z","updated_at":"2025-08-30T17:12:59.355Z","avatar_url":"https://github.com/tsoding.png","language":"Haskell","funding_links":["https://www.patreon.com/tsoding"],"categories":[],"sub_categories":[],"readme":"[![Tsoding](https://img.shields.io/badge/twitch.tv-tsoding-purple?logo=twitch\u0026style=for-the-badge)](https://www.twitch.tv/tsoding)\n[![Build Status](https://travis-ci.org/tsoding/nnaskell.svg?branch=master)](https://travis-ci.org/tsoding/nnaskell)\n\n# Nnaskell\n\nNeural Network in Haskell\n\n## Quick Start\n\n```console\n$ nix-shell         # only for NixOS\n$ stack build\n$ stack ghci\n\u003e nn \u003c- randomNN [2, 2, 1]\n\u003e xorTD\n[([0.0,0.0],[0.0]),\n ([1.0,0.0],[1.0]),\n ([0.0,1.0],[1.0]),\n ([1.0,1.0],[0.0])]\n\u003e let trainedNN = head $ drop 1000 $ optimizeCost (cost xorTD) nn\n\u003e activateNN trainedNN $ vector [0.0, 0.0]\n[4.045689665702377e-3]\n\u003e activateNN trainedNN $ vector [1.0, 0.0]\n[0.9970477904605844]\n\u003e\n```\n\n## Support\n\nYou can support my work via\n\n- Twitch channel: https://www.twitch.tv/subs/tsoding\n- Patreon: https://www.patreon.com/tsoding\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsoding%2Fnnaskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsoding%2Fnnaskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsoding%2Fnnaskell/lists"}