Convertion from nominal to numeric

[email protected] Wed, 28 Dec 2022 21:23:35 -0000
Newsgroups gmane.comp.ai.weka
Message-ID <167226261592.2350.17207637203390506540@sys-mailman-prd.its.waikato.ac.nz>
Hello all,
Let's say you have a dataset with a nominal attribute: education with values like HighSchool, College, GraduateSchool., etc The values can be ranked. I would like to convert them so that their numerical value is consistent with the ranking of the meaning, rather than the ranking in Weka which seems to come from the order the values were found in the CSV file.
How can I reorder the values in a meaningful ranking and then assign a numerical value?
Thanks!
_______________________________________________
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