Changeset 6241 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestRegression.cs
 Timestamp:
 05/20/11 18:54:39 (13 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestRegression.cs
r6240 r6241 87 87 Results.Add(new Result(RandomForestRegressionModelResultName, "The random forest regression solution.", solution)); 88 88 Results.Add(new Result("Root mean square error", "The root of the mean of squared errors of the random forest regression solution on the training set.", new DoubleValue(rmsError))); 89 Results.Add(new Result("Average relative error", "The average of relative errors of the random forest regression solution on the training set.", new DoubleValue(avgRelError)));90 Results.Add(new Result("Root mean square error (outofbag)", "The outofbag root of the mean of squared errors of the random forest regression solution on the training set.", new DoubleValue(outOfBagRmsError)));91 Results.Add(new Result("Average relative error (outofbag)", "The outofbag average of relative errors of the random forest regression solution on the training set.", new DoubleValue(outOfBagAvgRelError)));89 Results.Add(new Result("Average relative error", "The average of relative errors of the random forest regression solution on the training set.", new PercentValue(avgRelError))); 90 Results.Add(new Result("Root mean square error (outofbag)", "The outofbag root of the mean of squared errors of the random forest regression solution.", new DoubleValue(outOfBagRmsError))); 91 Results.Add(new Result("Average relative error (outofbag)", "The outofbag average of relative errors of the random forest regression solution.", new PercentValue(outOfBagAvgRelError))); 92 92 } 93 93 … … 116 116 outOfBagRmsError = rep.oobrmserror; 117 117 118 return new RandomForestRegressionSolution(problemData, new RandomForest RegressionModel(dforest, targetVariable, allowedInputVariables));118 return new RandomForestRegressionSolution(problemData, new RandomForestModel(dforest, targetVariable, allowedInputVariables)); 119 119 } 120 120 #endregion
Note: See TracChangeset
for help on using the changeset viewer.