Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Error using the applymodel operator
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
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
0
Answers
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