Skip to content

Fixes, bug updates and pip upgrades #763

Merged
Hananel-Hazan merged 30 commits into
masterfrom
hananel
Jun 14, 2026
Merged

Fixes, bug updates and pip upgrades #763
Hananel-Hazan merged 30 commits into
masterfrom
hananel

Conversation

@Hananel-Hazan

Copy link
Copy Markdown
Collaborator

No description provided.

Hananel-Hazan and others added 20 commits April 17, 2026 12:41
…TDPET

This commit introduces a comprehensive test suite for the reward-modulated learning rules MSTDP and MSTDPET, validating their behavior against a reference implementation based on Florian (2007). The tests cover various aspects including eligibility traces, weight updates, batch handling, and the effects of timing options. Key functionalities tested include:

- Exponential decay of the P+ trace
- Matching weight updates between the implemented rules and the Florian reference
- Causality of STDP sign
- Zero lag behavior
- Batch processing equivalence to per-sample updates
- Compatibility with Conv3d connections

The tests ensure that the learning rules function correctly and maintain expected properties across different configurations.
@Hananel-Hazan Hananel-Hazan mentioned this pull request Jun 14, 2026
@Hananel-Hazan

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Addressed in 5070302.

@Hananel-Hazan Hananel-Hazan left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update

Hananel-Hazan and others added 3 commits June 14, 2026 09:46
These were committed by accident; .pytest_cache is already gitignored and
its cache files (lastfailed, nodeids) churn on every test run. .claude holds
local Claude Code settings. Untrack both (kept on disk) and gitignore .claude/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Resolved a bug where silent neurons defaulted to the first class label. Optimized indexing to prevent unnecessary host-to-device transfers and added robust NaN handling for firing rate proportions.
Reverted variable names to original.
Machuka and others added 6 commits June 14, 2026 09:46
Switched from '-1' sentinel value for silent neurons to randomly assigned labels. Also added noise for random tie-breaking in neuron assignments.
@Hananel-Hazan Hananel-Hazan merged commit e120b08 into master Jun 14, 2026
10 checks passed
Hananel-Hazan added a commit that referenced this pull request Jun 14, 2026
Merge pull request #763 from BindsNET/hananel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants