MATLAB Function Reference
  Go to function:
    Search    Help Desk 
smoothknn     See Also

classifies the query using smoothknn

Syntax

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).

See Also

simpleknn, fuzzyknn

[ Help Desk ]