infer attributes using Weka