docs: public void setTrainingProportion(double trainingProportion)
      {
          //+- Inf case captured in >1 <= 0 case
          if(trainingProportion > 1 || trainingProportion <= 0 || Double.isNaN(trainingProportion))
              throw new ArithmeticException("Training Proportion is invalid");
          this.trainingProportion = trainingProportion;
      }