modelhub.Aggregate.top_product_features_before_conversion
top_product_features_before_conversion
(data, name, location_stack=None, event_type='InteractiveEvent')Calculates what users did before converting by combining several models from the model hub.
Parameters
data
(bach.dataframe.DataFrame) –bach.DataFrame
to apply the method on.name
(str) – label of the conversion event.location_stack
(modelhub.series.series_objectiv.SeriesLocationStack) – the location stack- can be any slice of a
modelhub.SeriesLocationStack
type column - if None - the whole location stack is taken.
- can be any slice of a
event_type
(str) – event type. Must be a valid event_type (either parent or child).
Returns
bach DataFrame with results.