API Reference

Label Maker

LabelMaker Automatically makes labels for prediction problems.

Label Times

LabelTimes The data frame that contains labels and cutoff times for the target entity.

Transform Methods

LabelTimes.apply_lead Shifts the label times earlier for predicting in advance.
LabelTimes.bin Bin labels into discrete intervals.
LabelTimes.sample Return a random sample of labels.
LabelTimes.threshold Creates binary labels by testing if labels are above threshold.

Label Plots

LabelPlots Creates plots for Label Times.

Plotting Methods

LabelPlots.count_by_time Plots the label distribution across cutoff times.
LabelPlots.distribution Plots the label distribution.