se.lth.cs.nlp.nlputils.ml.glue
Class LibSVMInterface
java.lang.Object
se.lth.cs.nlp.nlputils.ml.glue.LibSVMInterface
public class LibSVMInterface
- extends Object
- Author:
- Richard Johansson (richard@cs.lth.se)
Method Summary |
static void |
encodeFile(NumericEncoding enc,
String inFile,
String outFile)
|
static ProbabilityClassifier |
loadClassifier(JarFile jarfile,
String modelName,
String encodingName,
boolean useNative)
|
static ProbabilityClassifier |
loadClassifier(String file,
NumericEncoding enc)
|
static ProbabilityClassifier |
loadClassifier(String file,
NumericEncoding enc,
boolean useNative)
|
static Classifier |
loadExpanded(JarFile jarfile,
String modelName,
String encodingName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LibSVMInterface
public LibSVMInterface()
loadClassifier
public static ProbabilityClassifier loadClassifier(String file,
NumericEncoding enc,
boolean useNative)
throws IOException
- Throws:
IOException
loadClassifier
public static ProbabilityClassifier loadClassifier(String file,
NumericEncoding enc)
throws IOException
- Throws:
IOException
loadClassifier
public static ProbabilityClassifier loadClassifier(JarFile jarfile,
String modelName,
String encodingName,
boolean useNative)
encodeFile
public static void encodeFile(NumericEncoding enc,
String inFile,
String outFile)
loadExpanded
public static Classifier loadExpanded(JarFile jarfile,
String modelName,
String encodingName)