Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/11 15:03:46 (13 years ago)
Author:
gkronber
Message:

Merged changes from trunk to data analysis exploration branch and added fractional distance metric evaluator. #1142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis/3.3/Tests/StatisticCalculatorsTest.cs

    r4459 r5275  
    7777          double tmp = 0;
    7878
    79           alglib.descriptivestatistics.calculatemoments(ref xs, n, ref mean_alglib, ref variance_alglib, ref tmp, ref tmp);
     79          alglib.basestat.samplemoments(xs, n, ref mean_alglib, ref variance_alglib, ref tmp, ref tmp);
    8080
    8181          var calculator = new OnlineMeanAndVarianceCalculator();
     
    108108            double[] xs = x.ToArray();
    109109            double[] ys = y.ToArray();
    110             double r2_alglib = alglib.correlation.pearsoncorrelation(ref xs, ref ys, n);
     110            double r2_alglib = alglib.pearsoncorr2(xs, ys, n);
    111111            r2_alglib *= r2_alglib;
    112112
Note: See TracChangeset for help on using the changeset viewer.