@Test public void testGetCurrentErrors() { assertArrayEquals(new double []{0.664202694282111,0.5147167180492306,1.641785843993505}, m.getCurrentErrors(), 0.0000001); }
@Override public double[] getCurrentErrors() { double [] errors=null; if(sumSquaredError!=null){ errors= new double[sumSquaredError.length]; for (int i=0;i<sumSquaredError.length; i++) errors[i]=getCurrentError(i) ; } return errors; }
RelativeRootMeanSquaredErrorMT extends AbstractMultiTargetErrorMeasurer { @Override public double[] getCurrentErrors() { double [] errors=null; if(sumSquaredError!=null){ errors= new double[sumSquaredError.length]; for (int i=0;i<sumSquaredError.length; i++) errors[i]=getCurrentError(i) ; } return errors; } }
RelativeRootMeanSquaredErrorMT extends AbstractMultiTargetErrorMeasurer { @Override public double[] getCurrentErrors() { double [] errors=null; if(sumSquaredError!=null){ errors= new double[sumSquaredError.length]; for (int i=0;i<sumSquaredError.length; i++) errors[i]=getCurrentError(i) ; } return errors; }  }
RelativeRootMeanSquaredErrorMT extends AbstractMultiTargetErrorMeasurer { @Override public double[] getCurrentErrors() { double [] errors=null; if(sumSquaredError!=null){ errors= new double[sumSquaredError.length]; for (int i=0;i<sumSquaredError.length; i++) errors[i]=getCurrentError(i) ; } return errors; }  @Override void addPrediction(Prediction prediction, Prediction trueClass, double weight); @Override double getCurrentError(); @Override double getCurrentError(int index); @Override double[] getCurrentErrors(); }
RelativeRootMeanSquaredErrorMT extends AbstractMultiTargetErrorMeasurer { @Override public double[] getCurrentErrors() { double [] errors=null; if(sumSquaredError!=null){ errors= new double[sumSquaredError.length]; for (int i=0;i<sumSquaredError.length; i++) errors[i]=getCurrentError(i) ; } return errors; }  @Override void addPrediction(Prediction prediction, Prediction trueClass, double weight); @Override double getCurrentError(); @Override double getCurrentError(int index); @Override double[] getCurrentErrors();  }