使用libsvm数据分类

上传者: tron_future | 上传时间: 2019-12-21 18:55:19 | 文件大小: 1.27MB | 文件类型: zip
python3 编写的使用libsvm包进行数据分类训练以及预测等,包含了一份训练数据、测试数据以及数据格式转换的代码

文件下载

资源详情

[{"title":"( 98 个子文件 1.27MB ) 使用libsvm数据分类","children":[{"title":"machineLearning","children":[{"title":"dataset","children":[{"title":"test.data <span style='color:#111;'> 209.66KB </span>","children":null,"spread":false},{"title":"train.data <span style='color:#111;'> 838.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"dataProcess.py <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"main.py <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"dataProcess.cpython-36.pyc <span style='color:#111;'> 875B </span>","children":null,"spread":false},{"title":"svm.cpython-36.pyc <span style='color:#111;'> 9.88KB </span>","children":null,"spread":false},{"title":"svmutil.cpython-36.pyc <span style='color:#111;'> 8.03KB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":"workspace.xml <span style='color:#111;'> 20.77KB </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":null,"spread":false},{"title":"machineLearning.iml <span style='color:#111;'> 458B </span>","children":null,"spread":false}],"spread":true},{"title":"libsvm-3.22","children":[{"title":"COPYRIGHT <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"svm-scale.c <span style='color:#111;'> 8.34KB </span>","children":null,"spread":false},{"title":"windows","children":[{"title":"libsvm.dll <span style='color:#111;'> 253.00KB </span>","children":null,"spread":false},{"title":"svmtrain.mexw64 <span style='color:#111;'> 67.00KB </span>","children":null,"spread":false},{"title":"svmpredict.mexw64 <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"svm-train.exe <span style='color:#111;'> 242.50KB </span>","children":null,"spread":false},{"title":"svm-toy.exe <span style='color:#111;'> 221.50KB </span>","children":null,"spread":false},{"title":"libsvmread.mexw64 <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"libsvmwrite.mexw64 <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false},{"title":"svm-scale.exe <span style='color:#111;'> 162.00KB </span>","children":null,"spread":false},{"title":"svm-predict.exe <span style='color:#111;'> 208.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"FAQ.html <span style='color:#111;'> 81.14KB </span>","children":null,"spread":false},{"title":"java","children":[{"title":"libsvm.jar <span style='color:#111;'> 53.89KB </span>","children":null,"spread":false},{"title":"svm_train.java <span style='color:#111;'> 8.16KB </span>","children":null,"spread":false},{"title":"svm_scale.java <span style='color:#111;'> 8.73KB </span>","children":null,"spread":false},{"title":"svm_predict.java <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"svm_toy.java <span style='color:#111;'> 11.98KB </span>","children":null,"spread":false},{"title":"test_applet.html <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"libsvm","children":[{"title":"svm_parameter.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"svm.java <span style='color:#111;'> 62.74KB </span>","children":null,"spread":false},{"title":"svm_model.java <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"svm.m4 <span style='color:#111;'> 61.95KB </span>","children":null,"spread":false},{"title":"svm_problem.java <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"svm_print_interface.java <span style='color:#111;'> 87B </span>","children":null,"spread":false},{"title":"svm_node.java <span style='color:#111;'> 115B </span>","children":null,"spread":false}],"spread":false},{"title":"Makefile <span style='color:#111;'> 659B </span>","children":null,"spread":false}],"spread":true},{"title":"heart_scale <span style='color:#111;'> 27.02KB </span>","children":null,"spread":false},{"title":"svm.h <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"matlab","children":[{"title":"svm_model_matlab.c <span style='color:#111;'> 8.01KB </span>","children":null,"spread":false},{"title":"libsvmread.c <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"svm_model_matlab.h <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"make.m <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 9.60KB </span>","children":null,"spread":false},{"title":"svmpredict.c <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"svmtrain.c <span style='color:#111;'> 11.54KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"libsvmwrite.c <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"svm-toy","children":[{"title":"windows","children":[{"title":"svm-toy.cpp <span style='color:#111;'> 11.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"qt","children":[{"title":"svm-toy.cpp <span style='color:#111;'> 9.52KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 434B </span>","children":null,"spread":false}],"spread":false},{"title":"gtk","children":[{"title":"callbacks.h <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"svm-toy.glade <span style='color:#111;'> 6.25KB </span>","children":null,"spread":false},{"title":"interface.c <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"interface.h <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"callbacks.cpp <span style='color:#111;'> 10.07KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 573B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"svm-predict.c <span style='color:#111;'> 5.41KB </span>","children":null,"spread":false},{"title":"svm-train.c <span style='color:#111;'> 8.78KB </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 27.97KB </span>","children":null,"spread":false},{"title":"svm.def <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":"tools","children":[{"title":"heart_scale_test <span style='color:#111;'> 27.02KB </span>","children":null,"spread":false},{"title":"heart_scale.model <span style='color:#111;'> 10.90KB </span>","children":null,"spread":false},{"title":"heart_scale_test.predict <span style='color:#111;'> 964B </span>","children":null,"spread":false},{"title":"heart_scale.range <span style='color:#111;'> 117B </span>","children":null,"spread":false},{"title":"new_train.data.png <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"new_train.data <span style='color:#111;'> 1008.33KB </span>","children":null,"spread":false},{"title":"new_train.data.scale.png <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"heart_scale.out <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"new_train.data.range <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"new_test.data <span style='color:#111;'> 252.15KB </span>","children":null,"spread":false},{"title":"new_train.data.scale.out <span style='color:#111;'> 1011B </span>","children":null,"spread":false},{"title":"new_train.data.out <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"heart_scale <span style='color:#111;'> 27.02KB </span>","children":null,"spread":false},{"title":"easy.py <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"checkdata.py <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"heart_scale.png <span style='color:#111;'> 5.35KB </span>","children":null,"spread":false},{"title":"heart_scale.scale <span style='color:#111;'> 27.17KB </span>","children":null,"spread":false},{"title":"grid.py <span style='color:#111;'> 14.95KB </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 6.87KB </span>","children":null,"spread":false},{"title":"heart_scale.scale.out <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"heart_scale_test.scale <span style='color:#111;'> 27.17KB </span>","children":null,"spread":false},{"title":"new_train.data.scale <span style='color:#111;'> 566.44KB </span>","children":null,"spread":false},{"title":"subset.py <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"heart_scale.scale.png <span style='color:#111;'> 5.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"svm.cpp <span style='color:#111;'> 63.60KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 732B </span>","children":null,"spread":false},{"title":"python","children":[{"title":"heart_scale.model <span style='color:#111;'> 12.84KB </span>","children":null,"spread":false},{"title":"svm.py <span style='color:#111;'> 9.38KB </span>","children":null,"spread":false},{"title":"new_train.data <span style='color:#111;'> 1008.33KB </span>","children":null,"spread":false},{"title":"new_test.data <span style='color:#111;'> 252.15KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"svm.cpython-36.pyc <span style='color:#111;'> 9.90KB </span>","children":null,"spread":false},{"title":"svmutil.cpython-36.pyc <span style='color:#111;'> 8.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"svmutil.py <span style='color:#111;'> 8.49KB </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 11.63KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 32B </span>","children":null,"spread":false}],"spread":false},{"title":"Makefile.win <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • SimpleMikasa :
    格式转换可以用,给的例子是二分类,还没有试过能不能多分类
    2020-04-19
  • saltone1101 :
    不知道是不是可以用于文本分类
    2019-02-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明