org.biojava.stats.svm.tools
Class SVM_Light
java.lang.Object
org.biojava.stats.svm.tools.SVM_Light
public class SVM_Light
- extends 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(String ex)
throws NumberFormatException
- Throws:
NumberFormatException
vectorToString
public static String vectorToString(SparseVector v)
readModelFile
public static SVMClassifierModel readModelFile(String fileName)
throws IOException
- Throws:
IOException
writeModelFile
public static void writeModelFile(SVMClassifierModel model,
String fileName)
throws IOException
- Throws:
IOException
firstToken
public static String firstToken(String s)