When I update the progress bar using the events.RuleInductionProgressListener class, the model does not learn and as a result an empty set of rules is returned. This problem occurs only for classification models. I think the problem may occur when I want to use objects in the class that come from outside of it - defined progress bar outside of the class.
When I use an early stop in a script that involves, for example, counting up to 10 generated rules (a class that does not use objects from the outside) then everything works and an incompletely learned model is returned.