<script type="text/javascript"> document.body.oncopy = function() { if (window.clipboardData) { setTimeout(function() { var text = clipboardData.getData("text"); if (text && text.length>300) { text = text + "/r/n/n本文来自优快云博客,转载请标明出处:" + location.href; clipboardData.setData("text", text); } }, 100); } } </script> <script type="text/javascript">function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script>
语法: svm-predict [ 参数表 ] 测试文件 模型文件 输出文件
参数:
-b 概率期望:是否启用概率期望,值为 0 或 1 (默认值 0 ); one-class SVM 只支持 0 。
参数中的模型文件是使用 svm-train 生成的模型文件。
测试文件是你想测试的数据文件。
svm-predict 会把结果输出到输出文件。