Description Usage Arguments Value Examples
Extract K-nearest neighbor model parameters from a ipredknn object created by the ipred library
1 2 | ## S3 method for class 'ipredknn'
extract_params(object, ...)
|
object |
an object of class "ipredknn" |
... |
further arguments passed to or from other methods |
PFA as a list-of-lists that can be inserted into a cell or pool
1 2 3 4 | iris2 <- iris
colnames(iris2) <- gsub('\\.', '_', colnames(iris2))
model <- ipred::ipredknn(Species ~ ., iris2)
params <- extract_params(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.