|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.ErrorCalculation
public class ErrorCalculation
ErrorCalculation: An implementation of root mean square (RMS) error calculation. This class is used by nearly every neural network in this book to calculate error.
| Constructor Summary | |
|---|---|
ErrorCalculation()
|
|
| Method Summary | |
|---|---|
double |
calculateRMS()
Returns the root mean square error for a complete training set. |
void |
reset()
Reset the error accumulation to zero. |
void |
updateError(double[] actual,
double[] ideal)
Called to update for each number that should be checked. |
void |
updateError(NeuralData actual,
NeuralData ideal)
Update the error. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorCalculation()
| Method Detail |
|---|
public double calculateRMS()
public void reset()
public void updateError(double[] actual,
double[] ideal)
actual - The actual number.ideal - The ideal number.
public void updateError(NeuralData actual,
NeuralData ideal)
actual - The actual values.ideal - The ideal values.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||