liblinear
Class Train

java.lang.Object
  extended by liblinear.Train

public class Train
extends java.lang.Object


Constructor Summary
Train()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static Problem readProblem(java.io.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(java.lang.String[] args)
                 throws java.io.IOException,
                        InvalidInputDataException
Throws:
java.io.IOException
InvalidInputDataException

readProblem

public static Problem readProblem(java.io.File file,
                                  double bias)
                           throws java.io.IOException,
                                  InvalidInputDataException
reads a problem from LibSVM format

Parameters:
filename - the name of the svm file
Throws:
java.io.IOException - obviously in case of any I/O exception ;)
InvalidInputDataException - if the input file is not correctly formatted


Copyright © 2010. All Rights Reserved.