Documentation of 'org.encog.ml.ea.score.EmptyScoreFunction' Java class
EmptyScoreFunction
org.encog.ml.ea.score

Class EmptyScoreFunction

  • All Implemented Interfaces:
    java.io.Serializable, CalculateScore


    public class EmptyScoreFunction
    extends java.lang.Object
    implements CalculateScore, java.io.Serializable
    An empty score function. Simply returns zero as the score, always.
    See Also:
    Serialized Form
    • Constructor Detail

      • EmptyScoreFunction

        public EmptyScoreFunction()
    • Method Detail

      • calculateScore

        public double calculateScore(MLMethod phenotype)
        Calculate this network's score.
        Specified by:
        calculateScore in interface CalculateScore
        Parameters:
        phenotype - The ML method.
        Returns:
        The score.
      • requireSingleThreaded

        public boolean requireSingleThreaded()
        Specified by:
        requireSingleThreaded in interface CalculateScore
        Returns:
        True, if this score function cannot be done in parallel.
      • shouldMinimize

        public boolean shouldMinimize()
        Specified by:
        shouldMinimize in interface CalculateScore
        Returns:
        True if the goal is to minimize the score.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.