docs: public static INDArray toOutcomeVector(long index, long numOutcomes) {
          if (index > Integer.MAX_VALUE || numOutcomes > Integer.MAX_VALUE)
              throw new UnsupportedOperationException();
  
          val nums = new int[(int) numOutcomes];
          nums[(int) index] = 1;
          return NDArrayUtil.toNDArray(nums);
      }