Re: Binary values to numeric
Eibe Frank <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <CADehzLXJjV=7t50Ery3fYXuTa4w0Hsi9Ss8uO9m=-fTaugwebA@mail.gmail.com> |
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