org.dllearner.core
Class Score

java.lang.Object
  extended by org.dllearner.core.Score
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AxiomScore, ClassScore, ScorePosNeg, ScorePosOnly

public abstract class Score
extends Object
implements Serializable

The score class is used to store how well a class description did on a learning problem. Depending on the learning problem at hand, different criteria can be used. (Similar learning problems probably score class descriptions/hypothesis in a similar way.) TODO: Maybe we don't really need a score, but only EvaluatedDescription.

Author:
Jens Lehmann
See Also:
Serialized Form

Constructor Summary
Score()
           
 
Method Summary
abstract  double getAccuracy()
          This method returns a value, which indicates how accurate a class description solves a learning problem.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Score

public Score()
Method Detail

getAccuracy

public abstract double getAccuracy()
This method returns a value, which indicates how accurate a class description solves a learning problem.

Returns:
A value between 0 and 1 indicating the quality (of a class description).
See Also:
AbstractLearningProblem.getAccuracy(Description)


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann