lifecycles.algorithms.event_typicality¶
- event_typicality(event_scores: dict) Tuple[str, float]¶
compute the event’s name and its typicality score. The typicality score is the highest score among all events scores.
- Parameters:
event_scores – a dictionary keyed by event name and valued by the event score
- Returns:
a tuple of the event name and its typicality score