| bord_noise | R Documentation | 
Computation of a noisy label based on majority class among k nearest neighbors with different label.
bord_noise(x, y, num_noise, idx_noise, k)
| x | a data frame of input attributes. | 
| y | a factor vector with the output class of each sample. | 
| num_noise | an integer with the number of noisy samples. | 
| idx_noise | an integer vector with the indices of noisy samples. | 
| k | an integer with the number of nearest neighbors to use. | 
A vector of length length(y) with the class of each sample, including the new noisy 
classes for the samples with indices idx_noise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.