Changeset 3980
- Timestamp:
- 06/30/10 15:01:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Evaluators/SimpleMeanAbsolutePercentageErrorEvaluator.cs
r3452 r3980 57 57 if (!double.IsNaN(e) && !double.IsInfinity(e) && 58 58 !double.IsNaN(o) && !double.IsInfinity(o) && !o.IsAlmost(0.0)) { 59 double error = Math.Abs((e - o) / o); 60 sre += error * error; 59 sre += Math.Abs((e - o) / o); 61 60 cnt++; 62 61 }
Note: See TracChangeset
for help on using the changeset viewer.