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 when running Naive Bayes"
Hi guys,
Ive been working on a classification process to predict the outcome of football matches as part of a project for college using k-nn and naive bayes. Alls been fine so far, and when using this process with k-nn it works fine but when I apply bayes it throws the following exception:
SEVERE: java.lang.ArrayIndexOutOfBoundsException: -1
Bayes works ok using this process through x-validation so I dont think its a memory thing, but when I use the model for classfication this is when the error is thrown. Its a fairly complex set of operations so the XML exceeds the maximum forum length but was hoping someone may have come across this problem in the past and be able to help me out? Of course I can email XML or data files if anyone is available to help me!
Thanks a lot
Ive been working on a classification process to predict the outcome of football matches as part of a project for college using k-nn and naive bayes. Alls been fine so far, and when using this process with k-nn it works fine but when I apply bayes it throws the following exception:
SEVERE: java.lang.ArrayIndexOutOfBoundsException: -1
Bayes works ok using this process through x-validation so I dont think its a memory thing, but when I use the model for classfication this is when the error is thrown. Its a fairly complex set of operations so the XML exceeds the maximum forum length but was hoping someone may have come across this problem in the past and be able to help me out? Of course I can email XML or data files if anyone is available to help me!
Thanks a lot
Tagged:
0
Answers
this seems to be a nasty bug. If you can send me the XML and your data i will have a look at this. I will send you my mail address via pm.
Best,
Nils