Ignore:
Timestamp:
06/28/16 13:33:17 (5 years ago)
Author:
mkommend
Message:

#2604:

  • Base classes for data analysis, classification, and regression models
  • Added target variable to classification and regression models
  • Switched parameter order in data analysis solutions (model, problemdata)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GBM/GradientBoostingRegressionAlgorithm.cs

    r13917 r13941  
    376376
    377377      var ensembleModel = new RegressionEnsembleModel(models, coefficients.Take(models.Count)) { AverageModelEstimates = false };
    378       var ensembleSolution = ensembleModel.CreateRegressionSolution(problemData);
     378      var ensembleSolution = (IRegressionEnsembleSolution)ensembleModel.CreateRegressionSolution(problemData);
    379379      return ensembleSolution;
    380380    }
     
    443443      progRootNode.AddSubtree(startNode);
    444444      var t = new SymbolicExpressionTree(progRootNode);
    445       var combinedModel = new SymbolicRegressionModel(t, interpreter, lowerLimit, upperLimit);
     445      var combinedModel = new SymbolicRegressionModel(problemData.TargetVariable, t, interpreter, lowerLimit, upperLimit);
    446446      var sol = new SymbolicRegressionSolution(combinedModel, problemData);
    447447      return sol;
Note: See TracChangeset for help on using the changeset viewer.