seldonian.models.objectives.PDIS_estimate

PDIS_estimate(model, theta, episodes, **kwargs)

Calculate per-decision importance sampling (PDIS) estimate using all episodes.

Parameters:
  • model – SeldonianModel instance

  • theta (numpy ndarray) – The parameter weights

  • episodes – List of episodes

Returns:

The PDIS estimate

Return type:

float