Skip to content

Commit f3cdad0

Browse files
Merge branch 'master' into performance
2 parents 5215a46 + e6f211e commit f3cdad0

30 files changed

Lines changed: 3783 additions & 2752 deletions

‎.github/workflows/black.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-python@v2
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-python@v5
1111
- uses: psf/black@stable

‎.github/workflows/python-app.yml‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,14 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Set up Python 3.13
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
22-
<<<<<<< HEAD
23-
python-version: 3.10
24-
- name: Install Poetry
25-
env:
26-
POETRY_VERSION: 2.0.0
27-
=======
2822
python-version: 3.13
2923
- name: Install Poetry
3024
env:
3125
POETRY_VERSION: 2.1.2
32-
>>>>>>> origin
3326
run: |
3427
curl -sSL https://install.python-poetry.org | python - -y &&\
3528
poetry config virtualenvs.create false

‎.github/workflows/pythonpackage.yml‎

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,25 @@ jobs:
99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
<<<<<<< HEAD
13-
python-version: ["3.10", "3.11", "3.12"]
14-
=======
15-
python-version: ["3.10", "3.11", "3.12", "3.13"]
16-
>>>>>>> origin
12+
python-version: ["3.11", "3.12", "3.13"]
1713

1814
steps:
19-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
2016
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5
2218
with:
2319
python-version: ${{ matrix.python-version }}
2420
- name: Install Poetry
2521
env:
26-
<<<<<<< HEAD
27-
POETRY_VERSION: 2.0.0
28-
=======
2922
POETRY_VERSION: 2.1.2
30-
>>>>>>> origin
3123
run: |
32-
curl -sSL https://install.python-poetry.org | python - -y &&\
33-
poetry config virtualenvs.create false
24+
curl -sSL https://install.python-poetry.org | python - -y
3425
- name: Install dependencies
3526
run: |
3627
poetry install
3728
- name: Format with black
3829
run: |
39-
black .
30+
poetry run black .
4031
- name: Test with pytest
4132
run: |
42-
pytest
33+
poetry run pytest

‎.pytest_cache/CACHEDIR.TAG‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎.pytest_cache/README.md‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎.pytest_cache/v/cache/lastfailed‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎.pytest_cache/v/cache/nodeids‎

Lines changed: 0 additions & 23 deletions
This file was deleted.

‎.pytest_cache/v/cache/stepwise‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Changelog
2+
3+
All notable changes to BindsNET are documented here. The format is based on
4+
[Keep a Changelog](https://keepachangelog.com/). For releases prior to the entries below,
5+
see the [GitHub releases / tags](https://github.com/BindsNET/bindsnet/releases).
6+
7+
## [Unreleased]
8+
9+
### Added
10+
- Reproducibility/transparency docs: `DATA.md` (dataset & stimulus declaration),
11+
`REPRODUCING.md` (model→script→command→seed map), and a
12+
`docs/source/models_spec.rst` neural-model specification page.
13+
- `CITATION.cff` with the paper citation and the Zenodo software DOI.
14+
- `CHANGELOG.md`.
15+
- `examples/breakout/README.md` documenting the `trained_shallow_ANN.pt` provenance.
16+
17+
### Changed
18+
- README Python requirement aligned to `>=3.11,<3.14`; added a reproducible-install note.
19+
- `pyproject.toml` version bumped to 0.3.4 to match the released tag.
20+
21+
## [0.3.4] - 2026-06-15
22+
23+
Archived on Zenodo — concept DOI [10.5281/zenodo.20695115](https://doi.org/10.5281/zenodo.20695115),
24+
version DOI [10.5281/zenodo.20695116](https://doi.org/10.5281/zenodo.20695116).
25+
26+
### Added
27+
- Sparse-tensor support for additional learning rules (plus a batch dimension and docs
28+
for `sparse=True`).
29+
- Validation tests for the reward-modulated learning rules `MSTDP` and `MSTDPET`.
30+
- Regression test for a preallocated `Monitor` short-run bug (PR #761).
31+
- Read the Docs configuration for documentation builds.
32+
33+
### Changed
34+
- `assign_labels` / evaluation: handle abstention for inactive samples, mark
35+
never-firing neurons with `-1`, and accuracy/performance improvements.
36+
- CI: dropped Python 3.10 (project requires `>=3.11`); upgraded GitHub Actions; test on
37+
Python 3.11/3.12/3.13.
38+
- Routine dependency updates via Poetry.
39+
40+
### Fixed
41+
- `bernoulli_loader` now honors the `max_prob` kwarg (PR #743).
42+
- Bug with preallocated buffers and `torch.cat`.
43+
- `torch.save` compatibility for PyTorch 2.6.0.
44+
- Python 3.13 support / tests.
45+
- `eth_mnist` example.
46+
47+
## [0.3.3] - 2024-10-18
48+
49+
Baseline for this changelog. See the
50+
[releases page](https://github.com/BindsNET/bindsnet/releases) for the history of
51+
0.1.x–0.3.3.

‎CITATION.cff‎

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
cff-version: 1.2.0
2+
message: "If you use BindsNET, please cite the article below."
3+
title: "BindsNET: A Machine Learning-Oriented Spiking Neural Networks Library in Python"
4+
type: software
5+
version: 0.3.4
6+
license: AGPL-3.0-only
7+
doi: 10.5281/zenodo.20695115
8+
repository-code: "https://github.com/BindsNET/bindsnet"
9+
url: "https://bindsnet-docs.readthedocs.io/"
10+
keywords:
11+
- spiking
12+
- neural
13+
- networks
14+
- pytorch
15+
authors:
16+
- family-names: Hazan
17+
given-names: Hananel
18+
- family-names: Saunders
19+
given-names: Daniel J.
20+
- family-names: Khan
21+
given-names: Hassaan
22+
- family-names: Patel
23+
given-names: Devdhar
24+
- family-names: Sanghavi
25+
given-names: Darpan T.
26+
- family-names: Siegelmann
27+
given-names: Hava T.
28+
- family-names: Kozma
29+
given-names: Robert
30+
identifiers:
31+
- type: doi
32+
value: 10.5281/zenodo.20695115
33+
description: Concept DOI (resolves to the latest archived release)
34+
- type: doi
35+
value: 10.5281/zenodo.20695116
36+
description: Archived software release v0.3.4
37+
preferred-citation:
38+
type: article
39+
title: "BindsNET: A Machine Learning-Oriented Spiking Neural Networks Library in Python"
40+
doi: 10.3389/fninf.2018.00089
41+
url: "https://www.frontiersin.org/article/10.3389/fninf.2018.00089"
42+
journal: "Frontiers in Neuroinformatics"
43+
volume: 12
44+
year: 2018
45+
authors:
46+
- family-names: Hazan
47+
given-names: Hananel
48+
- family-names: Saunders
49+
given-names: Daniel J.
50+
- family-names: Khan
51+
given-names: Hassaan
52+
- family-names: Patel
53+
given-names: Devdhar
54+
- family-names: Sanghavi
55+
given-names: Darpan T.
56+
- family-names: Siegelmann
57+
given-names: Hava T.
58+
- family-names: Kozma
59+
given-names: Robert

0 commit comments

Comments
 (0)