Re: Binary values to numeric
Neha gupta <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <CA+nrPnvuavKQo8fjEXqd_DD6TeVWqfqPSik5teYWag9=gqu0zQ@mail.gmail.com> |
Thank you Eibe.. If there are also some input features of type Nominal, then in order to just convert the output feature to binary (leaving input features as it is), do we need to specify the "Number" of output feature in 'attributIndices' textbox? I mean instead of first-last, we should specify the address of the output features like 15 ? Warm regards On Sun, Jun 13, 2021 at 5:02 AM Eibe Frank <[email protected]> wrote: > You can do this with the weka.unsupervised.attribute.NominalToBinary > filter. However, in the Preprocess tab of the Explorer, you will need to > unset the class attribute first, before applying the filter, because the > filter skips the class attribute by default. > > To unset the class, use the menu that pops up when you click on the > widget ("combo box") to the left of the "Visualize all" button. Pick the > first entry in the menu, named "No class". > > Cheers, > Eibe > > On Sun, Jun 13, 2021 at 2:54 PM Neha gupta <[email protected]> > wrote: > >> How can I convert my output variable values (Yes and No) to 0 and 1 in >> Weka explorer. >> >> Warm regards >> Neha >> _______________________________________________ >> 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 >> > _______________________________________________ > 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 > _______________________________________________ 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