Error using the applymodel operator
jakes
New Altair Community Member
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
Tagged:
0
Answers
-
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,
Sebastian0