composeml.LabelTimes

class composeml.LabelTimes(data=None, target_entity=None, name=None, label_type=None, settings=None, *args, **kwargs)[source]

A data frame containing labels made by a label maker.

settings

Methods

__init__ Initialize self.
apply_lead Shifts the label times earlier for predicting in advance.
bin Bin labels into discrete intervals.
copy Makes a copy of this object.
describe Prints out label info with transform settings that reproduce labels.
equals Determines if two label time objects are the same.
infer_type Infer label type.
sample Return a random sample of labels.
threshold Creates binary labels by testing if labels are above threshold.
to_csv Write label times in csv format to disk.
to_parquet Write label times in parquet format to disk.
to_pickle Write label times in pickle format to disk.