composeml.LabelTimes.threshold¶
-
LabelTimes.
threshold
(value, inplace=False)[source]¶ Creates binary labels by testing if labels are above threshold.
Parameters: - value (float) – Value of threshold.
- inplace (bool) – Modify labels in place.
Returns: Instance of labels.
Return type: labels (LabelTimes)