de.bwaldvogel.liblinear
Class Train
java.lang.Object
de.bwaldvogel.liblinear.Train
public class Train
- extends Object
|
Constructor Summary |
Train()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Train
public Train()
main
public static void main(String[] args)
throws IOException,
InvalidInputDataException
- Throws:
IOException
InvalidInputDataException
readProblem
public static Problem readProblem(File file,
double bias)
throws IOException,
InvalidInputDataException
- reads a problem from LibSVM format
- Parameters:
file - the SVM file
- Throws:
IOException - obviously in case of any I/O exception ;)
InvalidInputDataException - if the input file is not correctly formatted
Copyright © 2011. All Rights Reserved.