In order to effectively utilize the network teaching resources, a teaching resource classification method based on the improved KNN (K-Nearest Neighbor) algorithm was proposed. Taking the text class primary and secondary school teaching resources as the research object, combined with the domain characteristics, the KNN algorithm was improved. By measuring the sample space density, the text of the high-density area was found. Different clipping methods were proposed for both intra-class and inter-class regions. The problem of cropping in the space of multiple class boundaries was considered. Results showed that the method ensured uniform distribution of samples and reduced the time of classification. Therefore, under the Weka platform, the improved KNN algorithm is effective.
更多
查看译文
关键词
Text classification,KNN,primary and secondary school teaching resources,sample cutting