-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassCastException with CELOE and ClassExpressionLearningProblem #105
Comments
seems to be a bug; if you want to test something with a single named class you can see if the |
I have tested again and can confirm that the code works with just I tested with code like the following: ClassExpressionLearningProblem lp = new ClassExpressionLearningProblem(rc);
lp.setClassExpressionToDescribe(
df.getOWLObjectHasValue(
df.getOWLObjectProperty(IRI.create("testProperty")),
df.getOWLNamedIndividual(IRI.create("testIndividual"))
)
);
lp.init(); |
Upon further investigation I think the issue in Line 184 in 6359c3e
But the instance was created to be a Line 108 in 6359c3e
|
right, but there are more subtle issues to consider in e.g. the CELOE algorithm when trying to use such a Learning Problem, which currently does too many assumptions about supported learning problems; so I fear than that needs to be done |
Given the following code and the current release DL-Learner 1.5, there is a ClassCastException thrown during
alg.start();
.Perhaps this could be an issue with me using a single class
#Positive
as the class to describe?The text was updated successfully, but these errors were encountered: