code: public void setEntropyThreshold(double entropyThreshold)
      {
          if(entropyThreshold < 0 || Double.isNaN(entropyThreshold) || Double.isInfinite(entropyThreshold))
              throw new IllegalArgumentException("Entropy threshold must be non-negative, not " + entropyThreshold);
          this.entropyThreshold = entropyThreshold;
          set_h_properly();
      }
docs: Sets the entropy threshold used for training. It ensures a diversity of
  hyper-planes are used, where larger values encourage using more of the
  hyper planes.<br>
  <br>
  This method is adjusted from the paper's definition so that the input can
  be any non-negative value. It is recommended to try values in the range
  of [0, 10]
  
  @param entropyThreshold the non-negative parameter for hyper-plane diversity