case classOneHotEncoderModel(size: Int, dropLast: Boolean = true) extends Model with Product with Serializable
Class for a one hot encoder model.
One hot encoders are used to vectorize nominal features
in preparation for models such as linear regression or
logistic regression where binary and not multinomial features
are supported in the feature vector.
size
size of the output one hot vectors
Linear Supertypes
Serializable, Serializable, Product, Equals, Model, AnyRef, Any
Class for a one hot encoder model.
One hot encoders are used to vectorize nominal features in preparation for models such as linear regression or logistic regression where binary and not multinomial features are supported in the feature vector.
size of the output one hot vectors