Description Usage Arguments Value
Probabilistically inject label noise according to proportions
1 | inject_label_noiseR(y, flip_i, flip_j)
|
y |
The binary variable output. |
flip_i |
The proportion of samples of class A to flip to class B - will probabilistically flip ~this proportion of samples, but may not be exact. |
flip_j |
The proportion of samples of class B to flip to class A - will probabilistically flip ~this proportion of samples, but may not be exact. |
A list containing: "yz", the flipped sample labels; "fd", an indicator variable with +1 if the sample was flipped and -1 if the sample label is unflipped.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.