PRTools Contents

PRTools User Guide

knnr

KNNR

Trainable Nearest Neighbor Regression

     Y = KNNR(X,K)
     Y = X*KNNR([],K)
     Y = X*KNNR(K)

Input
 X Regression dataset, used for training
 K number of neighbors (default K=3)

Output
 Y k-nearest neighbor regression

Description

Define a k-Nearest neighbor regression on dataset X.

See also

linearr, testr, plotr,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.