com.rapidminer.operator.meta
Class QuadraticParameterOptimizationOperator

java.lang.Object
  extended by com.rapidminer.tools.AbstractObservable<Operator>
      extended by com.rapidminer.operator.Operator
          extended by com.rapidminer.operator.OperatorChain
              extended by com.rapidminer.operator.meta.ParameterIteratingOperatorChain
                  extended by com.rapidminer.operator.meta.ParameterOptimizationOperator
                      extended by com.rapidminer.operator.meta.GridSearchParameterOptimizationOperator
                          extended by com.rapidminer.operator.meta.QuadraticParameterOptimizationOperator
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ResourceConsumer, ParameterHandler, LoggingHandler, Observable<Operator>

public class QuadraticParameterOptimizationOperator
extends GridSearchParameterOptimizationOperator

This operator finds the optimal values for a set of parameters using a quadratic interaction model. The parameter parameters is a list of key value pairs where the keys are of the form OperatorName.parameter_name and the value is a comma separated list of values (as for the GridParameterOptimization operator).
The operator returns an optimal ParameterSet which can as well be written to a file with a ParameterSetLoader. This parameter set can be read in another process using an ParameterSetLoader.
The file format of the parameter set file is straightforward and can also easily be generated by external applications. Each line is of the form

operator_name.parameter_name = value
.

Author:
Stefan Rueping, Helge Homburg

Field Summary
static java.lang.String PARAMETER_IF_EXCEEDS_RANGE
          The parameter name for "What to do if range is exceeded.
static java.lang.String PARAMETER_IF_EXCEEDS_REGION
          The parameter name for "What to do if range is exceeded.
 
Fields inherited from class com.rapidminer.operator.meta.GridSearchParameterOptimizationOperator
currentIndex, numberOfCombinations, numberOfParameters, operators, parameters, values
 
Fields inherited from class com.rapidminer.operator.meta.ParameterIteratingOperatorChain
PARAMETER_PARAMETERS, PARAMETER_VALUES, VALUE_MODE_CONTINUOUS, VALUE_MODE_DISCRETE
 
Constructor Summary
QuadraticParameterOptimizationOperator(OperatorDescription description)
           
 
Method Summary
 void doWork()
          Performs the actual work of the operator and must be implemented by subclasses.
 double getCurrentBestPerformance()
           
 java.util.List<ParameterType> getParameterTypes()
          Returns a list of ParameterTypes describing the parameters of this operator.
 
Methods inherited from class com.rapidminer.operator.meta.GridSearchParameterOptimizationOperator
computeCurrentPerformeance, getParametersToOptimize, getParameterValueMode
 
Methods inherited from class com.rapidminer.operator.meta.ParameterOptimizationOperator
deliver, getPerformance, isPerformanceRequired, makeInnerSinkExtender
 
Methods inherited from class com.rapidminer.operator.meta.ParameterIteratingOperatorChain
checkProperties, executeSubprocess, getInnerResults, getInnerSinkExtender, getPerformance, getPerformance, getPerformanceInnerSink, parseParameterValues, passResultsThrough
 
Methods inherited from class com.rapidminer.operator.OperatorChain
addOperator, addOperator, addSubprocess, areSubprocessesExtendable, assumePreconditionsSatisfied, checkDeprecations, checkIO, checkNumberOfInnerOperators, clear, clearAllInnerSinks, cloneOperator, collectErrors, createProcessTree, createSubprocess, freeMemory, getAllInnerOperators, getAllInnerOperatorsAndMe, getImmediateChildren, getIndexOfOperator, getInnerOperatorCondition, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, getNumberOfAllOperators, getNumberOfOperators, getNumberOfSubprocesses, getOperator, getOperatorFromAll, getOperators, getSubprocess, getSubprocesses, isEnabled, lookupOperator, notifyRenaming, performAdditionalChecks, processFinished, processStarts, propagateDirtyness, registerOperator, removeOperator, removeSubprocess, shouldAddNonConsumedInput, shouldReturnInnerOutput, unregisterOperator, updateExecutionOrder, walk
 
Methods inherited from class com.rapidminer.operator.Operator
acceptsInput, addError, addError, addValue, addWarning, apply, apply, checkAll, checkAllExcludingMetaData, checkForStop, clearErrorList, createExperimentTree, createExperimentTree, createFromXML, createFromXML, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, disconnectPorts, execute, fireUpdate, getAddOnlyAdditionalOutput, getApplyCount, getCompatibilityLevel, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getDOMRepresentation, getEncoding, getErrorList, getExecutionUnit, getExperiment, getIncompatibleVersionChanges, getInput, getInput, getInput, getInputClasses, getInputDescription, getInputPorts, getIODescription, getLog, getLogger, getName, getNumberOfBreakpoints, getOperatorClassName, getOperatorDescription, getOutputClasses, getOutputPorts, getParameter, getParameterAsBoolean, getParameterAsChar, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsRepositoryLocation, getParameterAsString, getParameterHandler, getParameterList, getParameters, getParameterTupel, getParameterType, getParent, getPortOwner, getProcess, getResourceConsumptionEstimator, getRoot, getStartTime, getTransformer, getUserDescription, getValue, getValues, getXML, getXML, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isDirty, isExpanded, isParallel, isParameterSet, isRunning, log, log, logError, logNote, logWarning, makeDirty, makeDirtyOnUpdate, preAutoWire, producesOutput, register, remove, removeAndKeepConnections, rename, resume, setBreakpoint, setCompatibilityLevel, setEnabled, setEnclosingProcess, setExpanded, setInput, setListParameter, setPairParameter, setParameter, setParameters, setUserDescription, shouldAutoConnect, shouldAutoConnect, shouldStopStandaloneExecution, toString, transformMetaData, writeXML, writeXML
 
Methods inherited from class com.rapidminer.tools.AbstractObservable
addObserver, addObserverAsFirst, fireUpdate, removeObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PARAMETER_IF_EXCEEDS_REGION

public static final java.lang.String PARAMETER_IF_EXCEEDS_REGION
The parameter name for "What to do if range is exceeded."

See Also:
Constant Field Values

PARAMETER_IF_EXCEEDS_RANGE

public static final java.lang.String PARAMETER_IF_EXCEEDS_RANGE
The parameter name for "What to do if range is exceeded."

See Also:
Constant Field Values
Constructor Detail

QuadraticParameterOptimizationOperator

public QuadraticParameterOptimizationOperator(OperatorDescription description)
Method Detail

getCurrentBestPerformance

public double getCurrentBestPerformance()
Overrides:
getCurrentBestPerformance in class GridSearchParameterOptimizationOperator

doWork

public void doWork()
            throws OperatorException
Description copied from class: Operator
Performs the actual work of the operator and must be implemented by subclasses. Replaces the old method apply().

Overrides:
doWork in class GridSearchParameterOptimizationOperator
Throws:
OperatorException

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. ATTENTION! This will create new parameterTypes. For calling already existing parameter types use getParameters().getParameterTypes();

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


Copyright © 2001-2009 by Rapid-I