Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/21/10 14:14:25 (14 years ago)
Author:
gkronber
Message:

Fixed bug in scaled MSE evaluator for time series. #1142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.TimeSeriesPrognosis/3.3/Symbolic/Evaluators/SymbolicTimeSeriesPrognosisScaledNormalizedMseEvaluator.cs

    r4401 r4460  
    287287          betas[component] = 1;
    288288        } else {
    289           if (estimatedVarianceEvaluators[component].Variance.IsAlmost(0.0))
     289          if (estimatedVarianceEvaluators[component].PopulationVariance.IsAlmost(0.0))
    290290            betas[component] = 1;
    291291          else
    292             betas[component] = covarianceEvaluators[component].Covariance / estimatedVarianceEvaluators[component].Variance;
     292            betas[component] = covarianceEvaluators[component].Covariance / estimatedVarianceEvaluators[component].PopulationVariance;
    293293
    294294          alphas[component] = originalMeanCalculators[component].Mean - betas[component] * estimatedVarianceEvaluators[component].Mean;
Note: See TracChangeset for help on using the changeset viewer.