You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DL-Learners fails to initialize when class expressions are used to specify positive and negative examples #86
The problem seems to be that the ExampleLoader component needs to have a reference to a Learning Problem component set during its initialization. Only then it will create positive and negative examples from the class expressions. The problem, however, is that this reference is not set at that time. This is circumvented by passing the Learning Problem instance to the ExampleLoader in the Learning Problem's init() method and calling ExampleLoader::init() again - but only if the ExampleLoader has not been initialized yet. However, the problem is that ExampleLoader::init() always sets the initialized flag to true at the end of the method.
When I remove the last line "initialized = true;" from the ExampleLoader::init() method, DL-Learner is initialized properly.
Activity