org.encog.neural.networks.training
public class TrainingSetScore extends Object implements CalculateScore
| Constructor and Description |
|---|
TrainingSetScore(MLDataSet training)
Construct a training set score calculation.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public TrainingSetScore(MLDataSet training)
training - The training data to use.public double calculateScore(MLMethod method)
calculateScore in interface CalculateScoremethod - The network to calculate for.public boolean shouldMinimize()
shouldMinimize in interface CalculateScorepublic boolean requireSingleThreaded()
requireSingleThreaded in interface CalculateScoreCopyright © 2014. All Rights Reserved.