extract_params.knnreg {aurelius}R Documentation

extract_params.knnreg

Description

Extract K-nearest neighbor model parameters from a knnreg object created by the caret library

Usage

## S3 method for class 'knnreg'
extract_params(object, ...)

Arguments

object

an object of class "knnreg"

...

further arguments passed to or from other methods

Value

PFA as a list-of-lists that can be inserted into a cell or pool

Examples

model <- caret::knnreg(mpg ~ cyl + hp + am + gear + carb, data = mtcars)
extracted_params <- extract_params(model)

[Package aurelius version 0.8.4 Index]