com.rapidminer.operator.learner.functions.kernel.rvm
Class Model
java.lang.Object
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Model
public Model(double[] weights,
KernelBasisFunction[] kernels,
boolean bias,
boolean regression)
- Constructors
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