"Error when running Naive Bayes"

BoggsyBoggsy Member Posts: 3 Contributor I
edited June 2019 in Help
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


  • Options
    Nils_WoehlerNils_Woehler Member Posts: 463 Maven

    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.

Sign In or Register to comment.