org.biojava.stats.svm.tools
Class SVM_Light
java.lang.Object
org.biojava.stats.svm.tools.SVM_Light
public class SVM_Light
- extends java.lang.Object
- Author:
- Thomas Down, Greg Cox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVM_Light
public SVM_Light()
parseExample
public static SVM_Light.LabelledVector parseExample(java.lang.String ex)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
vectorToString
public static java.lang.String vectorToString(SparseVector v)
readModelFile
public static SVMClassifierModel readModelFile(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
writeModelFile
public static void writeModelFile(SVMClassifierModel model,
java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
firstToken
public static java.lang.String firstToken(java.lang.String s)