public static class Rule.Builder extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected double |
alpha |
AbstractAMRules |
amRules |
protected boolean |
changeDetection |
FlagOption |
constantLearningRatioDecayOption |
int |
id |
protected double |
lastTargetMean |
FloatOption |
learningRatioOption |
protected int |
predictionFunction |
protected double[] |
statistics |
protected double |
threshold |
protected boolean |
usePerceptron |
Constructor and Description |
---|
Rule.Builder() |
Modifier and Type | Method and Description |
---|---|
Rule.Builder |
alpha(double alpha) |
Rule.Builder |
amRules(AbstractAMRules amRules) |
Rule |
build() |
Rule.Builder |
changeDetection(boolean changeDetection) |
AbstractAMRules |
getAMRules() |
Rule |
getOwner() |
Rule.Builder |
id(int id) |
Rule.Builder |
owner(Rule owner) |
Rule.Builder |
predictionFunction(int predictionFunction) |
void |
setOwner(Rule owner) |
Rule.Builder |
statistics(double[] statistics) |
Rule.Builder |
threshold(double threshold) |
protected boolean changeDetection
protected boolean usePerceptron
protected double threshold
protected double alpha
protected int predictionFunction
protected double[] statistics
protected double lastTargetMean
public FlagOption constantLearningRatioDecayOption
public FloatOption learningRatioOption
public int id
public AbstractAMRules amRules
public AbstractAMRules getAMRules()
public Rule.Builder changeDetection(boolean changeDetection)
public Rule.Builder threshold(double threshold)
public Rule.Builder alpha(double alpha)
public Rule.Builder predictionFunction(int predictionFunction)
public Rule.Builder statistics(double[] statistics)
public Rule.Builder owner(Rule owner)
public Rule.Builder amRules(AbstractAMRules amRules)
public Rule.Builder id(int id)
public Rule build()
public Rule getOwner()
public void setOwner(Rule owner)
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.