Changeset 14826 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4
- Timestamp:
- 04/04/17 17:52:44 (7 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views
- Property svn:mergeinfo changed
/branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views (added) merged: 14232,14241,14249,14251,14277,14497,14499,14591-14592
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views-3.4.csproj
r14255 r14826 119 119 </ItemGroup> 120 120 <ItemGroup> 121 <Compile Include="SolutionComparisonView.cs"> 122 <SubType>UserControl</SubType> 123 </Compile> 124 <Compile Include="SolutionComparisonView.Designer.cs"> 125 <DependentUpon>SolutionComparisonView.cs</DependentUpon> 126 </Compile> 121 127 <Compile Include="InteractiveSymbolicClassificationSolutionSimplifierView.cs"> 122 128 <SubType>UserControl</SubType> … … 163 169 </ItemGroup> 164 170 <ItemGroup> 171 <ProjectReference Include="..\..\HeuristicLab.Algorithms.DataAnalysis\3.4\HeuristicLab.Algorithms.DataAnalysis-3.4.csproj"> 172 <Project>{2E782078-FA81-4B70-B56F-74CE38DAC6C8}</Project> 173 <Name>HeuristicLab.Algorithms.DataAnalysis-3.4</Name> 174 </ProjectReference> 165 175 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj"> 166 176 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project> -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicClassificationSolutionSimplifierViewBase.cs
r14185 r14826 59 59 return model; 60 60 } 61 protected override Dictionary<ISymbolicExpressionTreeNode, double> CalculateReplacementValues(ISymbolicExpressionTree tree) {62 return tree.Root.GetSubtree(0).GetSubtree(0).IterateNodesPrefix().ToDictionary(63 n => n,64 n => calculator.CalculateReplacementValue(Content.Model, n, Content.ProblemData, Content.ProblemData.TrainingIndices)65 );66 }67 68 protected override Dictionary<ISymbolicExpressionTreeNode, double> CalculateImpactValues(ISymbolicExpressionTree tree) {69 var values = CalculateImpactAndReplacementValues(tree);70 return values.ToDictionary(x => x.Key, x => x.Value.Item1);71 }72 61 73 62 protected override Dictionary<ISymbolicExpressionTreeNode, Tuple<double, double>> CalculateImpactAndReplacementValues(ISymbolicExpressionTree tree) {
Note: See TracChangeset
for help on using the changeset viewer.