Changeset 12817 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis
- Timestamp:
- 07/30/15 16:55:22 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessModel.cs
r12792 r12817 168 168 alglib.densesolverreport denseSolveRep; 169 169 170 var res = alglib. spdmatrixcholesky(ref l, n, false);170 var res = alglib.trfac.spdmatrixcholesky(ref l, n, false); 171 171 if (!res) throw new ArgumentException("Matrix is not positive semidefinite"); 172 172 … … 297 297 298 298 // for stddev 299 alglib. rmatrixlefttrsm(n, newN, l, 0, 0, false, false, 0, ref sWKs, 0, 0);299 alglib.ablas.rmatrixlefttrsm(n, newN, l, 0, 0, false, false, 0, ref sWKs, 0, 0); 300 300 301 301 for (int i = 0; i < newN; i++) { -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/HeuristicLab.Algorithms.DataAnalysis-3.4.csproj
r12790 r12817 107 107 </PropertyGroup> 108 108 <ItemGroup> 109 <Reference Include="ALGLIB-3. 9.0, Version=3.9.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">110 <HintPath>..\..\bin\ALGLIB-3. 9.0.dll</HintPath>109 <Reference Include="ALGLIB-3.7.0, Version=3.7.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 110 <HintPath>..\..\bin\ALGLIB-3.7.0.dll</HintPath> 111 111 <Private>False</Private> 112 112 </Reference> -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs
r12792 r12817 47 47 private LinearRegression(LinearRegression original, Cloner cloner) 48 48 : base(original, cloner) { 49 50 49 } 51 50 public LinearRegression() … … 78 77 throw new NotSupportedException("Linear regression does not support NaN or infinity values in the input dataset."); 79 78 80 alglib.linearmodel lm ;81 alglib.lrreport ar ;79 alglib.linearmodel lm = new alglib.linearmodel(); 80 alglib.lrreport ar = new alglib.lrreport(); 82 81 int nRows = inputMatrix.GetLength(0); 83 82 int nFeatures = inputMatrix.GetLength(1) - 1; 84 double[] coefficients ;83 double[] coefficients = new double[nFeatures + 1]; // last coefficient is for the constant 85 84 86 85 int retVal = 1; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/MultinomialLogitClassification.cs
r12792 r12817 74 74 throw new NotSupportedException("Multinomial logit classification does not support NaN or infinity values in the input dataset."); 75 75 76 alglib.logitmodel lm ;77 alglib.mnlreport rep ;76 alglib.logitmodel lm = new alglib.logitmodel(); 77 alglib.mnlreport rep = new alglib.mnlreport(); 78 78 int nRows = inputMatrix.GetLength(0); 79 79 int nFeatures = inputMatrix.GetLength(1) - 1; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkModel.cs
r12790 r12817 63 63 : base(original, cloner) { 64 64 multiLayerPerceptron = new alglib.multilayerperceptron(); 65 65 multiLayerPerceptron.innerobj.chunks = (double[,])original.multiLayerPerceptron.innerobj.chunks.Clone(); 66 66 multiLayerPerceptron.innerobj.columnmeans = (double[])original.multiLayerPerceptron.innerobj.columnmeans.Clone(); 67 67 multiLayerPerceptron.innerobj.columnsigmas = (double[])original.multiLayerPerceptron.innerobj.columnsigmas.Clone(); … … 163 163 private double[,] MultiLayerPerceptronChunks { 164 164 get { 165 // ignore this property in alglib version >= 3.9.0 166 return null; 167 } 168 set { 169 // ignore this property in alglib version >= 3.9.0 165 return multiLayerPerceptron.innerobj.chunks; 166 } 167 set { 168 multiLayerPerceptron.innerobj.chunks = value; 170 169 } 171 170 } -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Plugin.cs.frame
r12790 r12817 28 28 [Plugin("HeuristicLab.Algorithms.DataAnalysis", "Provides wrappers for data analysis algorithms implemented in external libraries (linear regression, linear discriminant analysis, k-means clustering, support vector classification and regression)", "3.4.8.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Algorithms.DataAnalysis-3.4.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.ALGLIB", "3. 9")]30 [PluginDependency("HeuristicLab.ALGLIB", "3.7.0")] 31 31 [PluginDependency("HeuristicLab.Algorithms.GradientDescent", "3.3")] 32 32 [PluginDependency("HeuristicLab.Analysis", "3.3")] -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/TimeSeries/AutoregressiveModeling.cs
r12792 r12817 100 100 101 101 102 alglib.linearmodel lm ;103 alglib.lrreport ar ;102 alglib.linearmodel lm = new alglib.linearmodel(); 103 alglib.lrreport ar = new alglib.lrreport(); 104 104 int nRows = inputMatrix.GetLength(0); 105 105 int nFeatures = inputMatrix.GetLength(1) - 1;
Note: See TracChangeset
for help on using the changeset viewer.