Frequency encoding of nominal variables.
Arguments
- barn_obj
A Barn object, created by
barn()
.- nominal_suffix
The suffix applied to column names. Defaults to "_cat".
Frequency encoding of nominal variables.
A Barn object, created by barn()
.
The suffix applied to column names. Defaults to "_cat".