Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/05/13 14:18:57 (11 years ago)
Author:
mkommend
Message:

#1730: Integrated excel export for symbolic datanalysis solutions in the trunk.

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views

  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj

    r9288 r9587  
    9797      <Private>False</Private>
    9898    </Reference>
     99    <Reference Include="EPPlus-3.1.3, Version=3.1.3.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1, processorArchitecture=MSIL">
     100      <SpecificVersion>False</SpecificVersion>
     101      <HintPath>..\..\bin\EPPlus-3.1.3.dll</HintPath>
     102      <Private>False</Private>
     103    </Reference>
    99104    <Reference Include="System" />
    100105    <Reference Include="System.Core">
     
    126131      <DependentUpon>MathSymbolicDataAnalysisModelView.cs</DependentUpon>
    127132    </Compile>
     133    <Compile Include="MenuItems\ExportSymbolicSolutionToExcelMenuItem.cs" />
    128134    <Compile Include="Plugin.cs" />
    129135    <Compile Include="TextualSymbolicDataAnalysisModelView.cs">
     
    274280      <Name>HeuristicLab.Optimization-3.3</Name>
    275281      <Private>False</Private>
     282    </ProjectReference>
     283    <ProjectReference Include="..\..\HeuristicLab.Optimizer\3.3\HeuristicLab.Optimizer-3.3.csproj">
     284      <Project>{c664305e-497c-4533-a140-967dedb05c19}</Project>
     285      <Name>HeuristicLab.Optimizer-3.3</Name>
    276286    </ProjectReference>
    277287    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/MenuItems/ExportSymbolicSolutionToExcelMenuItem.cs

    r9585 r9587  
    2828using HeuristicLab.MainForm;
    2929using HeuristicLab.Optimizer;
    30 using HeuristicLab.Problems.DataAnalysis.Symbolic.Regression;
    3130using OfficeOpenXml;
    3231using OfficeOpenXml.Drawing.Chart;
     
    122121      row += 2;
    123122
    124       var regSolution = solution as SymbolicRegressionSolution;
    125       if (regSolution != null) {
    126         modelWorksheet.Cells[row, 1].Value = "Estimation Limits Lower";
    127         modelWorksheet.Cells[row, 2].Value = regSolution.EstimationLimits.Lower;
    128         modelWorksheet.Names.Add("EstimationLimitLower", modelWorksheet.Cells[row, 2]);
    129         row++;
    130 
    131         modelWorksheet.Cells[row, 1].Value = "Estimation Limits Upper";
    132         modelWorksheet.Cells[row, 2].Value = regSolution.EstimationLimits.Upper;
    133         modelWorksheet.Names.Add("EstimationLimitUpper", modelWorksheet.Cells[row, 2]);
    134         row += 2;
    135       }
     123      modelWorksheet.Cells[row, 1].Value = "Estimation Limits Lower";
     124      modelWorksheet.Cells[row, 2].Value = solution.Model.LowerEstimationLimit;
     125      modelWorksheet.Names.Add("EstimationLimitLower", modelWorksheet.Cells[row, 2]);
     126      row++;
     127
     128      modelWorksheet.Cells[row, 1].Value = "Estimation Limits Upper";
     129      modelWorksheet.Cells[row, 2].Value = solution.Model.UpperEstimationLimit;
     130      modelWorksheet.Names.Add("EstimationLimitUpper", modelWorksheet.Cells[row, 2]);
     131      row += 2;
    136132
    137133      modelWorksheet.Cells[row, 1].Value = "Trainings Partition Start";
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Plugin.cs.frame

    r9462 r9587  
    3636  [PluginDependency("HeuristicLab.Data", "3.3")]
    3737  [PluginDependency("HeuristicLab.Data.Views", "3.3")]
     38  [PluginDependency("HeuristicLab.EPPlus", "3.1")]
    3839  [PluginDependency("HeuristicLab.Encodings.SymbolicExpressionTreeEncoding", "3.4")]
    3940  [PluginDependency("HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views", "3.4")]
     
    4243  [PluginDependency("HeuristicLab.MathJax", "1.1")]
    4344  [PluginDependency("HeuristicLab.Optimization","3.3")]
     45  [PluginDependency("HeuristicLab.Optimizer","3.3")]
    4446  [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")]
    4547  [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")]
Note: See TracChangeset for help on using the changeset viewer.