Changeset 4458 for branches/DataAnalysis
- Timestamp:
- 09/21/10 13:31:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Evaluators/SymbolicRegressionScaledMeanSquaredErrorEvaluator.cs
r4195 r4458 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.