Description Usage Arguments Value Author(s) Examples
View source: R/bootstrap_resampling.R
Bootsrap Resampling for knn Classifier algorithm
1 2 | bootstrap_resampling(data, target, times = 10, algorithm = "knn",
metric = "Accuracy", ...)
|
data |
Dataframe that will be used |
target |
Integer with the column number of the target variable |
times |
Number of times to create resamples |
algorithm |
Only "knn" available |
metric |
Metric that will be evaluated. Possible values: "Accuracy", "Sensitivity" or "Specificity" |
Returns the mean values for the metric selected
Alberto Almui?a
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.