登录 注册
当前位置:主页 > 资源下载 > 10 > KNN算法在Android平台上的文档分类器代码

KNN算法在Android平台上的文档分类器代码

  • 更新:2024-12-11 19:24:50
  • 大小:2.78MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:其它 - 开发技术
  • 格式:ZIP

资源介绍

doc_classifier_knn Pure Java Implementation of K-Nearest Neighbor Text Categorization BBC Dataset is used for test(filenames are refactored to [categoryname]-[number] ). Dataset is under "data" folder. http://mlg.ucd.ie/datasets/bbc.html Run: java -jar doc_classifier_knn.jar -Dir=data -categories=business,entertainment,politics,sport,tech -trainingSize=150 -k=3 Written for experimental purpose. It could be optimized and expanded. Concurrent implementation of this algorithm -> https://github.com/