org.encog.neural.networks.training
Interface CalculateScore
- All Known Implementing Classes:
- TrainingSetScore
public interface CalculateScore
Used by simulated annealing and genetic algorithms to calculate the score
for a neural network. This allows networks to be ranked. We may be seeking
a high or a low score, depending on the value the shouldMinimize
method returns.
calculateScore
double calculateScore(MLRegression network)
- Calculate this network's score.
- Parameters:
network - The network.
- Returns:
- The score.
shouldMinimize
boolean shouldMinimize()
- Returns:
- True if the goal is to minimize the score.
Copyright © 2012. All Rights Reserved.