WeightedSumFitter.check_start_vals#
- WeightedSumFitter.check_start_vals(start)#
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