edu.udo.cs.yale.operator.learner.kernel
Class KernelModel
java.lang.Object
edu.udo.cs.yale.operator.AbstractIOObject
edu.udo.cs.yale.operator.ResultObjectAdapter
edu.udo.cs.yale.operator.AbstractModel
edu.udo.cs.yale.operator.IOModel
edu.udo.cs.yale.operator.learner.PredictionModel
edu.udo.cs.yale.operator.learner.kernel.KernelModel
- All Implemented Interfaces:
- IOObject, Model, ResultObject, Saveable
- Direct Known Subclasses:
- AbstractMySVMModel, EvoSVMModel, GPModel, 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.
- Version:
- $Id: KernelModel.java,v 1.4 2006/08/03 14:39:31 ingomierswa Exp $
- Author:
- Ingo Mierswa
Methods inherited from class edu.udo.cs.yale.operator.learner.PredictionModel |
apply, createPredictedLabel, getLabel, performPrediction, readData, readPredictionModelData, removePredictedLabel, setLabel, toString, writeData, writePredictionModelData |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KernelModel
public KernelModel()
KernelModel
public KernelModel(Attribute labelAttribute)
getModelInfo
public abstract java.lang.String getModelInfo()
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)
getNumberOfExamples
public abstract int getNumberOfExamples()
getNumberOfAttributes
public abstract int getNumberOfAttributes()
getAttributeValue
public abstract double getAttributeValue(int exampleIndex,
int attributeIndex)
getVisualisationComponent
public java.awt.Component getVisualisationComponent(IOContainer container)
- Returns a html label with a table view or a plotter for statistic view.
- Specified by:
getVisualisationComponent
in interface ResultObject
- Overrides:
getVisualisationComponent
in class ResultObjectAdapter
Copyright © 2001-2006