Re: simplest of code

Peter Reutemann <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12K+uQqbQtzsdNPJB-8d=+6H8bxheqrN0tNUKPgGPMvWug@mail.gmail.com>
> > Have errors with 'currentInstance' and 'vals'
>
> Java requires you to define the type of variables, since it is a
> statically typed language (unlike Python).
>
> An IDE like IntelliJ Idea would have highlighted the errors for you.
>
> I've attached a reworked version.

Just modify the "package" to suit your environment.

Cheers, Peter
-- 
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.