« Return to Thread: regarding nominal attributes

Re: regarding nominal attributes

by gaurav_kl :: Rate this Message:

Reply to Author | View in Thread

Will it affect if my "nominal" attribute has integer values only,no fractions.Actually,my code is putting data from Lists  directly into ARFF file.So,it's a bit tedious to specify the nominal attributes specifically for each dataset.
I am using the NaiveBayes,J48,IBk,MultiPerceptron and SMO classifiers.

Thanks
Gaurav
Peter Reutemann-3 wrote:
> I wanted to know whether the performance of Weka's classifiers is too
> affected if I keep my nominal attributes which has "integer" values as
> numeric only.Is it important to assign these attribute  values to  "nominal"
> type.

If you don't specify a nominal attribute as such, you might end up
with unwanted results. For instance, how do you interprete a value of
3.4 (a classifier might use this numeric value to split on)? If
fractions of your attribute don't make any sense, leave it as nominal
attribute.

Cheers, Peter
--
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
http://www.cs.waikato.ac.nz/~fracpete/           Ph. +64 (7) 858-5174

_______________________________________________
Wekalist mailing list
Send posts to: Wekalist@list.scms.waikato.ac.nz
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

 « Return to Thread: regarding nominal attributes