@Test
public void testIdenticalLabelFalse() throws Exception {

  int n = 10;
  for (int nloop = 0; nloop < n; nloop++) {
    String descriptor = Utils.randomDescriptor(rng, ATTRIBUTE_COUNT);
    int label = Utils.findLabel(descriptor);
    double[][] source = Utils.randomDoublesWithSameLabel(rng, descriptor, false,
            DATA_SIZE, rng.nextInt());
    // choose a random vector and change its label
    int index = rng.nextInt(DATA_SIZE);
    source[index][label]++;
    String[] sData = Utils.double2String(source);
    
    Dataset dataset = DataLoader.generateDataset(descriptor, false, sData);
    Data data = DataLoader.loadData(dataset, sData);
    assertFalse(data.identicalLabel());
  }
}