|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.Operator
edu.udo.cs.yale.operator.OperatorChain
edu.udo.cs.yale.operator.learner.meta.AbstractMetaLearner
edu.udo.cs.yale.operator.learner.meta.Bagging
public class Bagging
This Bagging implementation can be used with all learners available in YALE, not only the ones which originally are part of the Weka package.
| Field Summary | |
|---|---|
protected int |
currentIteration
|
static java.lang.String |
INTERNAL_BOOTSTRAP
Name of the flag indicating internal bootstrapping. |
static java.lang.String |
NUM_OF_ITERATIONS
Name of the variable specifying the maximal number of iterations of the learner. |
static java.lang.String |
USE_CONFIDENCES
Name of the flag indicating internal bootstrapping. |
| Constructor Summary | |
|---|---|
Bagging(OperatorDescription description)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getNumberOfSteps()
Returns the number of steps performed by this chain. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
Model |
learn(ExampleSet exampleSet)
Constructs a Model repeatedly running a base learner on subsamples. |
boolean |
supportsCapability(LearnerCapability lc)
Overrides the method of the super class. |
| Methods inherited from class edu.udo.cs.yale.operator.learner.meta.AbstractMetaLearner |
|---|
apply, applyInnerLearner, checkLearnerCapabilities, getEstimatedPerformance, getInnerOperatorCondition, getInputClasses, getInputDescription, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, getOutputClasses, getWeights, shouldCalculateWeights, shouldEstimatePerformance, shouldReturnInnerOutput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.udo.cs.yale.operator.learner.Learner |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String NUM_OF_ITERATIONS
public static final java.lang.String INTERNAL_BOOTSTRAP
public static final java.lang.String USE_CONFIDENCES
protected int currentIteration
| Constructor Detail |
|---|
public Bagging(OperatorDescription description)
| Method Detail |
|---|
public boolean supportsCapability(LearnerCapability lc)
supportsCapability in interface LearnersupportsCapability in class AbstractMetaLearnerpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in class Operatorpublic int getNumberOfSteps()
OperatorChain
getNumberOfSteps in class AbstractMetaLearnerOperatorChain.getNumberOfSteps()
public Model learn(ExampleSet exampleSet)
throws OperatorException
Model repeatedly running a base learner on subsamples.
OperatorException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||