fitted.rknn: Extract Model Fitted Values

Description Usage Arguments Value Author(s) Examples

Description

Extract Random KNN fitted values.

Usage

1
2
## S3 method for class 'rknn'
fitted(object, ...)

Arguments

object

A rknnobject.

...

Additional arguments.

Value

A vector of fitted values.

Author(s)

Shengqiao Li<lishengqiao@yahoo.com>

Examples

1
2
3
4
5
6
7
8
## Not run: 
  golub.train<- t(scale(golubTrain));
  golub.test<- t(scale(golubTest)); 
  golub.rnn<- randomKNN(data=golub.train, newdata=golub.test, y=golubTrain.cl,
     r=821, mtry=55);
  fitted(golub.rnn)

## End(Not run)


Search within the rknn package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.