Modifier and Type | Field and Description |
---|---|
protected int |
instancesSeen |
protected boolean |
reset |
protected double |
sumOfSquares |
protected double |
sumOfValues |
protected DoubleVector |
weightAttribute |
Constructor and Description |
---|
FIMTDD.FIMTDDPerceptron() |
FIMTDD.FIMTDDPerceptron(FIMTDD.FIMTDDPerceptron original) |
Modifier and Type | Method and Description |
---|---|
void |
getModelDescription(StringBuilder out,
int indent) |
String |
getPurposeString() |
DoubleVector |
getWeights() |
DoubleVector |
normalizedInstance(weka.core.Instance inst,
FIMTDD tree) |
double |
prediction(DoubleVector instanceValues)
Output the prediction made by this perceptron on the given instance
|
void |
updatePerceptron(weka.core.Instance inst,
FIMTDD tree)
Update the model using the provided instance
|
void |
updateWeights(weka.core.Instance inst,
double learningRatio,
FIMTDD tree) |
protected DoubleVector weightAttribute
protected double sumOfValues
protected double sumOfSquares
protected int instancesSeen
protected boolean reset
public FIMTDD.FIMTDDPerceptron(FIMTDD.FIMTDDPerceptron original)
public FIMTDD.FIMTDDPerceptron()
public String getPurposeString()
public DoubleVector getWeights()
public void updatePerceptron(weka.core.Instance inst, FIMTDD tree)
public void updateWeights(weka.core.Instance inst, double learningRatio, FIMTDD tree)
public DoubleVector normalizedInstance(weka.core.Instance inst, FIMTDD tree)
public double prediction(DoubleVector instanceValues)
public void getModelDescription(StringBuilder out, int indent)
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.