Files
Rbm/source
jensandClaude Sonnet 5 0149cdf7ce Rename weightDecay to l2Lambda
Rbm::Params::weightDecay is now applied directly to the weights outside
the momentum recursion (previous commit), exactly like the newly-added
l1Lambda and matching pyRBM's l2_lambda -- same lambda*W gradient form,
same decoupled-from-momentum treatment. The two are functionally the
same mechanism in this codebase, so name it accordingly. Renamed the
Params field, its JSON key, and the two GUI references in
MainComponent.cpp that read/write it (the "weightDecayLabel" widget
identifier and its JUCE-generated marker comment are left as-is --
cosmetic, not part of the actual API).

Existing .prj files still have a "weightDecay" JSON key; fromJson()
no longer reads it, so it's silently ignored on load. Harmless today
since every current project has it set to 0.0 (confirmed: unchanged
poet.elf output, unchanged test-suite results). Not migrating the .prj
files themselves in this change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016K8Gu7Qejd11JbdiHZqYAs
2026-07-27 15:41:01 +02:00
..
2024-01-22 12:26:03 +01:00
2024-01-22 12:26:03 +01:00
2024-01-22 13:55:51 +01:00
2024-01-22 12:26:03 +01:00
2024-01-22 12:26:03 +01:00
2024-01-22 13:55:51 +01:00
2026-07-27 15:41:01 +02:00
2026-07-27 15:41:01 +02:00
2024-01-22 13:55:51 +01:00
2024-01-22 13:55:51 +01:00
2026-07-26 21:49:32 +02:00
2022-01-18 20:14:56 +00:00
2022-01-17 18:40:50 +00:00