org.dllearner.learningproblems
Class ScorePosNeg
java.lang.Object
org.dllearner.core.Score
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
ScorePosNeg
public ScorePosNeg()
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.
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann