- Timestamp:
- 11/29/12 10:59:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisModel.cs
r8664 r8972 69 69 70 70 #region Scaling 71 p ublic static void Scale(ISymbolicDataAnalysisModel model,IDataAnalysisProblemData problemData, string targetVariable) {71 protected void Scale(IDataAnalysisProblemData problemData, string targetVariable) { 72 72 var dataset = problemData.Dataset; 73 73 var rows = problemData.TrainingIndices; 74 var estimatedValues = model.Interpreter.GetSymbolicExpressionTreeValues(model.SymbolicExpressionTree, dataset, rows);74 var estimatedValues = Interpreter.GetSymbolicExpressionTreeValues(SymbolicExpressionTree, dataset, rows); 75 75 var targetValues = dataset.GetDoubleValues(targetVariable, rows); 76 76 … … 94 94 ConstantTreeNode betaTreeNode = null; 95 95 // check if model has been scaled previously by analyzing the structure of the tree 96 var startNode = model.SymbolicExpressionTree.Root.GetSubtree(0);96 var startNode = SymbolicExpressionTree.Root.GetSubtree(0); 97 97 if (startNode.GetSubtree(0).Symbol is Addition) { 98 98 var addNode = startNode.GetSubtree(0);
Note: See TracChangeset
for help on using the changeset viewer.