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

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

  • 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.