Opened 3 years ago
Last modified 3 years ago
#3140 assigned enhancement
Add new Symbol <Num>
Reported by: | chaider | Owned by: | gkronber |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.17 |
Component: | Problems.DataAnalysis.Symbolic | Version: | trunk |
Keywords: | Cc: |
Description
Adding a new Symbol <num> 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.
Change History (42)
comment:1 Changed 3 years ago by chaider
- Status changed from new to accepted
comment:2 Changed 3 years ago by chaider
comment:3 Changed 3 years ago by chaider
- 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
comment:4 Changed 3 years ago by chaider
- some more refactoring
- added possibility to set value of num nodes in infix parser
- changed displaying style of number
comment:5 Changed 3 years ago by chaider
- Adding INumericSymbol and INumericTreeNode
- Using the new interfaces inside of interpreters and formatters
- Renaming Num to Number, RealConstant to Constant
- More classes refactored
comment:6 Changed 3 years ago by chaider
- Refactored ConstantOptimization ==> ParameterOptimization
comment:7 Changed 3 years ago by gkronber
r18114: made several more changes while reviewing the branch.
comment:8 Changed 3 years ago by gkronber
r18115: made several more changes for the constant -> number branch
comment:9 Changed 3 years ago by chaider
- Added description for <num> and constants in NLR structure definition
- Set constant symbol as disabled in all grammars
comment:10 Changed 3 years ago by chaider
r18117 merged trunk to branch
comment:11 Changed 3 years ago by chaider
- Changed to set value of Constant symbol instead direct of ConstantTreeNode in InfixExpressionParser
comment:12 Changed 3 years ago by gkronber
r18119: fix compilation errors in test solution
comment:13 Changed 3 years ago by gkronber
r18120: fix unit test for symbolic derivative
comment:14 Changed 3 years ago by gkronber
r18121: enable number instead of constant for default configurations in TypeCoherentExpressionGrammar
comment:15 Changed 3 years ago by gkronber
r18123: fixed parsing of Numbers in SymbolicExpressionImporter
comment:16 Changed 3 years ago by gkronber
r18124: fixed handling of numbers in BatchInterpreter
comment:17 Changed 3 years ago by chaider
- Fixed adding constants to foldedNodes
comment:18 Changed 3 years ago by gkronber
r18126: various smaller changes in unit tests
comment:19 Changed 3 years ago by gkronber
comment:20 Changed 3 years ago by gkronber
r18128: updated GP samples
comment:21 Changed 3 years ago by gkronber
r18129: updated grammars again to use number instead of constant (fixing a bug I introduced earlier) and updated samples again.
comment:22 Changed 3 years ago by gkronber
r18130: fixed a problem in the DerivativeCalculator for powers with constant exponents
comment:23 Changed 3 years ago by gkronber
r18131: fixed results for ShapeConstrainedRegressionSampleTest
comment:24 Changed 3 years ago by gkronber
r18132: merged r18091:18131 from branch to trunk
comment:25 Changed 3 years ago by chaider
- Set value of generated constant in GESymbolicExpressionGrammar
comment:26 Changed 3 years ago by chaider
r18136 merged branch into trunk
comment:27 Changed 3 years ago by chaider
- Removed .DotSettings file
comment:28 Changed 3 years ago by chaider
- Moved init of variable ranges to base class
- Changed signature order of ShapeConstrainedRegressionProblemData
- Fixed naming in SymbolicExpressionTreeNodeEqualityComparer, SymbolicExpressionTreeBottomUpSimilarityCalculator
comment:29 Changed 3 years ago by chaider
r18141 merged branch into trunk
comment:30 Changed 3 years ago by chaider
- 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
comment:31 Changed 3 years ago by chaider
r18143 merged branch into trunk
comment:32 Changed 3 years ago by dpiringe
- added the StorableAttribute to property Value in symbol Constant, because the ConstantTreeNode references this property and it causes deserialisazion bugs without the attribute
comment:33 Changed 3 years ago by chaider
- Fixed naming in SymbolicExpressionTreeMaxCommonSubtreeSimilarityCalculator, SymbolicExpressionTreeNodeEqualityComparer and ISymbolicExpressionTreeNodeSimilarityComparer
- Fixed tests in SymbolicExpressionTreeBottomUpSimilarityCalculatorTest
comment:34 Changed 3 years ago by chaider
- 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
comment:35 Changed 3 years ago by dpiringe
- adapted symbol Constant and Number for SymbolicDataAnalysisExpressionTreeNativeInterpreter
comment:36 Changed 3 years ago by dpiringe
- merged branch into trunk
comment:37 Changed 3 years ago by gkronber
Bugs / suggestion for improvments:
- values for num are not optimized / changed (tested with paramopt and batchInterpreter)
num values cannot be initialized to negative values (<num=-1.5>). Only via workaround: -<num=1.5>.-> fixed in r18169
comment:38 Changed 3 years ago by gkronber
r18174: fixed a bug in the calculation of derivatives introduced with changes in the NumberSymbols branch
comment:39 Changed 3 years ago by gkronber
r18175: merged r18136:18138,r18153,r18165:18174 from trunk to branch
comment:40 Changed 3 years ago by gkronber
- Owner changed from chaider to gkronber
- Status changed from accepted to assigned
- Version changed from branch to trunk
comment:41 Changed 3 years ago by gkronber
- Component changed from ### Undefined ### to Problems.DataAnalysis.Symbolic
comment:42 Changed 3 years ago by gkronber
r18215: delete branch after it was merged back to trunk
r18091 branch trunk