Experiment.
binarize
(threshold=1, inplace=False)[source]¶Binarize the data with a threshold.
It calls scikit-learn to do the real work.
Parameters: | threshold (Numeric) – the cutoff value. Any values below or equal to this will be replaced by 0, above it by 1. |
---|---|
Returns: | |
Return type: | Experiment |