public class ScoreThreeValued<T extends org.semanticweb.owlapi.model.OWLEntity>
Computes the score (a negative value) by comparing the classification results
with ideal results.
TODO: The implementation is not very efficient, because some things are
only computed to be able to present the score results. This means that
it would be better to compute only the necessary computations and do
the other ones only when they are needed to calculate statistical values.
number of cases of individuals that got exactly the same
classification with both definitions
public int getOmmissionErrorRate()
amount of individuals for which class-membership w.r.t.
the given query could not determined using the induced
definition, while they actually belong (do not belong) to the
public int getCommissionErrorRate()
amount of individuals found not to belong to the query concept
according to the induced definition, while they actually belong
to it and vice-versa
public int getInductionRate()
amount of individuals found to belong or not to belong to the
query concept according to the induced definition, while either
case is not logically derivable from the knowledge base with the
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.