com.rapidminer.operator.learner.bayes
Class QuadraticDiscriminantAnalysis

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.QuadraticDiscriminantAnalysis
All Implemented Interfaces:
ConfigurationListener, PreviewListener, Learner, ParameterHandler, LoggingHandler

public class QuadraticDiscriminantAnalysis
extends LinearDiscriminantAnalysis

This operator performs a quadratic discriminant analysis (QDA). QDA is closely related to linear discriminant analysis (LDA), where it is assumed that the measurements are normally distributed. Unlike LDA however, in QDA there is no assumption that the covariance of each of the classes is identical.

Author:
Sebastian Land

Field Summary
 
Fields inherited from class com.rapidminer.operator.learner.AbstractLearner
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN
 
Constructor Summary
QuadraticDiscriminantAnalysis(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)
           
 
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, getParameterTypes, 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
 

Constructor Detail

QuadraticDiscriminantAnalysis

public QuadraticDiscriminantAnalysis(OperatorDescription description)
Method Detail

getModel

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

getInverseCovarianceMatrices

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


Copyright © 2001-2009 by Rapid-I