System.out.println(glmt._gram.pprint(glmt._gram.getXX()));
done = true;
newBeta = glmt._beta == null?newBeta:glmt._beta;
}
done = done || family == Family.gaussian || (glmt._iter+1) == max_iter || beta_diff(glmt._beta, newBeta) < beta_epsilon;
<BUG>GLMModel res = new GLMModel(dest(),null,glmt._iter+1,fr,glmt,beta_epsilon,alpha,lambda,newBeta,0.5,null,System.currentTimeMillis() - start_time);
</BUG>
if(done){
<BUG>if(GLM2.this.n_folds < 2){</BUG>
GLMValidationTask t = new GLMValidationTask(res,_step,_offset,true);
t.doAll(fr);
<BUG>Key valKey = GLMValidation.makeKey();
DKV.put(valKey,t._res);</BUG>
t._res.finalize_AIC_AUC();

System.out.println(glmt._gram.pprint(glmt._gram.getXX()));
done = true;
newBeta = glmt._beta == null?newBeta:glmt._beta;
}
done = done || family == Family.gaussian || (glmt._iter+1) == max_iter || beta_diff(glmt._beta, newBeta) < beta_epsilon;
GLMModel res = new GLMModel(dest(),null,glmt._iter+1,fr,glmt,beta_epsilon,alpha,lambda,newBeta,0.5,null,System.currentTimeMillis() - start_time,GLM2.this.case_mode,GLM2.this.case_val);
if(done){
GLMValidationTask t = new GLMValidationTask(res,_step,_offset,true);
