pymc.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
KeyErroriftheparametersprovidedbystartdonotagreewiththeparameterscontainedwithinthemodel.pymc.exceptions.SamplingErroriftheevaluationoftheparametersinstartleadstoaninvalid(i.e. non-finite)state