Changeset 18146 for branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeInterpreter.cs
- Timestamp:
- 12/16/21 14:23:48 (3 years ago)
- Location:
- branches/3136_Structural_GP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeInterpreter.cs
r18071 r18146 496 496 return ((IList<double>)currentInstr.data)[actualRow] * laggedVariableTreeNode.Weight; 497 497 } 498 case OpCodes.Constant: { 499 var constTreeNode = (ConstantTreeNode)currentInstr.dynamicNode; 500 return constTreeNode.Value; 501 } 498 case OpCodes.Constant: // fall through 499 case OpCodes.Number: { 500 var numericTreeNode = (INumericTreeNode) currentInstr.dynamicNode; 501 return numericTreeNode.Value; 502 } 502 503 503 504 //mkommend: this symbol uses the logistic function f(x) = 1 / (1 + e^(-alpha * x) )
Note: See TracChangeset
for help on using the changeset viewer.