K-Nearest Neighbor Classifier for PE spaces
[W,K,E] = PE_KNNC(A,K)
[W,K,E] = PE_KNNC(A)
| A|| PE dataset|
| K|| Number of the nearest neighbors (optional; default: K is optimized with respect to the leave-one-out error on A) |
| W|| k-NN classifier|
| K|| Number of the nearest neighbors used|
| E|| The leave-one-out error of the KNNC |
Computation of the K-nearest neighbor classifier for the PE dataset A.
Warning: class prior probabilities in A are neglected.
mappings, datasets, knnc, pe_em,
|This file has been automatically generated. If badly readable, use the help-command in Matlab.|