Options

Error using the applymodel operator

jakesjakes Member Posts: 4 Contributor I
Hi,

I am using RM5 and still learning!!

I am using a training and testing dataset.

But I have problems applying the model to the testing dataset. I have tried Naive Bayes and Neural network . But the same error comes up again.

WARNING: SimpleDistribution: The number of nominal values is not the same for training and application for attribute 'Season', training: 4, application: 1
WARNING: Caught exception in concurrent execution of Apply Model (Apply Model): java.lang.ArrayIndexOutOfBoundsException: 42


Can anyone help?

Regards,

Jake

Answers

  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Jake,
    it seems to me, your training and test set differ in some nominal values. Some errors might arise if there are nominal values in the test set, which weren't part of the training set.

    Greetings,
    Β  Sebastian
Sign In or Register to comment.