code: public AttributeDataset numericDataset(String responseColName) {
          return dataset(
              table.numberColumn(responseColName),
              AttributeType.NUMERIC,
              table.numericColumns().stream().filter(c -> !c.name().equals(responseColName)).collect(Collectors.toList()));
      }
docs: Returns a dataset where the response column is numeric. E.g. to be used for a regression