code: public void setMaxNorm(double maxNorm)
      {
          if(Double.isNaN(maxNorm) || Double.isInfinite(maxNorm) || maxNorm <= 0)
              throw new IllegalArgumentException("The maximum norm must be a positive constant, not " + maxNorm);
          this.maxNorm = maxNorm;
      }
docs: Sets the maximum allowed 2 norm for a single neuron's weights
  @param maxNorm the maximum norm per neuron's weights