com.spotify.featran.transformers
Transform numerical features to binary features.
Feature values greater than threshold are binarized to 1.0; values equal to or less than threshold are binarized to 0.0.
threshold
Missing values are binarized to 0.0.
Create a new Binarizer instance.
threshold to binarize continuous features
Transform numerical features to binary features.
Feature values greater than
threshold
are binarized to 1.0; values equal to or less thanthreshold
are binarized to 0.0.Missing values are binarized to 0.0.