Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14685 for trunk/sources


Ignore:
Timestamp:
02/17/17 13:52:58 (8 years ago)
Author:
mkommend
Message:

#2734: Changed tree interpreter from the recursive to the linear one.

Location:
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearDiscriminantAnalysis.cs

    r14523 r14685  
    101101      }
    102102
    103       var model = LinearDiscriminantAnalysis.CreateDiscriminantFunctionModel(tree, new SymbolicDataAnalysisExpressionTreeInterpreter(), problemData, rows);
     103      var model = CreateDiscriminantFunctionModel(tree, new SymbolicDataAnalysisExpressionTreeLinearInterpreter(), problemData, rows);
    104104      SymbolicDiscriminantFunctionClassificationSolution solution = new SymbolicDiscriminantFunctionClassificationSolution(model, (IClassificationProblemData)problemData.Clone());
    105105
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs

    r14523 r14685  
    111111      addition.AddSubtree(cNode);
    112112
    113       SymbolicRegressionSolution solution = new SymbolicRegressionSolution(new SymbolicRegressionModel(problemData.TargetVariable, tree, new SymbolicDataAnalysisExpressionTreeInterpreter()), (IRegressionProblemData)problemData.Clone());
     113      SymbolicRegressionSolution solution = new SymbolicRegressionSolution(new SymbolicRegressionModel(problemData.TargetVariable, tree, new SymbolicDataAnalysisExpressionTreeLinearInterpreter()), (IRegressionProblemData)problemData.Clone());
    114114      solution.Model.Name = "Linear Regression Model";
    115115      solution.Name = "Linear Regression Solution";
Note: See TracChangeset for help on using the changeset viewer.