mosmafs (version 0.1.2)

task.add.permuted.cols: Add Permuted Noise-Features to Task

Description

Adds num copies of the task with permuted rows.

The feature names of the ith permuted copy have PERM.i. prepended to them. The returned task has a new member $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.

Usage

task.add.permuted.cols(task, num)

Value

Task

Arguments

task

[Task] the input task.

num

[integer(1)] Number of noise features to add.

See Also

Other Artificial Datasets: clonetask(), create.hypersphere.data(), create.linear.data(), create.linear.toy.data(), create.regr.task(), task.add.random.cols()