|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.OperatorChain
com.rapidminer.operator.features.FeatureOperator
com.rapidminer.operator.features.selection.BruteForceSelection
public class BruteForceSelection
This feature selection operator selects the best attribute set by trying all possible combinations of attribute selections. It returns the example set containing the subset of attributes which produced the best performance. As this operator works on the powerset of the attributes set it has exponential runtime.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_EXACT_NUMBER_OF_ATTRIBUTES
|
static java.lang.String |
PARAMETER_MAX_NUMBER_OF_ATTRIBUTES
|
static java.lang.String |
PARAMETER_MIN_NUMBER_OF_ATTRIBUTES
|
| Constructor Summary | |
|---|---|
BruteForceSelection(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
Population |
createInitialPopulation(ExampleSet es)
Create an initial population. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
java.util.List<PopulationOperator> |
getPostEvaluationPopulationOperators(ExampleSet input)
Returns an empty list if the parameter debug_output is set to false. |
java.util.List<PopulationOperator> |
getPreEvaluationPopulationOperators(ExampleSet input)
Does nothing. |
boolean |
solutionGoodEnough(Population pop)
Stops immediately. |
| Methods inherited from class com.rapidminer.operator.features.FeatureOperator |
|---|
apply, createCleanClone, evaluate, getCheckForMaximum, getInnerOperatorCondition, getInputClasses, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, getOutputClasses, getPopulation, getPopulationEvaluator, getRandom, setCheckForMaximum |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_MAX_NUMBER_OF_ATTRIBUTES
public static final java.lang.String PARAMETER_MIN_NUMBER_OF_ATTRIBUTES
public static final java.lang.String PARAMETER_EXACT_NUMBER_OF_ATTRIBUTES
| Constructor Detail |
|---|
public BruteForceSelection(OperatorDescription description)
| Method Detail |
|---|
public Population createInitialPopulation(ExampleSet es)
throws OperatorException
FeatureOperator
createInitialPopulation in class FeatureOperatorOperatorException
public java.util.List<PopulationOperator> getPreEvaluationPopulationOperators(ExampleSet input)
throws OperatorException
getPreEvaluationPopulationOperators in class FeatureOperatorOperatorException
public java.util.List<PopulationOperator> getPostEvaluationPopulationOperators(ExampleSet input)
throws OperatorException
getPostEvaluationPopulationOperators in class FeatureOperatorOperatorExceptionpublic boolean solutionGoodEnough(Population pop)
solutionGoodEnough in class FeatureOperatorpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class FeatureOperator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||