Skip to main content

decentriq_platform.ab_media.audience_statistics_definition

Classes

LalAudienceStatistics

LalAudienceStatistics(
auc: float,
fpr: List[float],
tpr: List[float],
)

Class representing the statistics of a given lookalike audience.

Initialise an instance of the LalAudienceStatistics

Parameters:

  • auc: The area under the ROC curve.
  • fpr: The list of false postive rates (in order of decreasing discrimination threshold).
  • tpr: The list of true positive rates (in order of decreasing discrimination threshold).

Static methods

from_dict

def from_dict(
d: Dict[str, Any],
)> typing_extensions.Self

as_dict

def as_dict(
self,
)> Dict[str, Any]