pyphi.substrate_generator.mechanisms.sigmoid#
- pyphi.substrate_generator.mechanisms.sigmoid(element, weights, state, *, floor=0.0, ceiling=1.0, determinism=5.0, threshold=0.0, ising=True, inputs=None, **kwargs)[source]#
Logistic activation of the weighted input.
The probability that the unit is ON at the next step is
σ(determinism · (Σ_i w_i s_i − threshold)), where the inputss_iare the unit’s current input states (mapped to ±1 whenisingis True) andw_itheir weights.determinismis the slopekof the logistic unit in Albantakis et al. (2023, Eq. 60) and Marshall et al. (2023, Eq. 2): larger values make the unit more deterministic.floorandceilingclip the output.