docs: public void setWeakLearner(Regressor weakR)
      {
          if(weakR == null)
              throw new NullPointerException();
          this.weakR = weakR;
          if(weakR instanceof Classifier)
              this.weakL = (Classifier) weakR;
      }