@Override protected void postGlobal() { if (_mb != null) _mb.postGlobal(); }
private float[] compute_metrics(Chunk[] chks, int row_in_chunk, float[] tmp, double[] preds) { for (int i = 0; i < tmp.length; i++) tmp[i] = (float) chks[i].atd(row_in_chunk); _mb.perRow(preds, tmp, GLRMModel.this); return tmp; }
@Override public void reduce(GLRMScore other) { if (_mb != null) _mb.reduce(other._mb); }