@Test public void testGetCurrentErrors() { assertArrayEquals(new double []{0.7116760869790253,0.5077398163068827,1.5141828120817051}, m.getCurrentErrors(), 0.0000001); }
@Override public double[] getCurrentErrors() { double [] errors=null; if(sumError!=null){ errors=new double[sumError.length]; for (int i=0;i<sumError.length; i++) errors[i]=getCurrentError(i); } return errors; }
RelativeMeanAbsoluteDeviationMT extends AbstractMultiTargetErrorMeasurer { @Override public double[] getCurrentErrors() { double [] errors=null; if(sumError!=null){ errors=new double[sumError.length]; for (int i=0;i<sumError.length; i++) errors[i]=getCurrentError(i); } return errors; } }
RelativeMeanAbsoluteDeviationMT extends AbstractMultiTargetErrorMeasurer { @Override public double[] getCurrentErrors() { double [] errors=null; if(sumError!=null){ errors=new double[sumError.length]; for (int i=0;i<sumError.length; i++) errors[i]=getCurrentError(i); } return errors; }  }
RelativeMeanAbsoluteDeviationMT extends AbstractMultiTargetErrorMeasurer { @Override public double[] getCurrentErrors() { double [] errors=null; if(sumError!=null){ errors=new double[sumError.length]; for (int i=0;i<sumError.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(); }
RelativeMeanAbsoluteDeviationMT extends AbstractMultiTargetErrorMeasurer { @Override public double[] getCurrentErrors() { double [] errors=null; if(sumError!=null){ errors=new double[sumError.length]; for (int i=0;i<sumError.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();  }