Please no top-posting, see mailing list etiquette why
(
http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html).
> Will it affect if my "nominal" attribute has integer values only,no
> fractions.
Weka doesn't differentiate between integer and float, every number is
converted to a double and treated as such.
> 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.
Use the NumericToNominal filter (package
weka.filters.unsupervised.attribute ) to convert them to nominal
values. Or store your attributes as STRING attributes and then use the
StringToNominal filter (same package) to convert them.
[...]
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 info and subscription status:
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalistList etiquette:
http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html