com.rapidminer.operator.postprocessing
Class ThresholdCreator

java.lang.Object
  extended by com.rapidminer.tools.AbstractObservable<Operator>
      extended by com.rapidminer.operator.Operator
          extended by com.rapidminer.operator.io.AbstractReader<Threshold>
              extended by com.rapidminer.operator.postprocessing.ThresholdCreator
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ResourceConsumer, ParameterHandler, LoggingHandler, Observable<Operator>

public class ThresholdCreator
extends AbstractReader<Threshold>

This operator creates a user defined threshold for crisp classifying based on prediction confidences.

Author:
Ingo Mierswa

Nested Class Summary
 
Nested classes/interfaces inherited from class com.rapidminer.operator.io.AbstractReader
AbstractReader.ReaderDescription
 
Field Summary
static java.lang.String PARAMETER_FIRST_CLASS
          The parameter name for "The class which should be considered as the first one (confidence 0).
static java.lang.String PARAMETER_SECOND_CLASS
          The parameter name for "The class which should be considered as the second one (confidence 1).
static java.lang.String PARAMETER_THRESHOLD
          The parameter name for "The confidence threshold to determine if the prediction should be positive.
 
Constructor Summary
ThresholdCreator(OperatorDescription description)
           
 
Method Summary
 java.util.List<ParameterType> getParameterTypes()
          Returns a list of ParameterTypes describing the parameters of this operator.
 Threshold read()
          Creates (or reads) the ExampleSet that will be returned by Operator.apply().
 
Methods inherited from class com.rapidminer.operator.io.AbstractReader
addAnnotations, canMakeReaderFor, createReader, doWork, getFileParameterForOperator, getGeneratedMetaData, isMetaDataCacheable, registerOperator, registerReaderDescription, supportsEncoding
 
Methods inherited from class com.rapidminer.operator.Operator
acceptsInput, addError, addError, addValue, addWarning, apply, apply, assumePreconditionsSatisfied, checkAll, checkAllExcludingMetaData, checkDeprecations, checkForStop, checkIO, checkProperties, clear, clearErrorList, cloneOperator, collectErrors, createExperimentTree, createExperimentTree, createFromXML, createFromXML, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, disconnectPorts, execute, fireUpdate, freeMemory, 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, isEnabled, isExpanded, isParallel, isParameterSet, isRunning, log, log, logError, logNote, logWarning, lookupOperator, makeDirty, makeDirtyOnUpdate, notifyRenaming, performAdditionalChecks, preAutoWire, processFinished, processStarts, producesOutput, propagateDirtyness, register, remove, removeAndKeepConnections, rename, resume, setBreakpoint, setCompatibilityLevel, setEnabled, setEnclosingProcess, setExpanded, setInput, setListParameter, setPairParameter, setParameter, setParameters, setUserDescription, shouldAutoConnect, shouldAutoConnect, shouldStopStandaloneExecution, toString, transformMetaData, unregisterOperator, updateExecutionOrder, walk, 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_THRESHOLD

public static final java.lang.String PARAMETER_THRESHOLD
The parameter name for "The confidence threshold to determine if the prediction should be positive."

See Also:
Constant Field Values

PARAMETER_FIRST_CLASS

public static final java.lang.String PARAMETER_FIRST_CLASS
The parameter name for "The class which should be considered as the first one (confidence 0)."

See Also:
Constant Field Values

PARAMETER_SECOND_CLASS

public static final java.lang.String PARAMETER_SECOND_CLASS
The parameter name for "The class which should be considered as the second one (confidence 1)."

See Also:
Constant Field Values
Constructor Detail

ThresholdCreator

public ThresholdCreator(OperatorDescription description)
Method Detail

read

public Threshold read()
               throws OperatorException
Description copied from class: AbstractReader
Creates (or reads) the ExampleSet that will be returned by Operator.apply().

Specified by:
read in class AbstractReader<Threshold>
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 AbstractReader<Threshold>


Copyright © 2001-2009 by Rapid-I