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