docs: public void incrementFeature(Assignment featureAssignment, double amount) {
      if (isDense) {
        statistics.incrementEntry(amount, statisticNames.assignmentToIntArray(featureAssignment));
      } else {
        Tensor increment = SparseTensor.singleElement(getTensorDimensions(), getTensorSizes(),
            statisticNames.assignmentToIntArray(featureAssignment), amount);
        statisticsTensor = statisticsTensor.elementwiseAddition(increment);
      }
    }