org.biojava.stats.svm.tools
public class SVM_Light extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SVM_Light.LabelledVector |
| Constructor and Description |
|---|
SVM_Light() |
| Modifier and Type | Method and Description |
|---|---|
static String |
firstToken(String s) |
static SVM_Light.LabelledVector |
parseExample(String ex) |
static SVMClassifierModel |
readModelFile(String fileName) |
static String |
vectorToString(SparseVector v) |
static void |
writeModelFile(SVMClassifierModel model,
String fileName) |
public static SVM_Light.LabelledVector parseExample(String ex) throws NumberFormatException
NumberFormatExceptionpublic static String vectorToString(SparseVector v)
public static SVMClassifierModel readModelFile(String fileName) throws IOException
IOExceptionpublic static void writeModelFile(SVMClassifierModel model, String fileName) throws IOException
IOException