com.rapidminer.operator.learner.functions.kernel
Class KernelModel
java.lang.Object
com.rapidminer.operator.AbstractIOObject
com.rapidminer.operator.ResultObjectAdapter
com.rapidminer.operator.AbstractModel
com.rapidminer.operator.learner.PredictionModel
com.rapidminer.operator.learner.functions.kernel.KernelModel
- All Implemented Interfaces:
- IOObject, Model, ResultObject, Readable, Reportable, LoggingHandler, java.io.Serializable
- Direct Known Subclasses:
- AbstractMySVMModel, EvoSVMModel, GPModel, KernelLogisticRegressionModel, LibSVMModel, RVMModel
public abstract class KernelModel
- extends PredictionModel
This is the abstract model class for all kernel models. This class actually only provide
a common interface for plotting SVM and other kernel method models.
- Author:
- Ingo Mierswa
- See Also:
- Serialized Form
| Methods inherited from class com.rapidminer.operator.ResultObjectAdapter |
addAction, getActions, getAnnotations, getResultIcon, log, log, logError, logNote, logWarning, toHTML, toResultString |
| Methods inherited from class com.rapidminer.operator.AbstractIOObject |
appendOperatorToHistory, copy, getLog, getProcessingHistory, getSource, initWriting, read, read, read, read, setLoggingHandler, setSource, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KernelModel
public KernelModel(ExampleSet exampleSet)
getBias
public abstract double getBias()
getAlpha
public abstract double getAlpha(int index)
getFunctionValue
public abstract double getFunctionValue(int index)
isClassificationModel
public abstract boolean isClassificationModel()
getClassificationLabel
public abstract java.lang.String getClassificationLabel(int index)
getRegressionLabel
public abstract double getRegressionLabel(int index)
getId
public abstract java.lang.String getId(int index)
getSupportVector
public abstract SupportVector getSupportVector(int index)
getNumberOfSupportVectors
public abstract int getNumberOfSupportVectors()
getNumberOfAttributes
public abstract int getNumberOfAttributes()
getAttributeValue
public abstract double getAttributeValue(int exampleIndex,
int attributeIndex)
getAttributeConstructions
public java.lang.String[] getAttributeConstructions()
getName
public java.lang.String getName()
- The default implementation returns the classname without package.
- Specified by:
getName in interface ResultObject- Overrides:
getName in class AbstractModel
toString
public java.lang.String toString()
- Returns a string representation of this model.
- Specified by:
toString in interface Readable- Overrides:
toString in class PredictionModel
createWeightsTable
public DataTable createWeightsTable()
Copyright © 2001-2009 by Rapid-I