{"id":15493510,"url":"https://github.com/sinclairzx81/neuron-function-approximation","last_synced_at":"2026-06-13T00:32:49.848Z","repository":{"id":66034995,"uuid":"104553658","full_name":"sinclairzx81/neuron-function-approximation","owner":"sinclairzx81","description":"An experiment using neural networks to approximate pure functions","archived":false,"fork":false,"pushed_at":"2017-09-23T10:03:00.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T11:12:36.086Z","etag":null,"topics":["experiments","machine-learning","neural-networks"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinclairzx81.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-23T08:38:47.000Z","updated_at":"2022-09-16T00:28:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd94ad17-9086-4dfd-ac95-19a6555d3b2a","html_url":"https://github.com/sinclairzx81/neuron-function-approximation","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"0c09457ead3b1454d8f9dfe29ce23e1e9cfbbada"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sinclairzx81/neuron-function-approximation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Fneuron-function-approximation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Fneuron-function-approximation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Fneuron-function-approximation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Fneuron-function-approximation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinclairzx81","download_url":"https://codeload.github.com/sinclairzx81/neuron-function-approximation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Fneuron-function-approximation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34268187,"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-06-12T02:00:06.859Z","response_time":109,"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":["experiments","machine-learning","neural-networks"],"created_at":"2024-10-02T08:07:35.969Z","updated_at":"2026-06-13T00:32:49.824Z","avatar_url":"https://github.com/sinclairzx81.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neuron: function approximation\n\nAn experiment using neural networks to approximate pure functions [demo](https://sinclairzx81.github.io/neuron-function-approximation/)\n\n### overview\n\nThis project is a experiment to approximate pure functions using neural networks. The project\nprovides a small interactive scripting interface allowing end users to script single parameter \nfunctions ```x' = f(x)``` and a secondary scripting interface for tweaking the network \nparameters. The function ```f(x)``` output is clamped between a -1 and 1 range with the network\nactivation set to ```tanh``` end to end.\n\nThe goal of this project is to test how well neuron can approximate the given function ```f(x)``` by\nobserving its input and output where input ```x``` is also between a -1 to 1 range.\n\n###  building the project\n\nclone this repository and run the following. This will start a small http server on port 5000.\n\n```\nnpm install\nnpm start\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinclairzx81%2Fneuron-function-approximation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinclairzx81%2Fneuron-function-approximation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinclairzx81%2Fneuron-function-approximation/lists"}