The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"Bug when updating Weka Models with ModelUpdater"

pserpser Member Posts: 8 Contributor II
edited May 2019 in Help
When updating a model created with a Weka learner, such as W-NaiveBayesMultinomialUpdateable, only every second example is used. This is due to the following lines in the method updateClassifier in WekaClassifier.java (which is indeed a Rapidminer operator, responsible for calling the Weka learners from Rapidminer):

for (int i = 0; i < instances.numInstances(); i++) {
Instance instance = instances.instance(i++);
classifier.updateClassifier(instance);
}
You are incrementing the variable i two times. You should fix that in the next version of Rapidminer.

Kind regards,
Daniel
Tagged:

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Daniel,
    thank you for this hint. I have corrected it and as soon as we merge our local repository with the sf-repository it can be checked out using the anonymous access.

    Greetings,
      Sebastian
Sign In or Register to comment.