🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Bug when updating Weka Models with ModelUpdater"

User: "pser"
New Altair Community Member
Updated by Jocelyn
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

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "land"
    New Altair Community Member
    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