com.rapidminer.operator.performance
Class ForecastingPerformanceEvaluator

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.performance.AbstractPerformanceEvaluator
          extended by com.rapidminer.operator.performance.ForecastingPerformanceEvaluator
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class ForecastingPerformanceEvaluator
extends AbstractPerformanceEvaluator

This operator calculates performance criteria related to series forecasting / prediction.

Author:
Ingo Mierswa

Field Summary
static java.lang.String PARAMETER_HORIZON
           
 
Fields inherited from class com.rapidminer.operator.performance.AbstractPerformanceEvaluator
PARAMETER_COMPARATOR_CLASS, PARAMETER_MAIN_CRITERION, PARAMETER_SKIP_UNDEFINED_LABELS
 
Constructor Summary
ForecastingPerformanceEvaluator(OperatorDescription description)
           
 
Method Summary
protected  void checkCompatibility(ExampleSet exampleSet)
          Performs a check if this operator can be used for this type of exampel set at all.
protected  double[] getClassWeights(Attribute label)
          Delivers class weights for performance criteria which implement the ClassWeightedPerformance interface.
 java.util.List<PerformanceCriterion> getCriteria()
          Delivers the list of criteria which is able for this operator.
 java.util.List<ParameterType> getParameterTypes()
          Returns a list of ParameterTypes describing the parameters of this operator.
 
Methods inherited from class com.rapidminer.operator.performance.AbstractPerformanceEvaluator
apply, evaluate, evaluate, getInputClasses, getInputDescription, getOutputClasses, init, showComparatorParameter, showCriteriaParameter, showSkipNaNLabelsParameter
 
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
 

Field Detail

PARAMETER_HORIZON

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

ForecastingPerformanceEvaluator

public ForecastingPerformanceEvaluator(OperatorDescription description)
Method Detail

checkCompatibility

protected void checkCompatibility(ExampleSet exampleSet)
                           throws OperatorException
Description copied from class: AbstractPerformanceEvaluator
Performs a check if this operator can be used for this type of exampel set at all.

Specified by:
checkCompatibility in class AbstractPerformanceEvaluator
Throws:
OperatorException

getClassWeights

protected double[] getClassWeights(Attribute label)
                            throws UndefinedParameterError
Description copied from class: AbstractPerformanceEvaluator
Delivers class weights for performance criteria which implement the ClassWeightedPerformance interface. Might return null (for example for regression task performance evaluators).

Specified by:
getClassWeights in class AbstractPerformanceEvaluator
Throws:
UndefinedParameterError

getCriteria

public java.util.List<PerformanceCriterion> getCriteria()
Description copied from class: AbstractPerformanceEvaluator
Delivers the list of criteria which is able for this operator. Please note that all criteria in the list must be freshly instantiated since no copy is created in different runs of this operator. This is important in order to not mess up the results. This method must not return null but should return an empty list in this case.

Specified by:
getCriteria in class AbstractPerformanceEvaluator

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 AbstractPerformanceEvaluator


Copyright © 2001-2009 by Rapid-I