Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open source NengoSPA #295

Merged
merged 3 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
required: false
default: false

defaults:
run:
shell: bash -el {0}

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -25,9 +29,9 @@ jobs:
- script: static
- script: docs
- script: test
numpy-version: numpy==1.16.0
numpy-version: numpy==1.21.0
scipy-version: scipy==1.4.1
python-version: "3.7"
python-version: "3.8"
- script: test
python-version: "3.9"
- script: test-coverage
Expand All @@ -38,11 +42,15 @@ jobs:
env:
NUMPY: ${{ matrix.numpy-version || 'numpy' }}
SCIPY: ${{ matrix.scipy-version || 'scipy' }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.PUBLIC_GH_TOKEN }}
steps:
- uses: nengo/nengo-bones/actions/setup@main
with:
python-version: ${{ matrix.python-version || '3.8' }}
- name: Install pandoc
if: ${{ matrix.script == 'docs' }}
run: |
micromamba install pandoc
- uses: nengo/nengo-bones/actions/generate-and-check@main
- uses: nengo/nengo-bones/actions/run-script@main
with:
Expand Down
8 changes: 4 additions & 4 deletions .nengobones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repo_name: nengo/nengo-spa
description: An implementation of the Semantic Pointer Architecture for Nengo

copyright_start: 2013
license: abr-free
license: gpl-v2
main_branch: main

contributing_rst: {}
Expand Down Expand Up @@ -154,7 +154,7 @@ pyproject_toml: {}
pre_commit_config_yaml: {}

version_py:
major: 1
minor: 3
patch: 1
major: 2
minor: 0
patch: 0
release: false
2 changes: 1 addition & 1 deletion .templates/LICENSE.rst.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NengoSPA imports several open source libraries:
* `NumPy <http://www.numpy.org/>`_ - Used under
`BSD license <http://www.numpy.org/doc/stable/license.html>`__
* `Sphinx <https://www.sphinx-doc.org/>`_ - Used under
`BSD license <https://github.com/sphinx-doc/sphinx/blob/master/LICENSE>`__
`BSD license <https://github.com/sphinx-doc/sphinx/blob/master/LICENSE.rst>`__
* `nbsphinx <https://github.com/spatialaudio/nbsphinx>`_ - Used under
`MIT license <https://github.com/spatialaudio/nbsphinx/blob/master/LICENSE>`__
* `matplotlib <https://matplotlib.org/>`_ - Used under
Expand Down
3 changes: 0 additions & 3 deletions CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@ NengoSPA contributors
See https://github.com/nengo/nengo-spa/graphs/contributors
for a list of the people who have committed to NengoSPA.
Thank you for your contributions!

For the full list of the many contributors to the Nengo ecosystem,
see https://www.nengo.ai/people/.
318 changes: 297 additions & 21 deletions LICENSE.rst

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Feature highlights
structures. Different binding operations/algebras can be mixed in a single
model.
- Seamless integration with non-SPA Nengo models.
- Binding powers and fractional bindings.


Project status
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
var _paq = window._paq = window._paq || [];
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.appliedbrainresearch.com"]);
_paq.push(["setDomains", ["*.appliedbrainresearch.com","*.edge.nengo.ai","*.forum.nengo.ai","*.labs.nengo.ai","*.nengo.ai"]]);
_paq.push(["setDomains", ["*.appliedbrainresearch.com","*.edge.nengo.ai","*.forum.nengo.ai","*.nengo.ai"]]);
_paq.push(["enableCrossDomainLinking"]);
_paq.push(["setDoNotTrack", true]);
_paq.push(['trackPageView']);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/custom-module.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
" self,\n",
" vocab=nengo.params.Default,\n",
" neurons_per_dimension=nengo.params.Default,\n",
" **kwargs\n",
" **kwargs,\n",
" ):\n",
" super(GatedMemory, self).__init__(**kwargs)\n",
"\n",
Expand Down
4 changes: 0 additions & 4 deletions docs/modules/nengo_spa.algebras.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Base classes

.. automodule:: nengo_spa.algebras.base
:members:
:show-inheritance:
:undoc-members:

.. autosummary::
Expand All @@ -40,7 +39,6 @@ Holographic reduced representations (HRR)

.. automodule:: nengo_spa.algebras.hrr_algebra
:members:
:show-inheritance:
:undoc-members:

.. autosummary::
Expand All @@ -55,7 +53,6 @@ Vector-derived transformation binding (VTB)

.. automodule:: nengo_spa.algebras.vtb_algebra
:members:
:show-inheritance:
:undoc-members:

.. autosummary::
Expand All @@ -70,7 +67,6 @@ Transposed vector-derived transformation binding (TVTB)

.. automodule:: nengo_spa.algebras.tvtb_algebra
:members:
:show-inheritance:
:undoc-members:

.. autosummary::
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/nengo_spa.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ nengo\_spa

.. function:: nengo_spa.ifmax([name,] condition, actions)

Defines a potential aciton within an `ActionSelection` context.
Defines a potential action within an `ActionSelection` context.

:param name: Name for the action. Can be omitted.
:type name: str
Expand Down
26 changes: 0 additions & 26 deletions docs/pyplots/power_similarity.py

This file was deleted.

1 change: 0 additions & 1 deletion docs/user-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ User Guide
examples/intro-coming-from-legacy-spa.ipynb
examples/custom-module.ipynb
user-guide/algebras
user-guide/fractional-binding
212 changes: 0 additions & 212 deletions docs/user-guide/fractional-binding.rst

This file was deleted.

Loading
Loading