Checks a task to see if it contains factors or ordered factors, then checks a
learner to see if it is unable to handle factors. If both are true, returns
the learner wrapped with makeDummyFeaturesWrapper
which
perfors one-hot encoding, i.e. creates a separate column for each factor
level with a 1 indicating that observation contained the factor level in
question, and a zero indicating otherwise.
1 |
wl |
( |
task |
( |
... |
Additional arguments to pass to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.