|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.OperatorChain
com.rapidminer.operator.learner.meta.AbstractMetaLearner
com.rapidminer.operator.learner.meta.BayBoostStream
public class BayBoostStream
Assumptions:
Nested Class Summary | |
---|---|
static class |
BayBoostStream.BatchFilterCondition
Class that filters an ExampleSet by the value of a special attribute. |
Field Summary | |
---|---|
static double |
MIN_ADVANTAGE
Discard models with an advantage of less than the specified value. |
static double |
MIN_LIFT_RATIO_SOFT_CLASSIFIER
The probabilistic prediction of soft classifiers is restricted, similar to a confidence bound. |
static java.lang.String |
PARAMETER_BATCH_SIZE
Name of the variable specifying the maximal number of iterations of the learner. |
static java.lang.String |
PARAMETER_FRACTION_HOLD_OUT_SET
Parameter name to activate a hold out set for tuning. |
static java.lang.String |
PARAMETER_RESCALE_LABEL_PRIORS
Boolean parameter to specify whether the label priors should be equally likely after first iteration. |
static java.lang.String |
STREAM_CONTROL_ATTRIB_NAME
Name of the special attribute with additional stream control information. |
Fields inherited from class com.rapidminer.operator.learner.meta.AbstractMetaLearner |
---|
exampleSetInput, innerModelSink |
Fields inherited from interface com.rapidminer.operator.learner.CapabilityProvider |
---|
PROPERTY_RAPIDMINER_GENERAL_CAPABILITIES_WARN |
Constructor Summary | |
---|---|
BayBoostStream(OperatorDescription description)
Constructor. |
Method Summary | |
---|---|
void |
doWork()
Overwrite to also return the performance (run-) vector |
java.util.List<ParameterType> |
getParameterTypes()
Adds the parameters "rescale label priors" and "weighted batch size". |
Model |
learn(ExampleSet exampleSet)
Constructs a Model repeatedly running a weak learner,
reweighting the training example set accordingly, and combining the
hypothesis using the available weighted performance values. |
protected void |
prepareWeights(ExampleSet exampleSet)
|
boolean |
supportsCapability(OperatorCapability lc)
Overrides the method of the super class. |
Methods inherited from class com.rapidminer.operator.learner.meta.AbstractMetaLearner |
---|
applyInnerLearner, executeInnerLearner, getEstimatedPerformance, getInnerModelSink, getModelOutputPort, getTrainingSetInputPort, getWeights, modifyExampleSetMetaData, modifyGeneratedModelMetaData, shouldAutoConnect, shouldCalculateWeights, shouldEstimatePerformance |
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 |
Methods inherited from interface com.rapidminer.operator.learner.Learner |
---|
getName |
Field Detail |
---|
public static final java.lang.String PARAMETER_BATCH_SIZE
public static final java.lang.String PARAMETER_RESCALE_LABEL_PRIORS
public static final java.lang.String PARAMETER_FRACTION_HOLD_OUT_SET
public static final double MIN_ADVANTAGE
public static final java.lang.String STREAM_CONTROL_ATTRIB_NAME
public static final double MIN_LIFT_RATIO_SOFT_CLASSIFIER
Constructor Detail |
---|
public BayBoostStream(OperatorDescription description)
Method Detail |
---|
public boolean supportsCapability(OperatorCapability lc)
protected void prepareWeights(ExampleSet exampleSet)
public Model learn(ExampleSet exampleSet) throws OperatorException
Model
repeatedly running a weak learner,
reweighting the training example set accordingly, and combining the
hypothesis using the available weighted performance values.
OperatorException
public void doWork() throws OperatorException
doWork
in class AbstractMetaLearner
OperatorException
public java.util.List<ParameterType> getParameterTypes()
getParameterTypes
in interface ParameterHandler
getParameterTypes
in class Operator
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |