{"id":13992059,"url":"https://github.com/iandanforth/nupic-js","last_synced_at":"2025-04-30T11:52:12.000Z","repository":{"id":66661270,"uuid":"17293893","full_name":"iandanforth/nupic-js","owner":"iandanforth","description":"A port of NuPIC to JavaScript","archived":false,"fork":false,"pushed_at":"2016-06-17T15:28:35.000Z","size":16079,"stargazers_count":27,"open_issues_count":9,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-10T14:08:43.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iandanforth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-02-28T17:26:40.000Z","updated_at":"2020-04-30T10:05:14.000Z","dependencies_parsed_at":"2023-03-11T00:12:40.217Z","dependency_job_id":null,"html_url":"https://github.com/iandanforth/nupic-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iandanforth%2Fnupic-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iandanforth%2Fnupic-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iandanforth%2Fnupic-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iandanforth%2Fnupic-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iandanforth","download_url":"https://codeload.github.com/iandanforth/nupic-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227124155,"owners_count":17734269,"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":[],"created_at":"2024-08-09T14:01:46.160Z","updated_at":"2024-11-29T12:31:10.682Z","avatar_url":"https://github.com/iandanforth.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"nupic-js\n========\n[![Build Status](https://travis-ci.org/iandanforth/nupic-js.png?branch=master)](https://travis-ci.org/iandanforth/nupic-js)\n\nA port of NuPIC to JavaScript\n\nUsage:\n\n\tgit clone git@github.com:iandanforth/nupic-js.git\n\tcd nupic-js\n\tnode webserver.js\n\t[In Chrome]\n\thttp://localhost:8000/examples/index.html\n\nThings to play with:\n\nLocal vs Global Topologies\n\nThe example (examples/index.html) defaults to using small receptive fields for each column. Modify the instantiation of the spatial pooler so that the receptive fields cover the whole input.\n\nLocal vs Global Inhibition\n\nThe default is local inhibition, turn on global inhibition and increase the numActiveColumnsPerInhArea to something like 5.\n\nAlternate input image\n\nFind another 128x128 image and use it instead of examples/images/Image2.png. The example uses the red channel of the image only.\n\nDevelopment Notes:\n\n  - The temporal pooler is not implemented.\n  - The code is in no way optimized. It is intended primarily for explanitory visualizations which only require small networks.\n  - The code is not well tested and where tested only in Chrome.\n  - The spatial pooler is a direct port but has modifications\n  -- Where modifications were made a note about the divergence was added to the source.\n  - 2D Topology is supported, which is not true in either the cpp or py versions.\n\nMajor Divergences from CPP/PY\n\n  - New constructor parameters expose previously internal variables and control points\n  - 2D Topology is supported\n  - Boosting is now a purely local column property\n  - Bump up weak columns is not used, it doesn't make sense biologically.\n  - The percentage of connected synapses on init is definite rather than an average\n  - When you only have a few columns we spread them to evenly cover the input\n  -- Note: There can still be gaps in coverage if your radius is too small.\n  - Overlap scores support scalar inputs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiandanforth%2Fnupic-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiandanforth%2Fnupic-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiandanforth%2Fnupic-js/lists"}