public static void onlyNumericalAttributes(ExampleSet es,String task) throws OperatorException {
  onlyNumericalAttributes(es.getAttributes(),task);
}

public static void onlyNumericalAttributes ( ExampleSet es , String task ) throws OperatorException { onlyNumericalAttributes ( es . getAttributes ( ) , task ) ; }
the attributes all have to be numerical .
