com.rapidminer.operator.learner.bayes
Class RegularizedDiscriminantAnalysis

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.learner.AbstractLearner
          extended by com.rapidminer.operator.learner.bayes.LinearDiscriminantAnalysis
              extended by com.rapidminer.operator.learner.bayes.RegularizedDiscriminantAnalysis
All Implemented Interfaces:
ConfigurationListener, PreviewListener, Learner, ParameterHandler, LoggingHandler

public class RegularizedDiscriminantAnalysis
extends LinearDiscriminantAnalysis

This is a regularized discriminant analysis (RDA) which is a generalization of the LDA or QDA. Both algorithms are special cases of this algorithm, using parameter alpha = 1 respectively alpha = 0.

Author:
Sebastian Land

Field Summary
static java.lang.String PARAMETER_ALPHA
           
 
Fields inherited from class com.rapidminer.operator.learner.AbstractLearner
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN
 
Constructor Summary
RegularizedDiscriminantAnalysis(OperatorDescription description)
           
 
Method Summary
protected  Jama.Matrix[] getInverseCovarianceMatrices(ExampleSet exampleSet, java.lang.String[] labels)
           
protected  DiscriminantModel getModel(ExampleSet exampleSet, java.lang.String[] labels, Jama.Matrix[] meanVectors, Jama.Matrix[] inverseCovariances, double[] aprioriProbabilities)
           
 java.util.List<ParameterType> getParameterTypes()
          Returns a list of ParameterTypes describing the parameters of this operator.
 
Methods inherited from class com.rapidminer.operator.learner.bayes.LinearDiscriminantAnalysis
getMeanVectors, learn, supportsCapability
 
Methods inherited from class com.rapidminer.operator.learner.AbstractLearner
apply, getEstimatedPerformance, getInputClasses, getInputDescription, getOptimizationPerformance, getOutputClasses, getWeights, onlyWarnForNonSufficientCapabilities, shouldCalculateWeights, shouldDeliverOptimizationPerformance, shouldEstimatePerformance
 
Methods inherited from class com.rapidminer.operator.Operator
addError, addValue, addWarning, apply, checkDeprecations, checkForStop, checkIO, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInnerOperatorsXML, getInput, getInput, getInput, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, performAdditionalChecks, processFinished, processStarts, register, registerOperator, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, unregisterOperator, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rapidminer.operator.learner.Learner
getName
 

Field Detail

PARAMETER_ALPHA

public static final java.lang.String PARAMETER_ALPHA
See Also:
Constant Field Values
Constructor Detail

RegularizedDiscriminantAnalysis

public RegularizedDiscriminantAnalysis(OperatorDescription description)
Method Detail

getInverseCovarianceMatrices

protected Jama.Matrix[] getInverseCovarianceMatrices(ExampleSet exampleSet,
                                                     java.lang.String[] labels)
                                              throws UndefinedParameterError
Overrides:
getInverseCovarianceMatrices in class LinearDiscriminantAnalysis
Throws:
UndefinedParameterError

getModel

protected DiscriminantModel getModel(ExampleSet exampleSet,
                                     java.lang.String[] labels,
                                     Jama.Matrix[] meanVectors,
                                     Jama.Matrix[] inverseCovariances,
                                     double[] aprioriProbabilities)
                              throws UndefinedParameterError
Overrides:
getModel in class LinearDiscriminantAnalysis
Throws:
UndefinedParameterError

getParameterTypes

public java.util.List<ParameterType> getParameterTypes()
Description copied from class: Operator
Returns a list of ParameterTypes describing the parameters of this operator. The default implementation returns an empty list if no input objects can be retained and special parameters for those input objects which can be prevented from being consumed.

Specified by:
getParameterTypes in interface ParameterHandler
Overrides:
getParameterTypes in class Operator


Copyright © 2001-2009 by Rapid-I