ExperimentRecommendations#
- class pymc_marketing.mmm.experiment_design.recommendation.ExperimentRecommendations(recommendations)[source]#
Ordered collection of experiment recommendations.
Behaves like an immutable list of
ExperimentRecommendationobjects (supports iteration, indexing, slicing, andlen). In Jupyter notebooks the collection renders automatically as an HTML table via_repr_html_.- Parameters:
- recommendations
list[ExperimentRecommendation] Pre-sorted list of recommendations (highest score first).
- recommendations
Methods
ExperimentRecommendations.index(value, ...)Raises ValueError if the value is not present.
Convert to a
pandas.DataFrame.