EnricherSelector class

Definition

Defines the base class of all enricher selectors.

Inheritance
builtins.object
EnricherSelector

Remarks

Use the granularity property to set the granularity of an enricher.


   EnricherSelector.granularity = DayGranularity()

Methods

process(customer_data: azureml.opendatasets.accessories.time_data.TimeData, public_data: azureml.opendatasets.accessories.time_data.TimeData, aggregator: azureml.opendatasets.aggregators.aggregator.Aggregator, join_keys: typing.List[typing.Tuple[str, str]] = None, debug: bool = False)

Process the enricher selector.

process(customer_data: azureml.opendatasets.accessories.time_data.TimeData, public_data: azureml.opendatasets.accessories.time_data.TimeData, aggregator: azureml.opendatasets.aggregators.aggregator.Aggregator, join_keys: typing.List[typing.Tuple[str, str]] = None, debug: bool = False)

Process the enricher selector.

process(customer_data: azureml.opendatasets.accessories.time_data.TimeData, public_data: azureml.opendatasets.accessories.time_data.TimeData, aggregator: azureml.opendatasets.aggregators.aggregator.Aggregator, join_keys: typing.List[typing.Tuple[str, str]] = None, debug: bool = False)

Parameters

customer_data
TimeData

An instance of a TimeData dervived class.

public_data
TimeData

An instance of a TimeData derived class.

aggregator
Aggregator

An aggregator.

join_keys
list

A list of join key pairs.

debug
bool

Indicates whether to print debug logs.

Returns

A tuple of altered customer data class instance, altered public data class instance, and a list of join key pairs.

Return type

Attributes

granularity

Get granularity.