Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/28/10 15:56:17 (14 years ago)
Author:
gkronber
Message:

Updated data-analysis plugins to use ALGLIB version 3.1.0. #875

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Tests/HeuristicLab.Problems.DataAnalysis.Tests-3.3.csproj

    r4477 r4980  
    139139      <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3</Name>
    140140    </ProjectReference>
    141     <ProjectReference Include="..\..\..\HeuristicLab.ExtLibs\HeuristicLab.ALGLIB\2.5.0\ALGLIB-2.5.0\ALGLIB-2.5.0.csproj">
    142       <Project>{29E4B033-1FEF-4FE1-AE17-0A9319D7C54E}</Project>
    143       <Name>ALGLIB-2.5.0</Name>
     141    <ProjectReference Include="..\..\..\HeuristicLab.ExtLibs\HeuristicLab.ALGLIB\3.1.0\ALGLIB-3.1.0\ALGLIB-3.1.0.csproj">
     142      <Project>{FC841674-62A7-4055-BE91-E41944B6C606}</Project>
     143      <Name>ALGLIB-3.1.0</Name>
    144144    </ProjectReference>
    145145    <ProjectReference Include="..\..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Tests/StatisticCalculatorsTest.cs

    r4722 r4980  
    6969          double tmp = 0;
    7070
    71           alglib.descriptivestatistics.calculatemoments(ref xs, n, ref mean_alglib, ref variance_alglib, ref tmp, ref tmp);
     71          alglib.samplemoments(xs, n, out  mean_alglib, out variance_alglib, out tmp, out tmp);
    7272
    7373          var calculator = new OnlineMeanAndVarianceCalculator();
     
    100100            double[] xs = x.ToArray();
    101101            double[] ys = y.ToArray();
    102             double r2_alglib = alglib.correlation.pearsoncorrelation(ref xs, ref ys, n);
     102            double r2_alglib = alglib.pearsoncorrelation(xs, ys, n);
    103103            r2_alglib *= r2_alglib;
    104104
Note: See TracChangeset for help on using the changeset viewer.