Description Usage Arguments Value
Apply one-hot encoding
1 2 | feature_one_hot_encode_predict(data, one_hot_parameters, use_pca, pca,
stat_transformer, generated_columns)
|
data |
A new dataframe |
one_hot_parameters |
The |
use_pca |
Whether PCA transformation is required. |
pca |
The PCA result from |
stat_transformer |
Stat transformer function from |
generated_columns |
Names of generated columns |
The test dataframe with the required columns one-hot encoded. Only required if stat_transformer is used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.