composeml.LabelTimes¶
-
class
composeml.LabelTimes(data=None, target_entity=None, target_types=None, target_columns=None, search_settings=None, transforms=None, *args, **kwargs)[source]¶ The data frame that contains labels and cutoff times for the target entity.
Methods
__init__Initialize self. apply_leadShifts the label times earlier for predicting in advance. binBin labels into discrete intervals. copyMake a copy of this object’s indices and data. describePrints out the settings used to make the label times. equalsDetermines if two label time objects are the same. sampleReturn a random sample of labels. selectSelects one of the target variables. thresholdCreates binary labels by testing if labels are above threshold. to_csvWrite label times in csv format to disk. to_parquetWrite label times in parquet format to disk. to_pickleWrite label times in pickle format to disk.