Changeset 4082
- Timestamp:
- 07/22/10 15:59:57 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 12 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab 3.3.sln
r4079 r4082 64 64 {72104A0B-90E7-42F3-9ABE-9BBBADD4B943} = {72104A0B-90E7-42F3-9ABE-9BBBADD4B943} 65 65 {3081630C-9521-47D7-8075-1777C12F212C} = {3081630C-9521-47D7-8075-1777C12F212C} 66 {7252890C-F207-4AD6-B3C9-764DF93F73CC} = {7252890C-F207-4AD6-B3C9-764DF93F73CC} 66 67 {25087811-F74C-4128-BC86-8324271DA13E} = {25087811-F74C-4128-BC86-8324271DA13E} 67 68 {662B4B15-8F4D-4AE5-B3EB-D91C215F5AF2} = {662B4B15-8F4D-4AE5-B3EB-D91C215F5AF2} … … 321 322 EndProject 322 323 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.DataAnalysis.MultiVariate.Views-3.3", "HeuristicLab.Problems.DataAnalysis.MultiVariate.Views\3.3\HeuristicLab.Problems.DataAnalysis.MultiVariate.Views-3.3.csproj", "{9B6EA19A-F894-4E00-B5A3-970514284772}" 324 EndProject 325 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.DataAnalysis.FeatureSelection-3.3", "HeuristicLab.Problems.DataAnalysis.FeatureSelection\3.3\HeuristicLab.Problems.DataAnalysis.FeatureSelection-3.3.csproj", "{7252890C-F207-4AD6-B3C9-764DF93F73CC}" 323 326 EndProject 324 327 Global … … 2164 2167 {9B6EA19A-F894-4E00-B5A3-970514284772}.Silverlight2|x86.ActiveCfg = Release|x86 2165 2168 {9B6EA19A-F894-4E00-B5A3-970514284772}.Silverlight2|x86.Build.0 = Release|x86 2169 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 2170 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Debug|Any CPU.Build.0 = Debug|Any CPU 2171 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Debug|x64.ActiveCfg = Debug|x64 2172 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Debug|x64.Build.0 = Debug|x64 2173 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Debug|x86.ActiveCfg = Debug|x86 2174 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Debug|x86.Build.0 = Debug|x86 2175 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Release|Any CPU.ActiveCfg = Release|Any CPU 2176 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Release|Any CPU.Build.0 = Release|Any CPU 2177 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Release|x64.ActiveCfg = Release|x64 2178 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Release|x64.Build.0 = Release|x64 2179 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Release|x86.ActiveCfg = Release|x86 2180 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Release|x86.Build.0 = Release|x86 2181 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Services|Any CPU.ActiveCfg = Release|x86 2182 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Services|x64.ActiveCfg = Release|x86 2183 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Services|x86.ActiveCfg = Release|x86 2184 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Services|x86.Build.0 = Release|x86 2185 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Silverlight2|Any CPU.ActiveCfg = Release|x86 2186 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Silverlight2|x64.ActiveCfg = Release|x86 2187 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Silverlight2|x86.ActiveCfg = Release|x86 2188 {7252890C-F207-4AD6-B3C9-764DF93F73CC}.Silverlight2|x86.Build.0 = Release|x86 2166 2189 EndGlobalSection 2167 2190 GlobalSection(SolutionProperties) = preSolution -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/HeuristicLabProblemsDataAnalysisRegressionPlugin.cs.frame
r3842 r4082 28 28 [Plugin("HeuristicLab.Problems.DataAnalysis.Regression","3.3.0.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Problems.DataAnalysis.Regression-3.3.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.ALGLIB", "2.5 .0.0")]31 [PluginDependency("HeuristicLab.Analysis", "3.3 .0.0")]32 [PluginDependency("HeuristicLab.Collections", "3.3 .0.0")]30 [PluginDependency("HeuristicLab.ALGLIB", "2.5")] 31 [PluginDependency("HeuristicLab.Analysis", "3.3")] 32 [PluginDependency("HeuristicLab.Collections", "3.3")] 33 33 [PluginDependency("HeuristicLab.Common", "3.3")] 34 [PluginDependency("HeuristicLab.Common.Resources", "3.3 .0.0")]35 [PluginDependency("HeuristicLab.Core", "3.3 .0.0")]36 [PluginDependency("HeuristicLab.Data", "3.3 .0.0")]37 [PluginDependency("HeuristicLab.Encodings.SymbolicExpressionTreeEncoding","3.3 .0.0")]34 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] 35 [PluginDependency("HeuristicLab.Core", "3.3")] 36 [PluginDependency("HeuristicLab.Data", "3.3")] 37 [PluginDependency("HeuristicLab.Encodings.SymbolicExpressionTreeEncoding","3.3")] 38 38 [PluginDependency("HeuristicLab.LibSVM", "1.6.3.0")] 39 [PluginDependency("HeuristicLab.Operators", "3.3 .0.0")]40 [PluginDependency("HeuristicLab.Optimization", "3.3 .0.0")]41 [PluginDependency("HeuristicLab.Optimization.Operators", "3.3 .0.0")]42 [PluginDependency("HeuristicLab.Parameters", "3.3 .0.0")]43 [PluginDependency("HeuristicLab.Persistence", "3.3 .0.0")]44 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.3 .0.0")]45 [PluginDependency("HeuristicLab.Random", "3.3 .0.0")]39 [PluginDependency("HeuristicLab.Operators", "3.3")] 40 [PluginDependency("HeuristicLab.Optimization", "3.3")] 41 [PluginDependency("HeuristicLab.Optimization.Operators", "3.3")] 42 [PluginDependency("HeuristicLab.Parameters", "3.3")] 43 [PluginDependency("HeuristicLab.Persistence", "3.3")] 44 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.3")] 45 [PluginDependency("HeuristicLab.Random", "3.3")] 46 46 public class HeuristicLabProblemsDataAnalysisRegressionPlugin : PluginBase { 47 47 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/LinearRegression/LinearRegressionSolutionCreator.cs
r4068 r4082 92 92 93 93 public override IOperation Apply() { 94 SymbolicExpressionTree = CreateSymbolicExpressionTree(DataAnalysisProblemData.Dataset, DataAnalysisProblemData.TargetVariable.Value, DataAnalysisProblemData.InputVariables.CheckedItems.Select(x => x.Value.Value), SamplesStart.Value, SamplesEnd.Value); 94 double rmsError, cvRmsError; 95 SymbolicExpressionTree = CreateSymbolicExpressionTree(DataAnalysisProblemData.Dataset, DataAnalysisProblemData.TargetVariable.Value, DataAnalysisProblemData.InputVariables.CheckedItems.Select(x => x.Value.Value), SamplesStart.Value, SamplesEnd.Value, out rmsError, out cvRmsError); 95 96 return base.Apply(); 96 97 } 97 98 98 public static SymbolicExpressionTree CreateSymbolicExpressionTree(Dataset dataset, string targetVariable, IEnumerable<string> allowedInputVariables, int start, int end ) {99 public static SymbolicExpressionTree CreateSymbolicExpressionTree(Dataset dataset, string targetVariable, IEnumerable<string> allowedInputVariables, int start, int end, out double rmsError, out double cvRmsError) { 99 100 double[,] inputMatrix = LinearRegressionUtil.PrepareInputMatrix(dataset, targetVariable, allowedInputVariables, start, end); 100 101 … … 108 109 alglib.linreg.lrbuild(ref inputMatrix, nRows, nFeatures, ref retVal, ref lm, ref ar); 109 110 if (retVal != 1) throw new ArgumentException("Error in calculation of linear regression model"); 111 rmsError = ar.rmserror; 112 cvRmsError = ar.cvrmserror; 110 113 111 114 for (int i = 0; i < nFeatures + 1; i++) -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Tests/HeuristicLab.Problems.DataAnalysis.Tests-3.3.csproj
r4065 r4082 53 53 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 54 54 </PropertyGroup> 55 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> 56 <DebugSymbols>true</DebugSymbols> 57 <OutputPath>bin\x64\Debug\</OutputPath> 58 <DefineConstants>DEBUG;TRACE</DefineConstants> 59 <DebugType>full</DebugType> 60 <PlatformTarget>x64</PlatformTarget> 61 <ErrorReport>prompt</ErrorReport> 62 </PropertyGroup> 63 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> 64 <OutputPath>bin\x64\Release\</OutputPath> 65 <DefineConstants>TRACE</DefineConstants> 66 <Optimize>true</Optimize> 67 <DebugType>pdbonly</DebugType> 68 <PlatformTarget>x64</PlatformTarget> 69 <ErrorReport>prompt</ErrorReport> 70 </PropertyGroup> 55 71 <ItemGroup> 56 72 <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /> … … 61 77 </ItemGroup> 62 78 <ItemGroup> 79 <Compile Include="LinearScalingTest.cs" /> 63 80 <Compile Include="Properties\AssemblyInfo.cs" /> 64 81 <Compile Include="SimpleArithmeticExpressionInterpreterTest.cs" /> … … 95 112 <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project> 96 113 <Name>HeuristicLab.Optimization-3.3</Name> 114 </ProjectReference> 115 <ProjectReference Include="..\..\..\HeuristicLab.Problems.DataAnalysis.Regression\3.3\HeuristicLab.Problems.DataAnalysis.Regression-3.3.csproj"> 116 <Project>{BDF86B1D-630E-4CE2-8A49-8C90B1BDE4C9}</Project> 117 <Name>HeuristicLab.Problems.DataAnalysis.Regression-3.3</Name> 97 118 </ProjectReference> 98 119 <ProjectReference Include="..\..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj"> -
trunk/sources/HeuristicLab/3.3/Files.txt
r4079 r4082 47 47 HeuristicLab.Problems.ArtificialAnt.Views\3.3:HeuristicLab.Problems.ArtificialAnt.Views-3.3.dll 48 48 HeuristicLab.Problems.DataAnalysis\3.3:HeuristicLab.Problems.DataAnalysis-3.3.dll 49 HeuristicLab.Problems.DataAnalysis.FeatureSelection\3.3:HeuristicLab.Problems.DataAnalysis.FeatureSelection-3.3.dll 49 50 HeuristicLab.Problems.DataAnalysis.MultiVariate\3.3:HeuristicLab.Problems.DataAnalysis.MultiVariate-3.3.dll 50 51 HeuristicLab.Problems.DataAnalysis.MultiVariate.Regression\3.3:HeuristicLab.Problems.DataAnalysis.MultiVariate.Regression-3.3.dll
Note: See TracChangeset
for help on using the changeset viewer.