Changeset 14368
- Timestamp:
- 11/02/16 21:11:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestModel.cs
r14345 r14368 202 202 203 203 public ISymbolicExpressionTree ExtractTree(int treeIdx) { 204 var rf = RandomForest; 204 205 // hoping that the internal representation of alglib is stable 205 206 … … 214 215 int offset = 0; 215 216 for (int i = 0; i < treeIdx - 1; i++) { 216 offset = offset + (int)Math.Round(r andomForest.innerobj.trees[offset]);217 offset = offset + (int)Math.Round(rf.innerobj.trees[offset]); 217 218 } 218 219 … … 220 221 var varCondSy = new VariableCondition() { IgnoreSlope = true }; 221 222 222 var node = CreateRegressionTreeRec(r andomForest.innerobj.trees, offset, offset + 1, constSy, varCondSy);223 var node = CreateRegressionTreeRec(rf.innerobj.trees, offset, offset + 1, constSy, varCondSy); 223 224 224 225 var startNode = new StartSymbol().CreateTreeNode();
Note: See TracChangeset
for help on using the changeset viewer.