SmartDataAnalytics / DL-Learner

A tool for supervised Machine Learning in OWL and Description Logics
http://dl-learner.org
GNU General Public License v3.0
152 stars 34 forks source link

Ignored concepts/properties not taken into account by refinement operator #43

Closed LorenzBuehmann closed 8 years ago

LorenzBuehmann commented 8 years ago

Problem:

Class expression learning algorithms derived from AbstractCELA allow to set classes and object/data properties that should be ignored during learning. Those ignored entities are only considered during the initialization of the hierarchies in initClassHierarchy() initObjectPropertyHierarchy() initDataPropertyHierarchy()

Those hierarchy objects are put into the refinement operator. The problem is that for some tasks only the underlying reasoner is used:

if(useNumericDatatypes) {
            Set<OWLDataProperty> numericDPs = reasoner.getNumericDataProperties();

or

if(useDataHasValueConstructor) {
            Set<OWLDataProperty> stringDPs = reasoner.getStringDatatypeProperties();

and even in the init() method.

This can lead to solutions that can contain ignored entities, thus, should not be returned and also cause a larger search space than necessary.

SimonBin commented 8 years ago

hopefully fixed by #48