de.bwaldvogel.liblinear
Class Train

java.lang.Object
  extended by de.bwaldvogel.liblinear.Train

public class Train
extends Object


Constructor Summary
Train()
           
 
Method Summary
static void main(String[] args)
           
static Problem readProblem(File file, double bias)
          reads a problem from LibSVM format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Train

public Train()
Method Detail

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.