public class QueryTreeScore extends Score
Constructor and Description |
---|
QueryTreeScore(double score,
double accuracy,
Set<org.semanticweb.owlapi.model.OWLIndividual> posAsPos,
Set<org.semanticweb.owlapi.model.OWLIndividual> posAsNeg,
Set<org.semanticweb.owlapi.model.OWLIndividual> negAsPos,
Set<org.semanticweb.owlapi.model.OWLIndividual> negAsNeg,
double specifityScore,
int nrOfSpecificNodes) |
Modifier and Type | Method and Description |
---|---|
double |
getAccuracy()
This method returns a value, which indicates how accurate a
hypothesis solves a learning problem.
|
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getCoveredNegatives() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getCoveredPositives() |
double |
getDistancePenalty() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getNotCoveredNegatives() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getNotCoveredPositives() |
double |
getScore() |
void |
setAccuracy(double accuracy) |
void |
setDistancePenalty(double distancePenalty) |
void |
setScore(double score) |
String |
toString() |
public QueryTreeScore(double score, double accuracy, Set<org.semanticweb.owlapi.model.OWLIndividual> posAsPos, Set<org.semanticweb.owlapi.model.OWLIndividual> posAsNeg, Set<org.semanticweb.owlapi.model.OWLIndividual> negAsPos, Set<org.semanticweb.owlapi.model.OWLIndividual> negAsNeg, double specifityScore, int nrOfSpecificNodes)
public double getScore()
public void setScore(double score)
score
- the score to setpublic void setDistancePenalty(double distancePenalty)
distancePenalty
- the distancePenalty to setpublic double getDistancePenalty()
public double getAccuracy()
Score
getAccuracy
in class Score
AbstractLearningProblem.getAccuracyOrTooWeak(OWLObject, double)
public void setAccuracy(double accuracy)
accuracy
- the accuracy to setpublic Set<org.semanticweb.owlapi.model.OWLIndividual> getCoveredNegatives()
public Set<org.semanticweb.owlapi.model.OWLIndividual> getCoveredPositives()
public Set<org.semanticweb.owlapi.model.OWLIndividual> getNotCoveredPositives()
public Set<org.semanticweb.owlapi.model.OWLIndividual> getNotCoveredNegatives()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann