public class ScoreThreeValued<T extends org.semanticweb.owlapi.model.OWLEntity> extends ScorePosNeg<T>
Modifier and Type | Class and Description |
---|---|
static class |
ScoreThreeValued.ScoreMethod |
Constructor and Description |
---|
ScoreThreeValued(int conceptLength,
double accuracyPenalty,
double errorPenalty,
boolean penaliseNeutralExamples,
double percentPerLengthUnit,
Set<T> posClassified,
Set<T> neutClassified,
Set<T> negClassified,
Set<T> posExamples,
Set<T> neutExamples,
Set<T> negExamples) |
Modifier and Type | Method and Description |
---|---|
double |
getAccuracy()
This method returns a value, which indicates how accurate a
hypothesis solves a learning problem.
|
int |
getCommissionErrorRate() |
Set<T> |
getCoveredNegatives() |
Set<T> |
getCoveredPositives() |
int |
getInductionRate() |
int |
getMatchRate() |
ScorePosNeg<T> |
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.
|
Set<T> |
getNegClassified() |
Set<T> |
getNotCoveredNegatives() |
Set<T> |
getNotCoveredPositives() |
int |
getOmmissionErrorRate() |
Set<T> |
getPosClassified() |
double |
getScoreValue() |
String |
toString() |
public double getScoreValue()
getScoreValue
in class ScorePosNeg<T extends org.semanticweb.owlapi.model.OWLEntity>
public int getMatchRate()
public int getOmmissionErrorRate()
public int getCommissionErrorRate()
public int getInductionRate()
public Set<T> getNegClassified()
public Set<T> getPosClassified()
public Set<T> getCoveredNegatives()
getCoveredNegatives
in class ScorePosNeg<T extends org.semanticweb.owlapi.model.OWLEntity>
public Set<T> getCoveredPositives()
getCoveredPositives
in class ScorePosNeg<T extends org.semanticweb.owlapi.model.OWLEntity>
public Set<T> getNotCoveredPositives()
getNotCoveredPositives
in class ScorePosNeg<T extends org.semanticweb.owlapi.model.OWLEntity>
public Set<T> getNotCoveredNegatives()
getNotCoveredNegatives
in class ScorePosNeg<T extends org.semanticweb.owlapi.model.OWLEntity>
public ScorePosNeg<T> getModifiedLengthScore(int newLength)
ScorePosNeg
getModifiedLengthScore
in class ScorePosNeg<T extends org.semanticweb.owlapi.model.OWLEntity>
newLength
- Length of the concept.public double getAccuracy()
Score
getAccuracy
in class Score
AbstractLearningProblem.getAccuracyOrTooWeak(OWLObject, double)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann