Description Usage Arguments Value Author(s) Examples
This function computes the noise score for each observation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
... |
optional parameters to be passed to other methods. |
formula |
a formula describing the classification variable and the attributes to be used. |
data, x |
data frame containing the tranining dataset to be filtered. |
knn |
total number of nearest neighbors to be used.The default is 5. |
classColumn |
positive integer indicating the column which contains the (factor of) classes. By default, a dataframe built from 'data' using the variables indicated in 'formula' and The first column is the response variable, thus no need to define the classColumn. |
boxplot_range |
range of box and whisker diagram. The dafault is 1. |
iForest |
compute iForest score or not. The dafault is TRUE. |
threads |
the number of cores to be used in parallel. |
an object of class filter
, which is a list with four components:
cleanData
is a data frame containing the filtered dataset.
remIdx
is a vector of integers indicating the indexes for
removed instances (i.e. their row number with respect to the original data frame).
noise_score
is a vector of values indicating the optential of being a noise.
call
contains the original call to the filter.
Wanwan Zheng
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.