code: @Override
      public void setOutcome(int example, int label) {
          if (example > numExamples())
              throw new IllegalArgumentException("No example at " + example);
          if (label > numOutcomes() || label < 0)
              throw new IllegalArgumentException("Illegal label");
  
          INDArray outcome = FeatureUtil.toOutcomeVector(label, numOutcomes());
          getLabels().putRow(example, outcome);
      }
docs: Sets the outcome of a particular example
  
  @param example the example to transform
  @param label   the label of the outcome