Changeset 6878 for branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views
- Timestamp:
- 10/05/11 21:55:55 (13 years ago)
- Location:
- branches/GeneralizedQAP
- Files:
-
- 2 deleted
- 5 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP
- Property svn:ignore
-
old new 1 *.docstates 2 *.psess 1 3 *.resharper 2 4 *.suo 5 *.vsp 3 6 Google.ProtocolBuffers-0.9.1.dll 7 HeuristicLab 3.3.5.1.ReSharper.user 8 HeuristicLab 3.3.6.0.ReSharper.user 4 9 HeuristicLab.4.5.resharper.user 5 10 HeuristicLab.resharper.user … … 8 13 _ReSharper.HeuristicLab 9 14 _ReSharper.HeuristicLab 3.3 15 _ReSharper.HeuristicLab.ExtLibs 16 bin 10 17 protoc.exe 11 HeuristicLab 3.3.5.1.ReSharper.user 12 *.psess 13 *.vsp 14 *.docstates 18 HeuristicLab.ExtLibs.6.0.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4
- Property svn:ignore
-
old new 4 4 HeuristicLabProblemsDataAnalysisSymbolicRegressionViewsPlugin.cs 5 5 *.vs10x 6 Plugin.cs
-
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views-3.4.csproj
r6642 r6878 41 41 <DebugType>full</DebugType> 42 42 <Optimize>false</Optimize> 43 <OutputPath> bin\Debug\</OutputPath>43 <OutputPath>$(SolutionDir)\bin\</OutputPath> 44 44 <DefineConstants>DEBUG;TRACE</DefineConstants> 45 45 <ErrorReport>prompt</ErrorReport> … … 50 50 <DebugType>pdbonly</DebugType> 51 51 <Optimize>true</Optimize> 52 <OutputPath> bin\Release\</OutputPath>52 <OutputPath>$(SolutionDir)\bin\</OutputPath> 53 53 <DefineConstants>TRACE</DefineConstants> 54 54 <ErrorReport>prompt</ErrorReport> … … 58 58 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> 59 59 <DebugSymbols>true</DebugSymbols> 60 <OutputPath> bin\x64\Debug\</OutputPath>60 <OutputPath>$(SolutionDir)\bin\</OutputPath> 61 61 <DefineConstants>DEBUG;TRACE</DefineConstants> 62 62 <DebugType>full</DebugType> … … 66 66 </PropertyGroup> 67 67 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> 68 <OutputPath> bin\x64\Release\</OutputPath>68 <OutputPath>$(SolutionDir)\bin\</OutputPath> 69 69 <DefineConstants>TRACE</DefineConstants> 70 70 <Optimize>true</Optimize> … … 76 76 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 77 77 <DebugSymbols>true</DebugSymbols> 78 <OutputPath> bin\x86\Debug\</OutputPath>78 <OutputPath>$(SolutionDir)\bin\</OutputPath> 79 79 <DefineConstants>DEBUG;TRACE</DefineConstants> 80 80 <DebugType>full</DebugType> … … 84 84 </PropertyGroup> 85 85 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 86 <OutputPath> bin\x86\Release\</OutputPath>86 <OutputPath>$(SolutionDir)\bin\</OutputPath> 87 87 <DefineConstants>TRACE</DefineConstants> 88 88 <Optimize>true</Optimize> … … 110 110 </ItemGroup> 111 111 <ItemGroup> 112 <Compile Include="HeuristicLabProblemsDataAnalysisSymbolicRegressionViewsPlugin.cs" />113 112 <Compile Include="InteractiveSymbolicRegressionSolutionSimplifierView.cs"> 114 113 <SubType>UserControl</SubType> … … 117 116 <DependentUpon>InteractiveSymbolicRegressionSolutionSimplifierView.cs</DependentUpon> 118 117 </Compile> 118 <Compile Include="Plugin.cs" /> 119 119 <Compile Include="SymbolicRegressionSolutionErrorCharacteristicsCurveView.cs"> 120 120 <SubType>UserControl</SubType> … … 130 130 </Compile> 131 131 <None Include="HeuristicLab.snk" /> 132 <None Include=" HeuristicLabProblemsDataAnalysisSymbolicRegressionViewsPlugin.cs.frame" />133 <None Include="Properties\AssemblyInfo. frame" />132 <None Include="Plugin.cs.frame" /> 133 <None Include="Properties\AssemblyInfo.cs.frame" /> 134 134 <Compile Include="Properties\AssemblyInfo.cs" /> 135 135 </ItemGroup> … … 138 138 <Project>{2E782078-FA81-4B70-B56F-74CE38DAC6C8}</Project> 139 139 <Name>HeuristicLab.Algorithms.DataAnalysis-3.4</Name> 140 <Private>False</Private> 140 141 </ProjectReference> 141 142 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj"> 142 143 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project> 143 144 <Name>HeuristicLab.Collections-3.3</Name> 145 <Private>False</Private> 144 146 </ProjectReference> 145 147 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj"> 146 148 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project> 147 149 <Name>HeuristicLab.Common-3.3</Name> 150 <Private>False</Private> 148 151 </ProjectReference> 149 152 <ProjectReference Include="..\..\HeuristicLab.Core.Views\3.3\HeuristicLab.Core.Views-3.3.csproj"> 150 153 <Project>{E226881D-315F-423D-B419-A766FE0D8685}</Project> 151 154 <Name>HeuristicLab.Core.Views-3.3</Name> 155 <Private>False</Private> 152 156 </ProjectReference> 153 157 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj"> 154 158 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project> 155 159 <Name>HeuristicLab.Core-3.3</Name> 160 <Private>False</Private> 156 161 </ProjectReference> 157 162 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj"> 158 163 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project> 159 164 <Name>HeuristicLab.Data-3.3</Name> 165 <Private>False</Private> 160 166 </ProjectReference> 161 167 <ProjectReference Include="..\..\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views\3.4\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.4.csproj"> 162 168 <Project>{423BD94F-963A-438E-BA45-3BB3D61CD03B}</Project> 163 169 <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.4</Name> 170 <Private>False</Private> 164 171 </ProjectReference> 165 172 <ProjectReference Include="..\..\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding\3.4\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.csproj"> 166 173 <Project>{06D4A186-9319-48A0-BADE-A2058D462EEA}</Project> 167 174 <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4</Name> 175 <Private>False</Private> 168 176 </ProjectReference> 169 177 <ProjectReference Include="..\..\HeuristicLab.MainForm.WindowsForms\3.3\HeuristicLab.MainForm.WindowsForms-3.3.csproj"> 170 178 <Project>{AB687BBE-1BFE-476B-906D-44237135431D}</Project> 171 179 <Name>HeuristicLab.MainForm.WindowsForms-3.3</Name> 180 <Private>False</Private> 172 181 </ProjectReference> 173 182 <ProjectReference Include="..\..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj"> 174 183 <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project> 175 184 <Name>HeuristicLab.MainForm-3.3</Name> 185 <Private>False</Private> 176 186 </ProjectReference> 177 187 <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj"> 178 188 <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project> 179 189 <Name>HeuristicLab.Operators-3.3</Name> 190 <Private>False</Private> 180 191 </ProjectReference> 181 192 <ProjectReference Include="..\..\HeuristicLab.Optimization.Views\3.3\HeuristicLab.Optimization.Views-3.3.csproj"> 182 193 <Project>{662B4B15-8F4D-4AE5-B3EB-D91C215F5AF2}</Project> 183 194 <Name>HeuristicLab.Optimization.Views-3.3</Name> 195 <Private>False</Private> 184 196 </ProjectReference> 185 197 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj"> 186 198 <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project> 187 199 <Name>HeuristicLab.Optimization-3.3</Name> 200 <Private>False</Private> 188 201 </ProjectReference> 189 202 <ProjectReference Include="..\..\HeuristicLab.Parameters.Views\3.3\HeuristicLab.Parameters.Views-3.3.csproj"> 190 203 <Project>{AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}</Project> 191 204 <Name>HeuristicLab.Parameters.Views-3.3</Name> 205 <Private>False</Private> 192 206 </ProjectReference> 193 207 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 194 208 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project> 195 209 <Name>HeuristicLab.Persistence-3.3</Name> 210 <Private>False</Private> 196 211 </ProjectReference> 197 212 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj"> 198 213 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project> 199 214 <Name>HeuristicLab.PluginInfrastructure-3.3</Name> 215 <Private>False</Private> 200 216 </ProjectReference> 201 217 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Symbolic.Regression\3.4\HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4.csproj"> 202 218 <Project>{5AC82412-911B-4FA2-A013-EDC5E3F3FCC2}</Project> 203 219 <Name>HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4</Name> 220 <Private>False</Private> 204 221 </ProjectReference> 205 222 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Symbolic.Views\3.4\HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj"> 206 223 <Project>{7A2531CE-3F7C-4F13-BCCA-ED6DC27A7086}</Project> 207 224 <Name>HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4</Name> 225 <Private>False</Private> 208 226 </ProjectReference> 209 227 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Symbolic\3.4\HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj"> 210 228 <Project>{3D28463F-EC96-4D82-AFEE-38BE91A0CA00}</Project> 211 229 <Name>HeuristicLab.Problems.DataAnalysis.Symbolic-3.4</Name> 230 <Private>False</Private> 212 231 </ProjectReference> 213 232 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Views\3.4\HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj"> 214 233 <Project>{3E9E8944-44FF-40BB-A622-3A4A7DD0F198}</Project> 215 234 <Name>HeuristicLab.Problems.DataAnalysis.Views-3.4</Name> 235 <Private>False</Private> 216 236 </ProjectReference> 217 237 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 218 238 <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project> 219 239 <Name>HeuristicLab.Problems.DataAnalysis-3.4</Name> 240 <Private>False</Private> 220 241 </ProjectReference> 221 242 <ProjectReference Include="..\..\HeuristicLab.Visualization.ChartControlsExtensions\3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.csproj"> 222 243 <Project>{315BDA09-3F4F-49B3-9790-B37CFC1C5750}</Project> 223 244 <Name>HeuristicLab.Visualization.ChartControlsExtensions-3.3</Name> 245 <Private>False</Private> 224 246 </ProjectReference> 225 247 </ItemGroup> … … 256 278 257 279 call PreBuildEvent.cmd 258 SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabProblemsDataAnalysisSymbolicRegressionViewsPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabProblemsDataAnalysisSymbolicRegressionViewsPlugin.cs"</PreBuildEvent>280 </PreBuildEvent> 259 281 </PropertyGroup> 260 282 </Project> -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/InteractiveSymbolicRegressionSolutionSimplifierView.cs
r6376 r6878 72 72 var originalOutput = interpreter.GetSymbolicExpressionTreeValues(tree, dataset, rows) 73 73 .ToArray(); 74 var targetValues = dataset.Get EnumeratedVariableValues(targetVariable, rows);74 var targetValues = dataset.GetDoubleValues(targetVariable, rows); 75 75 OnlineCalculatorError errorState; 76 76 double originalR2 = OnlinePearsonsRSquaredCalculator.Calculate(targetValues, originalOutput, out errorState); … … 97 97 private double CalculateReplacementValue(ISymbolicExpressionTreeNode node, ISymbolicExpressionTree sourceTree) { 98 98 // remove old ADFs 99 while (tempTree.Root.Subtree sCount > 1) tempTree.Root.RemoveSubtree(1);99 while (tempTree.Root.SubtreeCount > 1) tempTree.Root.RemoveSubtree(1); 100 100 // clone ADFs of source tree 101 for (int i = 1; i < sourceTree.Root.Subtree sCount; i++) {101 for (int i = 1; i < sourceTree.Root.SubtreeCount; i++) { 102 102 tempTree.Root.AddSubtree((ISymbolicExpressionTreeNode)sourceTree.Root.GetSubtree(i).Clone()); 103 103 } 104 104 var start = tempTree.Root.GetSubtree(0); 105 while (start.Subtree sCount > 0) start.RemoveSubtree(0);105 while (start.SubtreeCount > 0) start.RemoveSubtree(0); 106 106 start.AddSubtree((ISymbolicExpressionTreeNode)node.Clone()); 107 107 var interpreter = Content.Model.Interpreter; … … 112 112 113 113 private void SwitchNode(ISymbolicExpressionTreeNode root, ISymbolicExpressionTreeNode oldBranch, ISymbolicExpressionTreeNode newBranch) { 114 for (int i = 0; i < root.Subtree sCount; i++) {114 for (int i = 0; i < root.SubtreeCount; i++) { 115 115 if (root.GetSubtree(i) == oldBranch) { 116 116 root.RemoveSubtree(i); -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/SymbolicRegressionSolutionErrorCharacteristicsCurveView.cs
r6642 r6878 67 67 } 68 68 69 var laggedVariables = Content.Model.SymbolicExpressionTree.IterateNodesPostfix() 70 .OfType<LaggedVariableTreeNode>() 71 .Select(n => n.Lag) 72 .Where(l => l < 0); 73 if (laggedVariables.Any()) throw new NotSupportedException("The symbolic regression solution contains lagged variables."); 74 69 75 //check inputVariables used in the symbolic regression model 70 76 var usedVariables =
Note: See TracChangeset
for help on using the changeset viewer.