com.rapidminer.operator.learner.functions.kernel
Class SupportVector

java.lang.Object
  extended by com.rapidminer.operator.learner.functions.kernel.SupportVector
All Implemented Interfaces:
java.io.Serializable

public class SupportVector
extends java.lang.Object
implements java.io.Serializable

Holds all information of a support vector, i.e. the attribute values, the label, and the alpha.

Author:
Ingo Mierswa
See Also:
Serialized Form

Constructor Summary
SupportVector(double[] x, double y, double alpha)
          Creates a new support vector.
 
Method Summary
 double getAlpha()
           
 double[] getX()
           
 double getY()
           
 void setAlpha(double alpha)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SupportVector

public SupportVector(double[] x,
                     double y,
                     double alpha)
Creates a new support vector.

Method Detail

getX

public double[] getX()

getY

public double getY()

setAlpha

public void setAlpha(double alpha)

getAlpha

public double getAlpha()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 by Rapid-I