- Timestamp:
- 09/15/09 14:07:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Modeling/3.2/SimpleR2Evaluator.cs
r2136 r2357 30 30 double cnt = 0; 31 31 for (int i = 0; i < values.GetLength(0); i++) { 32 double estimated = values[i, 0];33 double target = values[i, 1];32 double estimated = values[i, ESTIMATION_INDEX]; 33 double target = values[i, ORIGINAL_INDEX]; 34 34 if (!double.IsNaN(estimated) && !double.IsInfinity(estimated) && 35 35 !double.IsNaN(target) && !double.IsInfinity(target)) { … … 46 46 double targetDeviationTotalSumOfSquares = 0; 47 47 for (int i = 0; i < values.GetLength(0); i++) { 48 double target = values[i, 1];48 double target = values[i, ORIGINAL_INDEX]; 49 49 if (!double.IsNaN(target) && !double.IsInfinity(target)) { 50 50 target = target - targetMean;
Note: See TracChangeset
for help on using the changeset viewer.