@Test public void testGetRootMeanSquareError() { System.out.println("getRootMeanSquareError"); setCalibrationData(host); host.setRamMb(32244); CpuOnlySplinePolynomialEnergyPredictor instance = new CpuOnlySplinePolynomialEnergyPredictor(); double result = instance.getRootMeanSquareError(host); assert(result >= 0.0); }
private double getRootMeanSquareError(double sse, int count) { return Math.sqrt(sse / ((double) count)); }
CpuOnlySplinePolynomialEnergyPredictor extends AbstractEnergyPredictor { private double getRootMeanSquareError(double sse, int count) { return Math.sqrt(sse / ((double) count)); } }
CpuOnlySplinePolynomialEnergyPredictor extends AbstractEnergyPredictor { private double getRootMeanSquareError(double sse, int count) { return Math.sqrt(sse / ((double) count)); } CpuOnlySplinePolynomialEnergyPredictor();  CpuOnlySplinePolynomialEnergyPredictor(PropertiesConfiguration config); }
CpuOnlySplinePolynomialEnergyPredictor extends AbstractEnergyPredictor { private double getRootMeanSquareError(double sse, int count) { return Math.sqrt(sse / ((double) count)); } CpuOnlySplinePolynomialEnergyPredictor();  CpuOnlySplinePolynomialEnergyPredictor(PropertiesConfiguration config); @Override EnergyUsagePrediction getHostPredictedEnergy(Host host, Collection<VM> virtualMachines, TimePeriod duration); @Override EnergyUsagePrediction getVMPredictedEnergy(VM vm, Collection<VM> virtualMachines, Host host, TimePeriod timePeriod); EnergyUsagePrediction predictTotalEnergy(Host host, double usageCPU, TimePeriod timePeriod); @Override double predictPowerUsed(Host host); @Override double predictPowerUsed(Host host, double usageCPU); @Override double getSumOfSquareError(Host host); @Override double getRootMeanSquareError(Host host); @Override String toString(); @Override void printFitInformation(Host host); }
CpuOnlySplinePolynomialEnergyPredictor extends AbstractEnergyPredictor { private double getRootMeanSquareError(double sse, int count) { return Math.sqrt(sse / ((double) count)); } CpuOnlySplinePolynomialEnergyPredictor();  CpuOnlySplinePolynomialEnergyPredictor(PropertiesConfiguration config); @Override EnergyUsagePrediction getHostPredictedEnergy(Host host, Collection<VM> virtualMachines, TimePeriod duration); @Override EnergyUsagePrediction getVMPredictedEnergy(VM vm, Collection<VM> virtualMachines, Host host, TimePeriod timePeriod); EnergyUsagePrediction predictTotalEnergy(Host host, double usageCPU, TimePeriod timePeriod); @Override double predictPowerUsed(Host host); @Override double predictPowerUsed(Host host, double usageCPU); @Override double getSumOfSquareError(Host host); @Override double getRootMeanSquareError(Host host); @Override String toString(); @Override void printFitInformation(Host host);  }