Package org.biojava.stats.svm.tools
Class SVM_Light
java.lang.Object
org.biojava.stats.svm.tools.SVM_Light
- Author:
- Thomas Down, Greg Cox
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
firstToken
(String s) static SVM_Light.LabelledVector
parseExample
(String ex) static SVMClassifierModel
readModelFile
(String fileName) static String
static void
writeModelFile
(SVMClassifierModel model, String fileName)
-
Constructor Details
-
SVM_Light
public SVM_Light()
-
-
Method Details
-
parseExample
- Throws:
NumberFormatException
-
vectorToString
-
readModelFile
- Throws:
IOException
-
writeModelFile
- Throws:
IOException
-
firstToken
-