Changeset 8323
- Timestamp:
- 07/25/12 11:31:38 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 19 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/HeuristicLab.Algorithms.DataAnalysis-3.4.csproj
r7825 r8323 122 122 </Compile> 123 123 <Compile Include="FixedDataAnalysisAlgorithm.cs" /> 124 <Compile Include="GaussianProcess\Util.cs" /> 125 <Compile Include="GaussianProcess\MeanZero.cs" /> 126 <Compile Include="GaussianProcess\MeanConst.cs" /> 127 <Compile Include="GaussianProcess\IMeanFunction.cs" /> 128 <Compile Include="GaussianProcess\CovarianceSEard.cs" /> 129 <Compile Include="GaussianProcess\CovarianceSEiso.cs" /> 130 <Compile Include="GaussianProcess\GaussianProcessModel.cs" /> 131 <Compile Include="GaussianProcess\GaussianProcessRegression.cs" /> 132 <Compile Include="GaussianProcess\GaussianProcessRegressionSolution.cs" /> 133 <Compile Include="GaussianProcess\ICovarianceFunction.cs" /> 134 <Compile Include="Interfaces\IGaussianProcessModel.cs" /> 135 <Compile Include="Interfaces\IGaussianProcessSolution.cs" /> 124 136 <Compile Include="Interfaces\INearestNeighbourClassificationSolution.cs" /> 125 137 <Compile Include="Interfaces\INearestNeighbourRegressionSolution.cs" /> … … 144 156 </Compile> 145 157 <Compile Include="Linear\AlglibUtil.cs" /> 158 <Compile Include="Linear\Scaling.cs" /> 146 159 <Compile Include="Linear\LinearDiscriminantAnalysis.cs" /> 147 160 <Compile Include="Linear\LinearRegression.cs"> … … 187 200 </ItemGroup> 188 201 <ItemGroup> 202 <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj"> 203 <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project> 204 <Name>HeuristicLab.Analysis-3.3</Name> 205 </ProjectReference> 189 206 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj"> 190 207 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project> … … 261 278 <Name>HeuristicLab.Problems.Instances-3.3</Name> 262 279 <Private>False</Private> 280 </ProjectReference> 281 <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj"> 282 <Project>{F4539FB6-4708-40C9-BE64-0A1390AEA197}</Project> 283 <Name>HeuristicLab.Random-3.3</Name> 263 284 </ProjectReference> 264 285 </ItemGroup> -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/AlglibUtil.cs
r7259 r8323 45 45 return matrix; 46 46 } 47 public static double[,] PrepareAndScaleInputMatrix(Dataset dataset, IEnumerable<string> variables, IEnumerable<int> rows, Scaling scaling) { 48 List<string> variablesList = variables.ToList(); 49 List<int> rowsList = rows.ToList(); 50 51 double[,] matrix = new double[rowsList.Count, variablesList.Count]; 52 53 int col = 0; 54 foreach (string column in variables) { 55 var values = scaling.GetScaledValues(dataset, column, rows); 56 int row = 0; 57 foreach (var value in values) { 58 matrix[row, col] = value; 59 row++; 60 } 61 col++; 62 } 63 64 return matrix; 65 } 47 66 } 48 67 } -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Plugin.cs.frame
r8246 r8323 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.3.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Algorithms.DataAnalysis-3.4.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.Analysis", "3.3.0")] 30 31 [PluginDependency("HeuristicLab.ALGLIB", "3.5.0")] 31 32 [PluginDependency("HeuristicLab.LibSVM", "1.6.3")] … … 43 44 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic.Classification", "3.4")] 44 45 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression", "3.4")] 46 [PluginDependency("HeuristicLab.Random", "3.3.0")] 45 47 public class HeuristicLabAlgorithmsDataAnalysisPlugin : PluginBase { 46 48 } -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorMachineModel.cs
r7259 r8323 162 162 // calculate predictions for the currently requested rows 163 163 SVM.Problem problem = SupportVectorMachineUtil.CreateSvmProblem(dataset, targetVariable, allowedInputVariables, rows); 164 SVM.Problem scaledProblem = S caling.Scale(RangeTransform, problem);164 SVM.Problem scaledProblem = SVM.Scaling.Scale(RangeTransform, problem); 165 165 166 166 for (int i = 0; i < scaledProblem.Count; i++) { -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4.csproj
r7825 r8323 119 119 <Compile Include="SingleObjective\Evaluators\SymbolicRegressionSingleObjectiveMeanAbsoluteErrorEvaluator.cs" /> 120 120 <Compile Include="SingleObjective\Evaluators\SymbolicRegressionConstantOptimizationEvaluator.cs" /> 121 <Compile Include="SingleObjective\SymbolicRegressionSingleObjectiveWeightedAbsoluteErrorEvaluator.cs" /> 121 122 <Compile Include="SingleObjective\SymbolicRegressionSingleObjectiveOverfittingAnalyzer.cs" /> 122 123 <Compile Include="SymbolicRegressionModel.cs" /> … … 164 165 <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project> 165 166 <Name>HeuristicLab.Analysis-3.3</Name> 166 <Private>False</Private>167 167 </ProjectReference> 168 168 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj"> -
trunk/sources/HeuristicLab.Tests/HeuristicLab.Tests.csproj
r8222 r8323 279 279 <Compile Include="HeuristicLab-3.3\ContentViewTests.cs" /> 280 280 <Compile Include="HeuristicLab-3.3\ParameterVisibilityTest.cs" /> 281 <Compile Include="HeuristicLab-3.3\GaussianProcessRegressionTest.cs" /> 281 282 <Compile Include="HeuristicLab-3.3\DeepCloneableCloningTest.cs" /> 282 283 <Compile Include="HeuristicLab-3.3\GeneticAlgorithmTest.cs" />
Note: See TracChangeset
for help on using the changeset viewer.