com.rapidminer.operator.learner.functions.kernel.rvm
Class Model

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

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

The lerned model.

Author:
Piotr Kasprzak, Ingo Mierswa
See Also:
Serialized Form

Constructor Summary
Model(double[] weights, KernelBasisFunction[] kernels, boolean bias, boolean regression)
          Constructors
 
Method Summary
 double[] apply(double[][] inputVectors)
           
 double applyToVector(double[] vector)
          Model application.
 double calculate(double[] att)
           
 int getNumberOfRelevanceVectors()
           
 double getWeight(int index)
           
 double norm_l2(double[] vector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Model

public Model(double[] weights,
             KernelBasisFunction[] kernels,
             boolean bias,
             boolean regression)
Constructors

Method Detail

getNumberOfRelevanceVectors

public int getNumberOfRelevanceVectors()

getWeight

public double getWeight(int index)

applyToVector

public double applyToVector(double[] vector)
Model application. Returns the function value, not a crisp prediction.


apply

public double[] apply(double[][] inputVectors)

norm_l2

public double norm_l2(double[] vector)

calculate

public double calculate(double[] att)


Copyright © 2001-2009 by Rapid-I