com.rapidminer.operator.features.weighting
Class AbstractEntropyWeighting

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.features.weighting.AbstractWeighting
          extended by com.rapidminer.operator.features.weighting.AbstractEntropyWeighting
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler
Direct Known Subclasses:
GiniWeighting, InfoGainRatioWeighting, InfoGainWeighting

public abstract class AbstractEntropyWeighting
extends AbstractWeighting

This operator calculates the relevance of a feature by computing the an entropy value of the class distribution, if the given example set would have been splitted according to the feature.

Author:
Ingo Mierswa

Field Summary
 
Fields inherited from class com.rapidminer.operator.features.weighting.AbstractWeighting
PARAMETER_NORMALIZE_WEIGHTS
 
Constructor Summary
AbstractEntropyWeighting(OperatorDescription description)
           
 
Method Summary
 AttributeWeights calculateWeights(ExampleSet exampleSet)
           
abstract  Criterion getEntropyCriterion()
           
 
Methods inherited from class com.rapidminer.operator.features.weighting.AbstractWeighting
apply, getInputClasses, getOutputClasses, getParameterTypes
 
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, getInputDescription, 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
 

Constructor Detail

AbstractEntropyWeighting

public AbstractEntropyWeighting(OperatorDescription description)
Method Detail

getEntropyCriterion

public abstract Criterion getEntropyCriterion()

calculateWeights

public AttributeWeights calculateWeights(ExampleSet exampleSet)
                                  throws OperatorException
Specified by:
calculateWeights in class AbstractWeighting
Throws:
OperatorException


Copyright © 2001-2009 by Rapid-I