{"id":15971289,"url":"https://github.com/danielholmes/neural-net","last_synced_at":"2025-08-13T05:04:43.559Z","repository":{"id":145825573,"uuid":"119810193","full_name":"danielholmes/neural-net","owner":"danielholmes","description":"Simple Neural Net implementation in Haskell","archived":false,"fork":false,"pushed_at":"2018-03-04T00:35:40.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T15:52:51.493Z","etag":null,"topics":["haskell","machine-learning","neural-net","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielholmes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-01T09:02:29.000Z","updated_at":"2020-01-20T09:23:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"6bc91864-b597-4e55-a1a0-072b657ba938","html_url":"https://github.com/danielholmes/neural-net","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielholmes/neural-net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielholmes%2Fneural-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielholmes%2Fneural-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielholmes%2Fneural-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielholmes%2Fneural-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielholmes","download_url":"https://codeload.github.com/danielholmes/neural-net/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielholmes%2Fneural-net/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183606,"owners_count":24541341,"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-13T02:00:09.904Z","response_time":66,"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":["haskell","machine-learning","neural-net","neural-network"],"created_at":"2024-10-07T20:20:45.697Z","updated_at":"2025-08-13T05:04:43.493Z","avatar_url":"https://github.com/danielholmes.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neural Net\n\n[![Build Status](https://travis-ci.org/danielholmes/neural-net.svg?branch=master)](https://travis-ci.org/danielholmes/neural-net)\n\nA simple binary classification Neural Net implementation\n\n\n## Dependencies\n\n - [Stack](https://www.haskellstack.org/)\n\n\n## Setup\n```bash\nstack init\n```\n\n\n## Build\n```bash\nstack build --pedantic\n```\n\nContinuous:\n\n```bash\nstack build --pedantic --file-watch\n```\n\nOnly one executable:\n\n```bash\nstack build neural-net:exe:image-eg --pedantic --file-watch\n```\n\n\n## Running Tests\n```bash\nstack test --pedantic\n```\n\nWith watching of files for changes\n```bash\nstack test --file-watch --pedantic\n```\n\nWith error stack traces\n```bash\nstack test --pedantic --file-watch --profile\n```\n\nWith more tracing\n```bash\nstack test --pedantic --file-watch --trace .\n```\n\n\n## Running\n\n```bash\nstack exec neural-net-exe -- --help\n```\n\nSimple Logistic Regression example:\n\n```bash\nstack exec logreg -- -c -l 0.005 -i 1000 examples/simple-csv/train.csv examples/simple-csv/test.csv\n```\n\nBinary image classification Log Reg example (requires copying in some files to `/examples`):\n\n```bash\nstack exec image-logreg -- -l 0.005 -i 1000 \\\n    examples/images/nn-course-train/1 \\\n    examples/images/nn-course-train/0 \\\n    examples/images/nn-course-test/1 \\\n    examples/images/nn-course-test/0\n```\n\nBinary image classification Deep NN example (requires copying in some files to `/examples`):\n\n```bash\nstack exec image-deep -- -l 0.0075 -i 2500 \\\n    examples/images/nn-course-train/1 \\\n    examples/images/nn-course-train/0 \\\n    examples/images/nn-course-test/1 \\\n    examples/images/nn-course-test/0\n```\n\n\n## Running with Time Profiling\n\n```bash\nstack build neural-net:exe:image-deep --pedantic --profile\nstack exec image-deep -- -l 0.0075 -i 2500 \\\n    examples/images/nn-course-train/1 \\\n    examples/images/nn-course-train/0 \\\n    examples/images/nn-course-test/1 \\\n    examples/images/nn-course-test/0 \\\n    +RTS -p\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielholmes%2Fneural-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielholmes%2Fneural-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielholmes%2Fneural-net/lists"}