- Timestamp:
- 08/22/11 09:35:06 (13 years ago)
- Location:
- branches/GP.Grammar.Editor/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestClassification.cs
r6241 r6675 126 126 relClassificationError = rep.relclserror; 127 127 outOfBagRelClassificationError = rep.oobrelclserror; 128 return new RandomForestClassificationSolution( problemData, new RandomForestModel(dforest, targetVariable, allowedInputVariables, classValues));128 return new RandomForestClassificationSolution((IClassificationProblemData)problemData.Clone(), new RandomForestModel(dforest, targetVariable, allowedInputVariables, classValues)); 129 129 } 130 130 #endregion -
branches/GP.Grammar.Editor/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestRegression.cs
r6241 r6675 116 116 outOfBagRmsError = rep.oobrmserror; 117 117 118 return new RandomForestRegressionSolution( problemData, new RandomForestModel(dforest, targetVariable, allowedInputVariables));118 return new RandomForestRegressionSolution((IRegressionProblemData)problemData.Clone(), new RandomForestModel(dforest, targetVariable, allowedInputVariables)); 119 119 } 120 120 #endregion
Note: See TracChangeset
for help on using the changeset viewer.