Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/17/16 15:42:19 (8 years ago)
Author:
gkronber
Message:

#2650: merged r14457:14494 from trunk to branch (resolving conflicts)

Location:
branches/symbreg-factors-2650
Files:
6 edited
6 copied

Legend:

Unmodified
Added
Removed
  • branches/symbreg-factors-2650

  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Views

  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Views/3.4/FeatureCorrelation/FeatureCorrelationCalculator.cs

    r14185 r14498  
    5050
    5151      IList<string> doubleVariableNames = dataset.DoubleVariables.ToList();
    52       OnlineCalculatorError error = OnlineCalculatorError.None;
     52
    5353      int length = doubleVariableNames.Count;
    5454      double[,] elements = new double[length, length];
     
    6868          var var2 = dataset.GetDoubleValues(doubleVariableNames[j], indices);
    6969
     70          OnlineCalculatorError error = OnlineCalculatorError.None;
    7071          if (bwInfo.IgnoreMissingValues) {
    7172            var filtered = FilterNaNValues(var1, var2);
     
    7879          }
    7980          elements[j, i] = elements[i, j];
    80 
    8181        });
    8282        worker.ReportProgress((int)(((double)counter) / length * 100));
    8383      }
     84
    8485      e.Result = elements;
    8586      worker.ReportProgress(100);
  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj

    r14449 r14498  
    252252    <Compile Include="Regression\RegressionFeatureCorrelationView.Designer.cs">
    253253      <DependentUpon>RegressionFeatureCorrelationView.cs</DependentUpon>
     254    </Compile>
     255    <Compile Include="Regression\RegressionSolutionLineChartViewBase.cs">
     256      <SubType>UserControl</SubType>
     257    </Compile>
     258    <Compile Include="Regression\RegressionSolutionLineChartViewBase.Designer.cs">
     259      <DependentUpon>RegressionSolutionLineChartViewBase.cs</DependentUpon>
     260    </Compile>
     261    <Compile Include="Regression\RegressionSolutionResidualsLineChartView.cs">
     262      <SubType>UserControl</SubType>
     263    </Compile>
     264    <Compile Include="Regression\RegressionSolutionResidualsLineChartView.Designer.cs">
     265      <DependentUpon>RegressionSolutionResidualsLineChartView.cs</DependentUpon>
    254266    </Compile>
    255267    <Compile Include="Regression\RegressionSolutionVariableImpactsView.cs">
  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionTargetResponseGradientView.cs

    r14330 r14498  
    113113      limitView.Content.Upper = axisMax;
    114114
    115       // create dataset
    116       var allowedInputVariables = Content.ProblemData.AllowedInputVariables;
     115      // create dataset of problemData input variables and model input variables
     116      // necessary workaround to have the variables in the occuring order
     117      var inputvariables =
     118        new HashSet<string>(Content.ProblemData.AllowedInputVariables.Union(Content.Model.VariablesUsedForPrediction));
     119      var allowedInputVariables =
     120        Content.ProblemData.Dataset.VariableNames.Where(v => inputvariables.Contains(v)).ToList();
     121
     122
    117123      var doubleVariables = allowedInputVariables.Where(problemData.Dataset.VariableHasType<double>);
    118124      var doubleVariableValues = (IEnumerable<IList>)doubleVariables.Select(x => new List<double> { problemData.Dataset.GetDoubleValues(x, problemData.TrainingIndices).Median() });
  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Views/3.4/TimeSeriesPrognosis/TimeSeriesPrognosisLineChartView.cs

    r14449 r14498  
    4040    }
    4141
    42     protected override void GetTestSeries(out int[] x, out double[] y) {
     42    protected override void GetTrainingSeries(out int[] idx, out double[] y) {
     43      idx = Content.ProblemData.TrainingIndices.ToArray();
     44      y = Content.EstimatedTrainingValues.ToArray();
     45    }
     46
     47    protected override void GetTestSeries(out int[] idx, out double[] y) {
    4348      // treat the whole test partition as prognosis horizon
    44       x = Content.ProblemData.TestIndices.ToArray();
     49      idx = Content.ProblemData.TestIndices.ToArray();
    4550      y = Content.PrognosedTestValues.ToArray();
    4651    }
    4752
    48     protected override void GetAllValuesSeries(out int[] x, out double[] y) {
     53    protected override void GetAllValuesSeries(out int[] idx, out double[] y) {
    4954      // not supported
    50       x = new int[0];
     55      idx = new int[0];
    5156      y = new double[0];
    5257    }
Note: See TracChangeset for help on using the changeset viewer.