org.dllearner.learningproblems
Class EvaluationCache
java.lang.Object
org.dllearner.learningproblems.EvaluationCache
public class EvaluationCache
- extends Object
Caches results of previous concept evaluation to speed up
further evaluations. Implements a fast evaluation approach,
which tries to infer the covered examples of a given concept
from previous results.
TODO Under construction.
- Author:
- Jens Lehmann
EvaluationCache
public EvaluationCache(SortedSet<Individual> examples)
put
public void put(Description concept,
SortedSet<Individual> individuals)
infer
public SortedSetTuple<Individual> infer(Description concept)
- Determines which examples are instances of a concept.
- Parameters:
concept -
- Returns:
- A tuple of two sets, where the first element is the
set of individuals belonging to the class and the second element
is the set of individuals not belonging to the class. For all
elements, which are in neither of the sets, the cache cannot
safely determine whether they are concept instances or not.
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann