OneHotEncoder.Transformer A transformer that encodes a category as an array of integers. Declarationstruct Transformer TopicsCreating a transformerinit(categories:)Getting the categoriescategoriescategory(at:)Performing the transformationapplied(_:eventHandler:)applied(to:eventHandler:)Default ImplementationsDecodable ImplementationsEncodable Implementations RelationshipsConforms ToCopyableCustomDebugStringConvertibleDecodableEncodableEscapableSendableSendableMetatypeTransformer