Contents

OneHotEncoder

An estimator that encodes categorical values to an integer array.

Declaration

struct OneHotEncoder<Category> where Category : Comparable, Category : Decodable, Category : Encodable, Category : Hashable

Overview

The encoded array has an element count equal to the number of categories to encode. The encoded array for a given category has repeating zero values except at one index where the value is 1.

Topics

Creating the estimator

Fitting

Default Implementations

See Also

Preprocessors