Hi,
i am trying to run real attributes through a Decision Tree (W-LMT from the WEKA Addons) and of course I have put a Discretize operator in front of it.
But when I start the process I get this:
Process failed
The method getNominalMapping() is not supported by numerical attributes! You probably tried to execute an operator on a numerical data which is only able to handle nominal values. You could use one if the discretization operators before this application.
And that message sort of confused me because that was exactly what I did.
At first, just to test if the operator would work, I just took my dataset, made one attribute label, ran it through the Discretize operator und after that through the W-LMT. That worked fine.
But now I'm not adressing the label directly in the Discretize, but by macro (see attatched xml code); the rest is exactly the same as in my test process (so I allready thought this is the problem, but I can't see why).
You can find the operator in Loop Attributes > Work on subset > the last X-Validation.
All the other X-Vals worked fine (process has run several times without the W-LMT and without problems)
Hope you can help!
Ps.: Dropbox link leads to a text data conatining the xml. Couldn't attach it here
http://dl.dropbox.com/u/6522515/IPH/xml.txt