Description Usage Arguments Value
Detects the categorical variables and treats it based on the fit file generated by train data using One-Hot Encoding.
1 | encode_onehot_fit(df, colname, fit)
|
df |
Any dataset with atleast one categorical field |
colname |
A string representing the name of the categorical field in the given dataset |
fit |
A list returned from "BestCatEncode" that is used to fit the test data. |
Returns the encoded data vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.