|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.networks.training.TrainingSetScore
public class TrainingSetScore
Calculate a score based on a training set. This class allows simulated annealing or genetic algorithms just as you would any other training set based training method. The method must support regression (MLRegression).
Constructor Summary | |
---|---|
TrainingSetScore(MLDataSet training)
Construct a training set score calculation. |
Method Summary | |
---|---|
double |
calculateScore(MLMethod method)
Calculate the score for the network. |
boolean |
requireSingleThreaded()
|
boolean |
shouldMinimize()
A training set based score should always seek to lower the error, as a result, this method always returns true. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrainingSetScore(MLDataSet training)
training
- The training data to use.Method Detail |
---|
public double calculateScore(MLMethod method)
calculateScore
in interface CalculateScore
method
- The network to calculate for.
public boolean shouldMinimize()
shouldMinimize
in interface CalculateScore
public boolean requireSingleThreaded()
requireSingleThreaded
in interface CalculateScore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |