MATLAB Function Reference | Search  Help Desk |
smoothknn | See Also |
classifies the query using smoothknn
Syntax
[out,confid]=smoothknn(data,query)
[out,confid]=smoothknn(data,query,kernels)
[out,confid]=smoothknn(data,query,kernels,ratio)
Description
[out,confid]=smoothknn(data,query)
classifies the point whose the features are
equal to query
inside classes out
with
a confidence confid
. The classification is done by means
of a kNN with fixed metric using the dataset data
.
[out,confid]=smoothknn(data,query,kernels)
The classification is performed using an adaptive
metric based on kernels.
[out,confid]=smoothknn(data,query,kernels,ratio)
Ratio increases the smoothness of the algorithm by
extending the zone of influence of each point (equivalent to take a wider
neibourghood).
simpleknn, fuzzyknn