- Timestamp:
- 02/20/18 08:12:31 (7 years ago)
- Location:
- trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionLineChartViewBase.cs
r15785 r15787 79 79 80 80 for (int i = 0; i < rows.Length; i++) { 81 if (!double.IsInfinity(targetVariables[i]) ) {81 if (!double.IsInfinity(targetVariables[i]) && !double.IsNaN(targetVariables[i])) { 82 82 xVals.Add(rows[i]); 83 83 yVals.Add(targetVariables[i]); -
trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionResidualsLineChartView.cs
r15785 r15787 38 38 var target = problemData.Dataset.GetDoubleValues(problemData.TargetVariable, idx).ToArray(); 39 39 for (int i = 0; i < idx.Length; i++) { 40 if (!double.IsInfinity(target[i]) ) {40 if (!double.IsInfinity(target[i]) && !double.IsNaN(target[i])) { 41 41 x[i] = target[i] - x[i]; 42 42 }
Note: See TracChangeset
for help on using the changeset viewer.