Changeset 4477 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Evaluators
- Timestamp:
- 09/23/10 17:12:30 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
-
Property
svn:mergeinfo
set to
/branches/DataAnalysis merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Evaluators/SymbolicRegressionScaledMeanSquaredErrorEvaluator.cs
r4190 r4477 131 131 beta = 1; 132 132 } else { 133 if (yVarianceCalculator. Variance.IsAlmost(0.0))133 if (yVarianceCalculator.PopulationVariance.IsAlmost(0.0)) 134 134 beta = 1; 135 135 else 136 beta = ytCovarianceEvaluator.Covariance / yVarianceCalculator. Variance;136 beta = ytCovarianceEvaluator.Covariance / yVarianceCalculator.PopulationVariance; 137 137 138 138 alpha = tMeanCalculator.Mean - beta * yVarianceCalculator.Mean;
Note: See TracChangeset
for help on using the changeset viewer.