48495051525354555657
vectors.add(vector); } Instance[] instances = new Instance[labels.size()]; for (int i = 0; i < instances.length; i++) { instances[i] = new Instance(labels.get(i), vectors.get(i)); } return instances; }