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
NumberFormatException
public static String vectorToString(SparseVector v)
public static SVMClassifierModel readModelFile(String fileName) throws IOException
IOException
public static void writeModelFile(SVMClassifierModel model, String fileName) throws IOException
IOException