Transform a collection of weighted categorical features to columns of weight sums, with at most
N values.
Weights of the same labels in a row are summed instead of 1.0 as is the case with the normal
NHotEncoder.
Missing values are either transformed to zero vectors or encoded as a missing value.
When using aggregated feature summary from a previous session, unseen labels are either
transformed to zero vectors or encoded as unknown (if encodeMissingValue is true) and
[FeatureRejection.Unseen]] rejections are reported.
Transform a collection of weighted categorical features to columns of weight sums, with at most N values.
Weights of the same labels in a row are summed instead of 1.0 as is the case with the normal NHotEncoder.
Missing values are either transformed to zero vectors or encoded as a missing value.
When using aggregated feature summary from a previous session, unseen labels are either transformed to zero vectors or encoded as
unknown
(ifencodeMissingValue
is true) and [FeatureRejection.Unseen]] rejections are reported.