Arron的博客

导航

easy.py使用中ValueError: could not convert string to float: svm_options错误问题解决

在使用easy.py中出现如下图所示问题

解决方法:

1、找到cmd = '{0} -svmtrain "{1}" -gnuplot "{2}" "{3}"'.format(grid_py, svmtrain_exe, gnuplot_exe, scaled_file)

2、将其改为cmd = 'python {0} -svmtrain "{1}" -gnuplot "{2}" "{3}"'.format(grid_py, svmtrain_exe, gnuplot_exe, scaled_file)

最后结果如下图:

posted on 2015-08-13 15:57  aaron_shu  阅读(5253)  评论(0编辑  收藏  举报