Changeset 16001 for branches/2904_CalculateImpacts/3.4/OnlineCalculators/OnlineBoundedMeanSquaredErrorCalculator.cs
- Timestamp:
- 07/24/18 10:43:25 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2904_CalculateImpacts/3.4/OnlineCalculators/OnlineBoundedMeanSquaredErrorCalculator.cs
r15831 r16001 29 29 private double errorSum; 30 30 private int n; 31 public double BoundedMeanSquaredError 32 { 33 get 34 { 31 public double BoundedMeanSquaredError { 32 get { 35 33 return n > 0 ? errorSum / n : 0.0; 36 34 } … … 61 59 #region IOnlineCalculator Members 62 60 private OnlineCalculatorError errorState; 63 public OnlineCalculatorError ErrorState 64 { 61 public OnlineCalculatorError ErrorState { 65 62 get { return errorState; } 66 63 } 67 public double Value 68 { 64 public double Value { 69 65 get { return BoundedMeanSquaredError; } 70 66 } … … 113 109 } 114 110 } 115 116 public double CalculateValue(IEnumerable<double> originalValues, IEnumerable<double> estimatedValues, out OnlineCalculatorError errorState) {117 throw new NotImplementedException();118 }119 111 } 120 112 }
Note: See TracChangeset
for help on using the changeset viewer.