Re: Select Attributes bug?

Peter Reutemann <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12+6tjBvC8nJaRsss3M3qUw0Jbbqwt_A_yPcWVLe9f7-rQ@mail.gmail.com>
> Hey, im trying to run Select Attributes With Information Gain on Weka Explorer.
>
> I dont have the ability to start. See the Pictures Down below. I also put in the dataset im using. Do you guys have any idea why i cant start the info gain?

Looking at the Capabilities (GenericObjectEditor window ->
Capabilities button), you can see that InfoGainAttributeEval cannot
handle numeric classes:
Class -- Binary class, Missing class values, Nominal class
Attributes -- Binary attributes, Date attributes, Empty nominal
attributes, Missing values, Nominal attributes, Numeric attributes,
Unary attributes

And your dataset has a numeric class (faminc_50).

You can use the NumericToNominal filter on the attributes that are
actually categorical rather than numeric ones:
https://weka.sourceforge.io/doc.dev/weka/filters/unsupervised/attribute/NumericToNominal.html

Then save your dataset as ARFF and use that from then on.

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.