baikal.Model.set_params

Model.set_params(**params)

Set the parameters of the model.

Parameters

params

Dictionary mapping parameter names to their values. Valid parameter of the form <step-name>__<parameter-name>). Entire steps can be replaced with <step-name> keys.

When replacing a step, the new step will adopt the input/output/targets connectivity of the replaced step, including its name, trainable flag and compute function. Note that if the compute function is a method the new step must implement it too.

Valid parameter keys can be listed with get_params().

Returns

self