public class Train
extends java.lang.Object
Constructor and Description |
---|
Train() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static Problem |
readProblem(java.io.File file,
double bias)
reads a problem from LibSVM format
|
public static void main(java.lang.String[] args) throws java.io.IOException, InvalidInputDataException
java.io.IOException
InvalidInputDataException
public static Problem readProblem(java.io.File file, double bias) throws java.io.IOException, InvalidInputDataException
file
- the SVM filejava.io.IOException
- obviously in case of any I/O exception ;)InvalidInputDataException
- if the input file is not correctly formatted