Description Usage Arguments Value Author(s)
View source: R/tune_classifiers.R
draw a series of plots highlighting the impact of the number of neighbours (k) on the performances (miclassification error rate) of KNN
1 | plotKNNtuning(tuningResult, pdfFile = NULL, ...)
|
tuningResult |
result of TuneClassifiers() run with option tuneKNN=TRUE, and where a vector of several values was provided for k |
... |
additional parameters are passed to plot() |
pdfFile=NULL |
if not null, the plot is exported in pdf format the specified file. Else it is printed out on the current device. |
no return field
Jacques van Helden
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.