com.spotify.featran.transformers.Binarizer$
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.
Missing values are binarized to 0.0.
Attributes
- Source:
- Binarizer.scala
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Self type
Members list
Concise view
Value members
Create a new Binarizer instance.
Create a new Binarizer instance.
Attributes
- threshold
threshold to binarize continuous features
- Source:
- Binarizer.scala
Create a new Binarizer from a settings object
Create a new Binarizer from a settings object
Attributes
- setting
Settings object
- Source:
- Binarizer.scala