com.rapidminer.operator.learner.functions.kernel
Class KernelLogisticRegressionModel
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
com.rapidminer.operator.learner.functions.kernel.KernelLogisticRegressionModel
- All Implemented Interfaces:
- IOObject, Model, ResultObject, Saveable, Readable, Reportable, LoggingHandler, java.io.Serializable
public class KernelLogisticRegressionModel
- extends KernelModel
The model determined by the KernelLogisticRegression operator.
- Author:
- Ingo Mierswa
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KernelLogisticRegressionModel
public KernelLogisticRegressionModel(ExampleSet exampleSet,
java.util.List<SupportVector> supportVectors,
Kernel kernel,
double bias)
- Creates a classification model.
getName
public java.lang.String getName()
- Description copied from class:
KernelModel
- The default implementation returns the classname without package.
- Specified by:
getName in interface ResultObject- Overrides:
getName in class KernelModel
isClassificationModel
public boolean isClassificationModel()
- Specified by:
isClassificationModel in class KernelModel
getAlpha
public double getAlpha(int index)
- Specified by:
getAlpha in class KernelModel
getId
public java.lang.String getId(int index)
- Specified by:
getId in class KernelModel
getBias
public double getBias()
- Specified by:
getBias in class KernelModel
getSupportVector
public SupportVector getSupportVector(int index)
- Specified by:
getSupportVector in class KernelModel
getNumberOfSupportVectors
public int getNumberOfSupportVectors()
- Specified by:
getNumberOfSupportVectors in class KernelModel
getNumberOfAttributes
public int getNumberOfAttributes()
- Specified by:
getNumberOfAttributes in class KernelModel
getAttributeValue
public double getAttributeValue(int exampleIndex,
int attributeIndex)
- Specified by:
getAttributeValue in class KernelModel
getClassificationLabel
public java.lang.String getClassificationLabel(int index)
- Specified by:
getClassificationLabel in class KernelModel
getRegressionLabel
public double getRegressionLabel(int index)
- Specified by:
getRegressionLabel in class KernelModel
getFunctionValue
public double getFunctionValue(int index)
- Specified by:
getFunctionValue in class KernelModel
performPrediction
public ExampleSet performPrediction(ExampleSet exampleSet,
Attribute predLabel)
- Applies the model to each example of the example set.
- Specified by:
performPrediction in class PredictionModel
Copyright © 2001-2009 by Rapid-I