com.spotify.featran.transformers
Transform a collection of categorical features to binary columns, with at most N one-values.
Missing values are transformed to [0.0, 0.0, ...].
When using aggregated feature summary from a previous session, unseen labels are ignored and FeatureRejection.Unseen rejections are reported.
Create a new NHotEncoder instance.
Transform a collection of categorical features to binary columns, with at most N one-values.
Missing values are transformed to [0.0, 0.0, ...].
When using aggregated feature summary from a previous session, unseen labels are ignored and FeatureRejection.Unseen rejections are reported.