categorical

Methods

Method Reference: categorical.uint16

categorical: out = uint16 (C)

Convert categorical array to a uint16 array.

out = uint16 (C) returns a uint16 array indexing the categories in C. Categorical elements of undefined category are returned as 0.

Source Code: categorical