ExperimentRecommendations#

class pymc_marketing.mmm.experiment_design.recommendation.ExperimentRecommendations(recommendations, null_confirmation_candidates=None)[source]#

Ordered collection of experiment recommendations.

Behaves like an immutable list of ExperimentRecommendation objects (supports iteration, indexing, slicing, and len). In Jupyter notebooks the collection renders automatically as an HTML table via _repr_html_.

Parameters:
recommendationslist[ExperimentRecommendation]

Pre-sorted list of recommendations (highest score first).

Methods

ExperimentRecommendations.__init__(...[, ...])

ExperimentRecommendations.count(value)

ExperimentRecommendations.index(value, ...)

Raises ValueError if the value is not present.

ExperimentRecommendations.to_dataframe()

Convert to a pandas.DataFrame.