jensandClaude Sonnet 4.6 eb1f96f4ec [StackRnn] - add recurrent RBM stack with character-level LM notebook
Implements StackRnn: a cascaded/recurrent RBM where the visible layer at
each time step is the concatenation of the previous hidden state (context)
and the current sensory input — V[t] = [context | x_t].  Weights are
shared across time steps (RTRBM-style concatenation variant).

- stack_rnn.py: StackRnn with step(), reconstruct(), reset(), train(),
  make_layer() factory; supports greedy layer-wise training over sequences
  of shape (num_seq, T, sensory_size)
- test_rnn.py: single-layer, two-layer, and save/load tests
- moby_rnn.ipynb: character-level language model on Moby Dick; one-hot
  encoding, clamped-Gibbs next-char prediction, free text generation,
  hidden-state trace and character-distribution visualisations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 11:27:07 +02:00
2025-12-19 11:11:00 +01:00
2026-01-11 11:23:35 +01:00
2026-01-10 21:44:03 +01:00
2025-12-19 15:20:04 +01:00
2026-01-11 11:23:35 +01:00
2026-01-10 19:58:39 +01:00
2025-12-18 07:56:45 +01:00
2026-01-06 18:00:26 +01:00
2025-12-16 21:46:00 +01:00
S
Description
Restricted Boltzmann Machine (RBM) for python
Readme
65 MiB
Languages
Jupyter Notebook 96.9%
Python 3.1%