It looks like the problem is in your ConvertToInstance() method. It's
probably not setting up the relational attributes correctly.
On 13/01/2014 22:05, Tianjun Zhou wrote:
this is the first time to use this list, really hope that i do send this
and my question is that by using the following program, i met a error,
that i do not know how to deal with that.
the code are:
Instances shotInstances =
BufferedWriter writer = new BufferedWriter(new
and the error(if necessary, i can also post all about the error here):
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
a little thing about my Instancese, that is Instances with five
relational attributes, each of them have a different size from 0 to
maybe 4 or 5.
there are totally 240 Instances.
Can anyone give me a help to the error? even some tipps to help me to
edit the program?
with best regards to all
Wekalist mailing list
Send posts to: Wekalist(a)list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html