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 CalculateScore
method
- The network to calculate for.public boolean shouldMinimize()
shouldMinimize
in interface CalculateScore
public boolean requireSingleThreaded()
requireSingleThreaded
in interface CalculateScore
Copyright © 2014. All Rights Reserved.