11 Apr 2002 23:42
Re: Class Value
Richard Kirkby <rkirkby <at> cs.waikato.ac.nz>
2002-04-11 21:42:27 GMT
2002-04-11 21:42:27 GMT
Hi Wendy, distributionForInstance is not a good place to do this. The evaluation modules in Weka will deliberately set the class of test instances to missing to remove any possibility of cheating. As for suggesting a better spot, I'm not really sure, but it would have to be some part of code where you have control over the test instances so as to get at the class values that you need. Richard Weka support -- Wendy wrote: > > hi, > I tried using classValue() too. The program says that the class > value is missing. What I am trying to do is to record the top 20 NN > output values and their classes. Currently I am trying to get these > values in distributionForInstance. I don't think that this is the correct > location to do this but I could not find a better location. Is their > another spot that would not always have missing class values? > > Thank you very much for you help, > Wendy > > On Thu, 11 Apr 2002, Richard Kirkby wrote: > > > Hi Wendy, > >(Continue reading)
RSS Feed