org.dllearner.learningproblems
Class ScorePosOnly
java.lang.Object
org.dllearner.core.Score
org.dllearner.learningproblems.ScorePosOnly
- All Implemented Interfaces:
- Serializable
public class ScorePosOnly
- extends Score
- Author:
- Jens Lehmann
- See Also:
- Serialized Form
ScorePosOnly
public ScorePosOnly(Set<Individual> coveredInstances,
Set<Individual> notCoveredPositives,
double coverage,
Set<Individual> additionalInstances,
double protusion,
double accuracy)
getCoverage
public double getCoverage()
- Returns:
- Coverage of the class description.
getAddition
public double getAddition()
- Let C be the considered class description and A the class to learn.
The addition number is calculated as the number of instances of C which are also
instances of A divided by the number of instances of C.
- Returns:
- Additional instances of the class description.
getAccuracy
public double getAccuracy()
- Description copied from class:
Score
- This method returns a value, which indicates how accurate a
class description solves a learning problem.
- Specified by:
getAccuracy in class Score
- Returns:
- A value between 0 and 1 indicating the quality (of a class description).
- See Also:
AbstractLearningProblem.getAccuracy(Description)
getCoveredInstances
public Set<Individual> getCoveredInstances()
- Returns:
- the coveredInstances
getNotCoveredPositives
public Set<Individual> getNotCoveredPositives()
- Returns:
- the coveredInstances
getAdditionalInstances
public Set<Individual> getAdditionalInstances()
- Returns:
- the additionalInstances
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann