one_hot_decode: One-hot decoding

View source: R/deepDummy.r

one_hot_decodeR Documentation

One-hot decoding

Description

one_hot_decode builds back an already one-hot encoded variable into its original value form.

Usage

one_hot_decode(m)

Arguments

m

An already one-hot encoded variable in form of a matrix as the outcome from one_hot_encode.

Value

A vector with the original levels of a categorical variable.

See Also

one_hot_encode.

Other Dummifying: append_rows(), dummify(), dummify_multilabel(), effectcoding(), one_hot_encode(), remove_columns(), resample_imbalanced(), sparse_encode()


stschn/deepANN documentation built on June 25, 2024, 7:27 a.m.