Initializer sign patterns
Sign patterns modify the signs of weights produced by compatible input and reservoir initializers. Passing signs = nothing leaves the generated signs unchanged.
The sampling_type keyword and its sampler-specific forwarded keywords are deprecated. Replace them with a sign-pattern object passed as signs. For example, replace sampling_type = :bernoulli_sample!, positive_prob = 0.25 with signs = RandomSigns(0.25).
minimal_init now also defaults to signs = nothing; use RandomSigns() to retain its former default Bernoulli sign flipping explicitly.
ReservoirComputing.RandomSigns — Type
RandomSigns([positive_probability = 0.5])Independently preserve each weight's sign with probability positive_probability and flip it otherwise.
ReservoirComputing.RegularSigns — Type
RegularSigns([strides = 2])Flip signs at positions determined by one stride or a repeating tuple of strides. An integer stride n flips every nth weight. A tuple advances cumulatively by each stride in a repeating cycle.
ReservoirComputing.IrrationalDigitSigns — Type
IrrationalDigitSigns([irrational = pi]; start = 1)Flip weight signs where the corresponding decimal digit of irrational is odd, starting at decimal position start.