pymc.model.core.Model.check_start_vals#
- Model.check_start_vals(start, **kwargs)[source]#
Check that the logp is defined and finite at the starting point.
- Parameters:
- start
dict, orarrayofdict Starting point in parameter space (or partial point) Defaults to
trace.point(-1))if there is a trace provided andmodel.initial_pointif not (defaults to empty dict). Initialization methods for NUTS (seeinitkeyword) can overwrite the default.- Other keyword arguments
Any other keyword argument is sent to
point_logps().
- start
- Returns:
- Raises:
KeyErroriftheparametersprovidedbystartdonotagreewiththeparameterscontainedwithinthemodel.pymc.exceptions.SamplingErroriftheevaluationoftheparametersinstartleadstoaninvalid(i.e. non-finite)state