ytm.guided.config.TMConfig#
- class ytm.guided.config.TMConfig#
Bases:
BaseTMConfigSettings for the guided TM models. Also takes every parameter of
BaseTMConfig.See also
ytm.guided.backends.act_lossAvailable activation and loss pairs.
- lambda_: float = 1.0#
Feedback rate. A clause gets feedback with probability
1 - exp(-lambda_ * |grad|).fitcan override it per call.
- weight_init: Literal['random'] | float | str = 'random'#
Initial clause weight magnitude.
"random": uniform in[0, 1)."random:N": uniform in[0, N),Na positive float.A number >= 0 sets every weight to that magnitude.