文本分类器(基于KNN算法),语言最好是Matlab的,有测试数据集。。。_百度...答:function [ccr,pgroupt]=knnt(x,group,K,dist,xt,groupt)AIM: to classify test set objects or unknown objects with the K Nearest Neighbour method PRINCIPLE: KNN is a supervised, deterministic, non-parametric classification method. It uses the majority rule to assign new objects to ...