com.rapidminer.operator.learner.functions.kernel
Class MyKLRModel

java.lang.Object
  extended by com.rapidminer.operator.AbstractIOObject
      extended by com.rapidminer.operator.ResultObjectAdapter
          extended by com.rapidminer.operator.AbstractModel
              extended by com.rapidminer.operator.learner.PredictionModel
                  extended by com.rapidminer.operator.learner.functions.kernel.KernelModel
                      extended by com.rapidminer.operator.learner.functions.kernel.AbstractMySVMModel
                          extended by com.rapidminer.operator.learner.functions.kernel.MyKLRModel
All Implemented Interfaces:
IOObject, FormulaProvider, Model, ResultObject, Readable, Reportable, LoggingHandler, java.io.Serializable

public class MyKLRModel
extends AbstractMySVMModel

The model for the MyKLR learner by Stefan Rueping.

Author:
Ingo Mierswa
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.rapidminer.operator.AbstractIOObject
AbstractIOObject.InputStreamProvider
 
Constructor Summary
MyKLRModel(ExampleSet exampleSet, SVMExamples model, Kernel kernel, int kernelType)
           
 
Method Summary
 SVMInterface createSVM()
          Creates a new SVM for prediction.
 java.lang.String getModelInfo()
           
 void setPrediction(Example example, double _prediction)
          Sets the correct prediction to the example from the result value of the SVM.
 
Methods inherited from class com.rapidminer.operator.learner.functions.kernel.AbstractMySVMModel
getAlpha, getAttributeValue, getBias, getClassificationLabel, getExampleSet, getFormula, getFunctionValue, getId, getKernel, getNumberOfAttributes, getNumberOfSupportVectors, getRegressionLabel, getSupportVector, isClassificationModel, performPrediction
 
Methods inherited from class com.rapidminer.operator.learner.functions.kernel.KernelModel
createWeightsTable, getAttributeConstructions, getName, toString
 
Methods inherited from class com.rapidminer.operator.learner.PredictionModel
apply, checkCompatibility, copyPredictedLabel, createPredictedLabel, createPredictionAttributes, getLabel, removePredictedLabel, removePredictedLabel, supportsConfidences
 
Methods inherited from class com.rapidminer.operator.AbstractModel
getExtension, getFileDescription, getTrainingHeader, isInTargetEncoding, isUpdatable, setParameter, updateModel
 
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
 
Methods inherited from interface com.rapidminer.operator.Model
apply, getTrainingHeader, isUpdatable, setParameter, updateModel
 
Methods inherited from interface com.rapidminer.operator.ResultObject
getActions, getName, getResultIcon, toResultString
 
Methods inherited from interface com.rapidminer.operator.IOObject
appendOperatorToHistory, copy, getAnnotations, getLog, getProcessingHistory, getSource, setLoggingHandler, setSource, write
 
Methods inherited from interface com.rapidminer.report.Readable
isInTargetEncoding, toString
 

Constructor Detail

MyKLRModel

public MyKLRModel(ExampleSet exampleSet,
                  SVMExamples model,
                  Kernel kernel,
                  int kernelType)
Method Detail

getModelInfo

public java.lang.String getModelInfo()

createSVM

public SVMInterface createSVM()
Description copied from class: AbstractMySVMModel
Creates a new SVM for prediction.

Specified by:
createSVM in class AbstractMySVMModel

setPrediction

public void setPrediction(Example example,
                          double _prediction)
Description copied from class: AbstractMySVMModel
Sets the correct prediction to the example from the result value of the SVM.

Specified by:
setPrediction in class AbstractMySVMModel


Copyright © 2001-2009 by Rapid-I