Changeset 14303 for stable/HeuristicLab.Problems.DataAnalysis
- Timestamp:
- 09/23/16 12:55:16 (8 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14226,14292
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis merged: 14226,14292
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis/3.4/OnlineCalculators/OnlineMeanAndVarianceCalculator.cs
r14186 r14303 75 75 if (double.IsNaN(x) || double.IsInfinity(x) || x > 1E13 || x < -1E13 || (errorState & OnlineCalculatorError.InvalidValueAdded) > 0) { 76 76 errorState = errorState | OnlineCalculatorError.InvalidValueAdded; 77 varianceErrorState = errorState | OnlineCalculatorError.InvalidValueAdded;77 varianceErrorState = varianceErrorState | OnlineCalculatorError.InvalidValueAdded; 78 78 } else { 79 79 n++; -
stable/HeuristicLab.Problems.DataAnalysis/3.4/OnlineCalculators/OnlineNormalizedMeanSquaredErrorCalculator.cs
r14186 r14303 30 30 public double NormalizedMeanSquaredError { 31 31 get { 32 double var = originalVarianceCalculator. Variance;32 double var = originalVarianceCalculator.PopulationVariance; 33 33 double m = meanSquaredErrorCalculator.Mean; 34 34 return var > 0 ? m / var : 0.0; … … 44 44 #region IOnlineCalculator Members 45 45 public OnlineCalculatorError ErrorState { 46 get { return meanSquaredErrorCalculator.MeanErrorState | originalVarianceCalculator. VarianceErrorState; }46 get { return meanSquaredErrorCalculator.MeanErrorState | originalVarianceCalculator.PopulationVarianceErrorState; } 47 47 } 48 48 public double Value {
Note: See TracChangeset
for help on using the changeset viewer.