| task.add.random.cols | R Documentation |
Adds num new features sampled from dist to task.
New features are inserted at random positions in the task
and named RANDOM.1...RANDOM.[num]
The returned Task has a $orig.features which
is a logical vector indicating the features that were originally
in the Task.
If the $orig.features slot is already present in
the input task, then the output will have added FALSE entries at
appropriate positions.
task.add.random.cols(task, num, dist = rnorm)
task |
|
num |
|
dist |
|
Task
Other Artificial Datasets:
clonetask(),
create.hypersphere.data(),
create.linear.data(),
create.linear.toy.data(),
create.regr.task(),
task.add.permuted.cols()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.