com.rapidminer.operator.learner.functions.kernel.jmysvm.examples
Class SVMExample

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

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

An Example for the kernel based algorithms provided by Stefan Rueping. Since RapidMiner cannot deliver the example with index i directly, a new data structure is needed.

Author:
Stefan Rueping, Ingo Mierswa
See Also:
Serialized Form

Field Summary
 double[] att
           
 int[] index
           
 
Constructor Summary
SVMExample()
           
SVMExample(double[] values)
           
SVMExample(int[] new_index, double[] new_att)
           
SVMExample(SVMExample e)
           
 
Method Summary
 double[] toDense(int dim)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public int[] index

att

public double[] att
Constructor Detail

SVMExample

public SVMExample()

SVMExample

public SVMExample(double[] values)

SVMExample

public SVMExample(SVMExample e)

SVMExample

public SVMExample(int[] new_index,
                  double[] new_att)
Method Detail

toDense

public double[] toDense(int dim)


Copyright © 2001-2009 by Rapid-I