PropensityScore.check_start_vals#

PropensityScore.check_start_vals(start, **kwargs)#

Check that the logp is defined and finite at the starting point.

Parameters:
  • start (dict, or array of dict) – Starting point in parameter space (or partial point) Defaults to trace.point(-1)) if there is a trace provided and model.initial_point if not (defaults to empty dict). Initialization methods for NUTS (see init keyword) can overwrite the default.

  • arguments (Other keyword) – Any other keyword argument is sent to point_logps().

Raises:
  • KeyError` if the parameters provided by start do not agree with th

  • parameters contained within the model.

  • pymc.exceptions.SamplingError` if the evaluation of the parameter

  • in start leads to an invalid (i.e. non-finite) state

Return type:

None