1 Feb 2006 08:36
Re: Missing Value Filter
Alban Hessler <Alban.Hessler <at> netlab.nec.de>
2006-02-01 07:36:26 GMT
2006-02-01 07:36:26 GMT
Hello, I found why it was not working correctly. I was uploading the attributes with an arff file empty from any data, and then where adding instances read from a database. But when Weka load the instance from the database, it was counting '?' as nominal value. And then I was adding those instances to my empty Instances read from the ARFF. So far, no error, except when I tried to filter out those missing values. If I am doing that, it is because I am not sure if Weka will read out the possible attribute values from the database. I see that weka, when reading from a database, builds up the attributes possible values as long as it sees unknown values. But then counting the '?' as a possible value isn't a missbehaviour? My workaround was too create an arff buffer from the database using my ARFF file for the attributes description, and then creates the instances from there. Thank you, Peter, for the help, Cheers, Alban Peter Reutemann a écrit : >> Then when trying to build my classifier, it detects missing values, >> and runs the ReplaceMissingValues filter. > > Why not run the filter by default? E.g., SMO does that (as long as the > checks are turned on). >(Continue reading)
RSS Feed