DisTools Contents

DisTools User Guide

pe_knnc

PE_KNNC

K-Nearest Neighbor Classifier for PE spaces

    [W,K,E] = PE_KNNC(A,K)
    [W,K,E] = PE_KNNC(A)

Input
 A PE dataset
 K Number of the nearest neighbors (optional; default: K is  optimized with respect to the leave-one-out error on A)

Output
 W k-NN classifier
 K Number of the nearest neighbors used
 E The leave-one-out error of the KNNC

Description

Computation of the K-nearest neighbor classifier for the PE dataset A.

Warning: class prior probabilities in A are neglected.

See also

mappings, datasets, knnc, pe_em,

DisTools Contents

DisTools User Guide

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