seldonian.models.objectives.IS_estimate¶
- IS_estimate(model, theta, episodes, **kwargs)¶
Calculate the vanilla importance sampling estimate using all episodes.
- Parameters:
model – SeldonianModel instance
theta (numpy ndarray) – The parameter weights
episodes – List of episodes
- Returns:
The IS estimate
- Return type:
float