edu.udo.cs.yale.operator.learner.kernel
Class KernelModel

java.lang.Object
  extended by edu.udo.cs.yale.operator.AbstractIOObject
      extended by edu.udo.cs.yale.operator.ResultObjectAdapter
          extended by edu.udo.cs.yale.operator.AbstractModel
              extended by edu.udo.cs.yale.operator.IOModel
                  extended by edu.udo.cs.yale.operator.learner.PredictionModel
                      extended by 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

Constructor Summary
KernelModel()
           
KernelModel(Attribute labelAttribute)
           
 
Method Summary
abstract  double getAlpha(int index)
           
abstract  double getAttributeValue(int exampleIndex, int attributeIndex)
           
abstract  java.lang.String getClassificationLabel(int index)
           
abstract  double getFunctionValue(int index)
           
abstract  java.lang.String getId(int index)
           
abstract  java.lang.String getModelInfo()
           
abstract  int getNumberOfAttributes()
           
abstract  int getNumberOfExamples()
           
abstract  double getRegressionLabel(int index)
           
 java.awt.Component getVisualisationComponent(IOContainer container)
          Returns a html label with a table view or a plotter for statistic view.
abstract  boolean isClassificationModel()
           
 
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 edu.udo.cs.yale.operator.AbstractModel
equals, getExtension, getFileDescription, readModel, readModel, save, setParameter, writeModel, writeModel
 
Methods inherited from class edu.udo.cs.yale.operator.ResultObjectAdapter
addAction, getActions, getName, toHTML, toResultString
 
Methods inherited from class edu.udo.cs.yale.operator.AbstractIOObject
copy, read, read, read, write, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.udo.cs.yale.operator.ResultObject
getActions, getName, toResultString
 
Methods inherited from interface edu.udo.cs.yale.operator.IOObject
copy, write, write
 

Constructor Detail

KernelModel

public KernelModel()

KernelModel

public KernelModel(Attribute labelAttribute)
Method Detail

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