rcognita.models.ModelQuadNoMix
- class rcognita.models.ModelQuadNoMix(dim_input, single_weight_min=1e-06, single_weight_max=100.0)
Quadratic model (no mixed terms).
- __init__(dim_input, single_weight_min=1e-06, single_weight_max=100.0)
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(dim_input[, single_weight_min, …])Initialize self.
cache_weights
([weights])forward
(*argin[, weights])restore_weights
()Assign the weights of the cached model to the active model.
update_and_cache_weights
(weights)update_weights
(weights)Attributes
model_name