Description Usage Arguments Value
View source: R/CatEncodePrerequisites.R
Takes in a vector and encodes using One-Hot Encoding
1 | encode_onehot(df, colname)
|
df |
A dataset with atleast one categorical field |
colname |
A string with field name of categorical field |
Returns a list with encoded data and fit file to fit the test data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.