org.dllearner.learningproblems
Class ScorePosNeg

java.lang.Object
  extended by org.dllearner.core.Score
      extended by org.dllearner.learningproblems.ScorePosNeg
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ScoreThreeValued, ScoreTwoValued

public abstract class ScorePosNeg
extends Score

The score class is used to store how well a class description did on a learning problem.

Author:
Jens Lehmann
See Also:
Serialized Form

Constructor Summary
ScorePosNeg()
           
 
Method Summary
abstract  Set<Individual> getCoveredNegatives()
           
abstract  Set<Individual> getCoveredPositives()
           
abstract  ScorePosNeg getModifiedLengthScore(int newLength)
          The score of a concept depends on how good it classifies the examples of a learning problem and the length of the concept itself.
abstract  Set<Individual> getNotCoveredNegatives()
           
abstract  Set<Individual> getNotCoveredPositives()
           
abstract  double getScoreValue()
           
 
Methods inherited from class org.dllearner.core.Score
getAccuracy
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScorePosNeg

public ScorePosNeg()
Method Detail

getScoreValue

public abstract double getScoreValue()

getCoveredPositives

public abstract Set<Individual> getCoveredPositives()

getCoveredNegatives

public abstract Set<Individual> getCoveredNegatives()

getNotCoveredPositives

public abstract Set<Individual> getNotCoveredPositives()

getNotCoveredNegatives

public abstract Set<Individual> getNotCoveredNegatives()

getModifiedLengthScore

public abstract ScorePosNeg getModifiedLengthScore(int newLength)
The score of a concept depends on how good it classifies the examples of a learning problem and the length of the concept itself. If a given concept is known to have equal classification properties than the concept this score object is based on, then this method can be used to calculate its score value by using the length of this concept as parameter.

Parameters:
newLength - Length of the concept.
Returns:
Score.


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