LabelMaker.__init__(target_entity, time_index, labeling_function, window_size=None, label_type=None)[source]

Creates an instance of label maker.

  • target_entity (str) – Entity on which to make labels.
  • time_index (str) – Name of time column in the data frame.
  • labeling_function (function) – Function that transforms a data slice to a label.
  • window_size (str or int) – Duration of each data slice. The default value for window size is all future data.