|
QDpy
|
An immutable genome with five Hebbian coefficients per neuron. More...
Public Member Functions | |
| start (self, *, seed=0, plastic=True) | |
| Seed a new independent set of synapses. | |
An immutable genome with five Hebbian coefficients per neuron.
Each layer has ordered rows of (A, B, C, D, eta). A policy describes a dense bias-free tanh network and update rule. Its weights are initialized separately for every rollout. :param layer_sizes: Input, hidden and output widths. :param genome: Flat layer-major coefficient vector in [-1, 1]. :param initial_scale: Uniform half-width for synapse initialization. :param weight_limit: Symmetric per-synapse clip after the update. :param learning_scale: Global multiplier for the local update.
Definition at line 34 of file hebbian_qd.py.
| qdpy.algorithms.hebbian_qd.HebbianPolicy.start | ( | self, | |
| * | , | ||
| seed = 0, | |||
| plastic = True ) |
Seed a new independent set of synapses.
| seed | Seed for initial weights. |
| plastic | Whether forward passes update synapses. |
Create a fresh rollout session. Use plastic=False for a frozen control.
Definition at line 66 of file hebbian_qd.py.