pymc.model.core.Model.check_start_vals#
- Model.check_start_vals(start)[source]#
Check that the starting values for MCMC do not cause the relevant log probability to evaluate to something invalid (e.g. Inf or NaN)
- Parameters:
- Returns:
- Raises:
KeyError
if
the
parameters
provided
by
startdo
not
agree
with
the
parameters
contained
within
the
model.pymc.exceptions.SamplingError
if
the
evaluation
ofthe
parameters
in
start
leads
to
an
invalid
(i.e. non-finite)state