rcognita.models.ModelQuadLin

class rcognita.models.ModelQuadLin(dim_input, weight_min=1e-06, weight_max=100.0, force_positive_def=True)

Quadratic-linear model.

__init__(dim_input, weight_min=1e-06, weight_max=100.0, force_positive_def=True)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(dim_input[, weight_min, …])

Initialize self.

cache_weights([weights])

forward(*args, **kwargs)

restore_weights()

Assign the weights of the cached model to the active model.

update_and_cache_weights(weights)

update_weights(weights)

Attributes

model_name