code: @Override
      public void validate(String name, String value) throws ParameterException {
          if(!value.equals(ArbiterCliGenerator.REGRESSION) || value.equals(ArbiterCliGenerator.CLASSIFICIATION)) {
              throw new ParameterException("Problem type can only be " + ArbiterCliGenerator.REGRESSION + " or " + ArbiterCliGenerator.CLASSIFICIATION);
  
          }
      }
docs: Validate the parameter.
  
  @param name  The name of the parameter (e.g. "-host").
  @param value The value of the parameter that we need to validate
  @throws ParameterException Thrown if the value of the parameter is invalid.