<BUG>}if(this.isRF || (this.isGBDT && this.gbdtSampleWithReplacement)) {this.rng = new PoissonDistribution[treeNum];for(int i = 0; i < treeNum; i++) {this.rng[i] = new PoissonDistribution(this.modelConfig.getTrain().getBaggingSampleRate());}}</BUG><CONTEXT>this.learningRate = Double.valueOf(validParams.get(NNTrainer.LEARNING_RATE).toString());Object swrObj = validParams.get("GBTSampleWithReplacement");if(swrObj != null) {this.gbdtSampleWithReplacement = Boolean.TRUE.toString().equalsIgnoreCase(swrObj.toString());}<extra_id_0>this.checkpointOutput = new Path(context.getProps().getProperty(</CONTEXT>
this.isStratifiedSampling = this.modelConfig.getTrain().getStratifiedSample();