How to convert String attribute into a numeric attribute using Weka API in Java : I have a  dataset (weka3 Instances object) uploaded in weka API.
I need to convert an attribute type from String into Nominal.
Any one know how to do this ? 
Thanks 