public class ScoreTwoValued<T extends org.semanticweb.owlapi.model.OWLEntity> extends ScorePosNeg<T>
| Constructor and Description |
|---|
ScoreTwoValued(int conceptLength,
double percentPerLengthUnit,
Set<T> posAsPos,
Set<T> posAsNeg,
Set<T> negAsPos,
Set<T> negAsNeg,
double accuracy) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAccuracy()
This method returns a value, which indicates how accurate a
hypothesis solves a learning problem.
|
Set<T> |
getCoveredNegatives() |
Set<T> |
getCoveredPositives() |
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> |
getNotCoveredNegatives() |
Set<T> |
getNotCoveredPositives() |
double |
getScoreValue()
score = accuracy - 1 - length * length penalty
|
void |
setAccuracy(double accuracy) |
String |
toString() |
public double getAccuracy()
ScoregetAccuracy in class ScoreAbstractLearningProblem.getAccuracyOrTooWeak(OWLObject, double)public double getScoreValue()
getScoreValue in class ScorePosNeg<T extends org.semanticweb.owlapi.model.OWLEntity>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)
ScorePosNeggetModifiedLengthScore in class ScorePosNeg<T extends org.semanticweb.owlapi.model.OWLEntity>newLength - Length of the concept.public void setAccuracy(double accuracy)
accuracy - the accuracy to set
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann