Changeset 16056 for branches/2886_SymRegGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration
- Timestamp:
- 08/06/18 17:59:50 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2886_SymRegGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration/GrammarEnumeration/Grammar.cs
r16053 r16056 278 278 } 279 279 280 public double EvaluatePhrase(SymbolList s, IRegressionProblemData problemData, bool optimizeConstants, int iterations, bool applyLinearScaling) {281 SymbolicExpressionTree tree = ParseSymbolicExpressionTree(s);282 283 return RSquaredEvaluator.Evaluate(problemData, tree, optimizeConstants, iterations, applyLinearScaling);284 }285 286 280 #region Parse to SymbolicExpressionTree 287 288 281 public string ToInfixString(SymbolList sentence) { 289 282 Debug.Assert(sentence.Any(), "Trying to evaluate empty sentence!");
Note: See TracChangeset
for help on using the changeset viewer.