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.


Method Summary
 double calculateScore(MLRegression network)
          Calculate this network's score.
 boolean shouldMinimize()
           
 

Method Detail

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 © 2011. All Rights Reserved.