Changeset 17931 for trunk/HeuristicLab.Problems.Instances.DataAnalysis
- Timestamp:
- 04/09/21 19:41:33 (4 years ago)
- Location:
- trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/HeuristicLab.Problems.Instances.DataAnalysis-3.3.csproj
r17684 r17931 24 24 <WarningLevel>4</WarningLevel> 25 25 <Prefer32Bit>false</Prefer32Bit> 26 <LangVersion> 5</LangVersion>26 <LangVersion>7.0</LangVersion> 27 27 </PropertyGroup> 28 28 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> … … 34 34 <WarningLevel>4</WarningLevel> 35 35 <Prefer32Bit>false</Prefer32Bit> 36 <LangVersion> 5</LangVersion>36 <LangVersion>7.0</LangVersion> 37 37 </PropertyGroup> 38 38 <PropertyGroup> … … 56 56 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> 57 57 <Prefer32Bit>false</Prefer32Bit> 58 <LangVersion> 5</LangVersion>58 <LangVersion>7.0</LangVersion> 59 59 </PropertyGroup> 60 60 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> … … 74 74 <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> 75 75 <Prefer32Bit>false</Prefer32Bit> 76 <LangVersion> 5</LangVersion>76 <LangVersion>7.0</LangVersion> 77 77 </PropertyGroup> 78 78 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> … … 90 90 <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> 91 91 <Prefer32Bit>false</Prefer32Bit> 92 <LangVersion> 5</LangVersion>92 <LangVersion>7.0</LangVersion> 93 93 </PropertyGroup> 94 94 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> … … 108 108 <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> 109 109 <Prefer32Bit>false</Prefer32Bit> 110 <LangVersion> 5</LangVersion>110 <LangVersion>7.0</LangVersion> 111 111 </PropertyGroup> 112 112 <ItemGroup> 113 <Reference Include="ALGLIB-3. 7.0, Version=3.7.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">113 <Reference Include="ALGLIB-3.17.0, Version=3.17.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 114 114 <SpecificVersion>False</SpecificVersion> 115 <HintPath>..\..\bin\ALGLIB-3.7.0.dll</HintPath> 115 <HintPath>..\..\bin\ALGLIB-3.17.0.dll</HintPath> 116 <Private>False</Private> 116 117 </Reference> 117 118 <Reference Include="System" /> -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Plugin.cs.frame
r17184 r17931 25 25 [Plugin("HeuristicLab.Problems.Instances.DataAnalysis", "3.3.16.$WCREV$")] 26 26 [PluginFile("HeuristicLab.Problems.Instances.DataAnalysis-3.3.dll", PluginFileType.Assembly)] 27 [PluginDependency("HeuristicLab.ALGLIB", "3. 7")]27 [PluginDependency("HeuristicLab.ALGLIB", "3.17")] 28 28 [PluginDependency("HeuristicLab.Common", "3.3")] 29 29 [PluginDependency("HeuristicLab.Collections", "3.3")] -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Friedman/FriedmanRandomFunction.cs
r17180 r17931 121 121 // mu is generated from same distribution as x 122 122 double[] mu = Enumerable.Range(0, nl).Select(_ => random.NextDouble() * 2 - 1).ToArray(); 123 double[,] v = new double[nl, nl];124 123 var condNum = 4.0 / 0.01; // as given in the paper for max and min eigen values 125 124 … … 128 127 alglib.math.rndobject = new System.Random(random.Next()); 129 128 130 alglib. matgen.spdmatrixrndcond(nl, condNum, refv);129 alglib.spdmatrixrndcond(nl, condNum, out var v); 131 130 // restore 132 131 alglib.math.rndobject = curRand; … … 137 136 for (int i = 0; i < nRows; i++) { 138 137 for (int j = 0; j < nl; j++) z[j] = xs[j][i] - mu[j]; 139 alglib. ablas.rmatrixmv(nl, nl, v, 0, 0, 0, z, 0, ref y, 0);138 alglib.rmatrixmv(nl, nl, v, 0, 0, 0, z, 0, ref y, 0); 140 139 141 140 // dot prod -
trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/VariableNetworks/GaussianProcessVariableNetwork.cs
r17180 r17931 68 68 69 69 // decompose 70 alglib. trfac.spdmatrixcholesky(ref K, nRows, false);70 alglib.spdmatrixcholesky(ref K, nRows, false); 71 71 72 72 73 73 // calc y = Lu 74 74 var y = new double[u.Length]; 75 alglib. ablas.rmatrixmv(nRows, nRows, K, 0, 0, 0, u, 0, ref y, 0);75 alglib.rmatrixmv(nRows, nRows, K, 0, 0, 0, u, 0, ref y, 0); 76 76 77 77 // calculate relevance by removing dimensions … … 96 96 97 97 var yChanged = new double[u.Length]; 98 alglib. ablas.rmatrixmv(nRows, nRows, changedK, 0, 0, 0, u, 0, ref yChanged, 0);98 alglib.rmatrixmv(nRows, nRows, changedK, 0, 0, 0, u, 0, ref yChanged, 0); 99 99 100 100 OnlineCalculatorError error;
Note: See TracChangeset
for help on using the changeset viewer.