pt.tumba.ngram.svm
Class SVMProblem

java.lang.Object
  extended by pt.tumba.ngram.svm.SVMProblem

public class SVMProblem
extends java.lang.Object

Class to model an SVM Problem, containing both the training vectors and the class (value) associated with each vector.

Author:
Bruno Martins

Field Summary
 int l
          The number the training vectors.
 SVMNode[][] x
          The training vectors.
 double[] y
          The value associated with each training each vector.
 
Constructor Summary
SVMProblem()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

l

public int l
The number the training vectors.


y

public double[] y
The value associated with each training each vector.


x

public SVMNode[][] x
The training vectors.

Constructor Detail

SVMProblem

public SVMProblem()