heal-research / HeuristicLab

HeuristicLab - An environment for heuristic and evolutionary optimization
https://dev.heuristiclab.com
GNU General Public License v3.0
38 stars 16 forks source link

Add new Symbol <Num> #3140

Closed HeuristicLab-Trac-Bot closed 2 years ago

HeuristicLab-Trac-Bot commented 3 years ago

Issue migrated from trac ticket # 3140

milestone: HeuristicLab 3.3.17 | component: Problems.DataAnalysis.Symbolic | priority: medium

2021-11-22 08:37:43: @chrishaider created the issue


Adding a new Symbol which represents a number value that can be changed. The new Symbol should be used e.g. for the constant optimization so that the constant value will remain constant in future.

HeuristicLab-Trac-Bot commented 3 years ago

2021-11-22 08:38:01: @chrishaider changed status from new to accepted

HeuristicLab-Trac-Bot commented 3 years ago

2021-11-22 08:40:40: @chrishaider commented


r18091 branch trunk

HeuristicLab-Trac-Bot commented 2 years ago

2021-11-24 13:41:33: @chrishaider commented


r18093

  • Renaming Constant Symbol to Num, behaves like before
  • Adding new Symbol RealConstant (Constant), this symbol behaves now like a real constant, won't be changed by parameter optimization or manipulators
  • Refactored classes part1
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-01 13:41:19: @chrishaider commented


r18100

  • some more refactoring
  • added possibility to set value of num nodes in infix parser
  • changed displaying style of number
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-09 14:29:26: @chrishaider commented


r18112

  • Adding INumericSymbol and INumericTreeNode
  • Using the new interfaces inside of interpreters and formatters
  • Renaming Num to Number, RealConstant to Constant
  • More classes refactored
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-11 12:26:58: @chrishaider commented


r18113

  • Refactored ConstantOptimization ==> ParameterOptimization
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-13 10:25:46: @gkronber commented


r18114: made several more changes while reviewing the branch.

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-13 17:49:52: @gkronber commented


r18115: made several more changes for the constant -> number branch

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-14 14:31:37: @chrishaider commented


r18116

  • Added description for and constants in NLR structure definition
  • Set constant symbol as disabled in all grammars
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-14 14:38:00: @chrishaider commented


r18117 merged trunk to branch

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 09:00:31: @chrishaider commented


r18118

  • Changed to set value of Constant symbol instead direct of ConstantTreeNode in InfixExpressionParser
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 09:45:35: @gkronber commented


r18119: fix compilation errors in test solution

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 09:53:43: @gkronber commented


r18120: fix unit test for symbolic derivative

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 09:58:14: @gkronber commented


r18121: enable number instead of constant for default configurations in TypeCoherentExpressionGrammar

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 10:34:34: @gkronber commented


r18123: fixed parsing of Numbers in SymbolicExpressionImporter

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 10:37:35: @gkronber commented


r18124: fixed handling of numbers in BatchInterpreter

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 10:42:11: @chrishaider commented


r18125

  • Fixed adding constants to foldedNodes
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 10:52:30: @gkronber commented


r18126: various smaller changes in unit tests

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 11:02:07: @gkronber commented


r18127: added unit test to create sample for GP - Shape-constrained SymReg

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 11:02:39: @gkronber commented


r18128: updated GP samples

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 11:35:29: @gkronber commented


r18129: updated grammars again to use number instead of constant (fixing a bug I introduced earlier) and updated samples again.

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 11:36:13: @gkronber commented


r18130: fixed a problem in the DerivativeCalculator for powers with constant exponents

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 11:46:19: @gkronber commented


r18131: fixed results for ShapeConstrainedRegressionSampleTest

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-15 11:51:07: @gkronber commented


r18132: merged r18091 to r18131 from branch to trunk

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 09:28:50: @chrishaider commented


r18135

  • Set value of generated constant in GESymbolicExpressionGrammar
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 09:38:02: @chrishaider commented


r18136 merged branch into trunk

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 09:43:46: @chrishaider commented


r18137

  • Removed .DotSettings file
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 10:17:19: @chrishaider commented


r18140

  • Moved init of variable ranges to base class
  • Changed signature order of ShapeConstrainedRegressionProblemData
  • Fixed naming in SymbolicExpressionTreeNodeEqualityComparer, SymbolicExpressionTreeBottomUpSimilarityCalculator
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 10:25:07: @chrishaider commented


r18141 merged branch into trunk

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 11:22:57: @chrishaider commented


r18142

  • Removed setter from INumericTreeNode
  • Fixed SymbolicExpressionImporter check for constants and number individually
  • Set exponent of power in DerivativeCalculator to number
  • Set number in TreeConstantNodeEditDialog and ExpressionTreeChart
  • Fixed setting of VariableRanges in DataAnalysisProblemData
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 11:27:36: @chrishaider commented


r18143 merged branch into trunk

HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 12:15:32: dpiringe commented


r18144

  • added the StorableAttribute to property Value in symbol Constant, because the ConstantTreeNode references this property and it causes deserialisazion bugs without the attribute
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 13:19:22: @chrishaider commented


r18145

  • Fixed naming in SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator, SymbolicExpressionTreeNodeEqualityComparer and ISymbolicExpressionTreeNodeSimilarityComparer
  • Fixed tests in SymbolicExpressionTreeBottomUpSimilarityCalculatorTest
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-16 14:44:11: @chrishaider commented


r18147

  • Added NumberTreeNode const which takes a double
  • Added converter to Convert all Constants to Numbers
  • Modified SimplifierAxiomsTests to convert all constants to numbers to check the simplification rules
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-20 13:22:06: dpiringe commented


r18159

  • adapted symbol Constant and Number for SymbolicDataAnalysisExpressionTreeNativeInterpreter
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-20 13:24:23: dpiringe commented


r18160

  • merged branch into trunk
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-20 16:18:19: @gkronber commented


Bugs / suggestion for improvments:

  • values for num are not optimized / changed (tested with paramopt and batchInterpreter)
  • num values cannot be initialized to negative values (). Only via workaround: -. -> fixed in r18169
HeuristicLab-Trac-Bot commented 2 years ago

2021-12-20 16:18:19: @gkronber

HeuristicLab-Trac-Bot commented 2 years ago

2022-01-02 21:20:04: @gkronber commented


r18174: fixed a bug in the calculation of derivatives introduced with changes in the NumberSymbols branch

HeuristicLab-Trac-Bot commented 2 years ago

2022-01-03 11:49:40: @gkronber commented


r18175: merged r18136 to r18138,r18153,r18165 to r18174 from trunk to branch

HeuristicLab-Trac-Bot commented 2 years ago

2022-02-10 19:12:44: @gkronber changed status from accepted to assigned

HeuristicLab-Trac-Bot commented 2 years ago

2022-02-10 19:12:44: @gkronber changed owner from @chrishaider to @gkronber

HeuristicLab-Trac-Bot commented 2 years ago

2022-02-10 19:13:02: @gkronber changed component from ### Undefined ### to Problems.DataAnalysis.Symbolic

HeuristicLab-Trac-Bot commented 2 years ago

2022-02-10 19:23:57: @gkronber commented


r18215 (not migrated): delete branch after it was merged back to trunk

gkronber commented 2 years ago

Changes have been merged into svn trunk (now main branch). Code has been reviewed and tested.