nan in arff files

Help
Anonymous
2013-03-28
2013-03-28
  • Anonymous

    Anonymous - 2013-03-28

    Hi,
    soybean file format arff from ML repository has nan for missing values.
    how can itbe changed for waffle to handle it ,please?
    ta

     
  • Mike Gashler

    Mike Gashler - 2013-03-28

    I suppose the easiest solution would be to search-and-replace ",nan," with ",?," or ",,". Here is a version of soybean in this format:
    http://uaf46365.ddns.uark.edu/data/uci_class/soybean.arff
    I could modify Waffles to treat "nan" as an unknown value, but "nan" often occurs because someone inadvertently divided 0 by 0, and I think it is generally a bad idea to silently swallow errors, since this can lead to bugs that are difficult to find.

     

Anonymous
Anonymous

Cancel  Add attachments