Changeset 4460 for branches/DataAnalysis
- Timestamp:
- 09/21/10 14:14:25 (14 years ago)
- Location:
- branches/DataAnalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.TimeSeriesPrognosis/3.3/Symbolic/Evaluators/SymbolicTimeSeriesPrognosisScaledNormalizedMseEvaluator.cs
r4401 r4460 287 287 betas[component] = 1; 288 288 } else { 289 if (estimatedVarianceEvaluators[component]. Variance.IsAlmost(0.0))289 if (estimatedVarianceEvaluators[component].PopulationVariance.IsAlmost(0.0)) 290 290 betas[component] = 1; 291 291 else 292 betas[component] = covarianceEvaluators[component].Covariance / estimatedVarianceEvaluators[component]. Variance;292 betas[component] = covarianceEvaluators[component].Covariance / estimatedVarianceEvaluators[component].PopulationVariance; 293 293 294 294 alphas[component] = originalMeanCalculators[component].Mean - betas[component] * estimatedVarianceEvaluators[component].Mean; -
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Evaluators/SymbolicRegressionScaledMeanAndVarianceSquaredErrorEvaluator.cs
r4195 r4460 206 206 beta = 1; 207 207 } else { 208 if (yVarianceCalculator. Variance.IsAlmost(0.0))208 if (yVarianceCalculator.PopulationVariance.IsAlmost(0.0)) 209 209 beta = 1; 210 210 else 211 beta = ytCovarianceEvaluator.Covariance / yVarianceCalculator. Variance;211 beta = ytCovarianceEvaluator.Covariance / yVarianceCalculator.PopulationVariance; 212 212 213 213 alpha = tMeanCalculator.Mean - beta * yVarianceCalculator.Mean;
Note: See TracChangeset
for help on using the changeset viewer.