if (importance && !regression)
varimp = doVarImpCalc(fr, this, modelResp);
}
}
private void scoreOnTrain(Frame fr, Vec modelResp) {
<BUG>final CMTask cmTask = CMTask.scoreTask(this, treeCount(), oobee, priordist(), modeldist(), fr, modelResp);
if (regression) {</BUG>
float mse = cmTask._ss / ( (float) (cmTask._rowcnt));
errs = Arrays.copyOf(errs, errs.length + 1);
errs[errs.length - 1] = mse;

if (importance && !regression)
varimp = doVarImpCalc(fr, this, modelResp);
}
}
private void scoreOnTrain(Frame fr, Vec modelResp) {
final CMTask cmTask = CMTask.scoreTask(this, treeCount(), oobee, fr, modelResp);
if (regression) {
float mse = cmTask._ss / ( (float) (cmTask._rowcnt));
errs = Arrays.copyOf(errs, errs.length + 1);
errs[errs.length - 1] = mse;
