Changeset 18027 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/Script Sources/GridSearchRFClassificationScriptSource.cs
- Timestamp:
- 07/20/21 18:13:55 (3 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Tests merged: 17940,17943,17948-17950,17958,17965,17968,18001-18002
- Property svn:mergeinfo changed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/Script Sources/GridSearchRFClassificationScriptSource.cs
r12292 r18027 38 38 double rmsError, outOfBagRmsError, relClassificationError, outOfBagRelClassificationError; 39 39 bestParameters = RandomForestUtil.GridSearch(problemData, numberOfFolds, shuffleFolds, randomForestParameterRanges, seed, maximumDegreeOfParallelism); 40 var model = RandomForest Model.CreateClassificationModel(problemData, problemData.TrainingIndices, bestParameters.N, bestParameters.R, bestParameters.M, seed,41 out rmsError, out outOfBagRmsError, out relClassificationError, out outOfBagRelClassificationError);40 var model = RandomForestClassification.CreateRandomForestClassificationModel(problemData, problemData.TrainingIndices, bestParameters.N, bestParameters.R, bestParameters.M, seed, 41 out rmsError, out relClassificationError, out outOfBagRmsError, out outOfBagRelClassificationError); 42 42 return (RandomForestClassificationSolution)model.CreateClassificationSolution(problemData); 43 43 } … … 46 46 double rmsError, outOfBagRmsError, relClassificationError, outOfBagRelClassificationError; 47 47 bestParameters = RandomForestUtil.GridSearch(problemData, randomForestParameterRanges, seed, maximumDegreeOfParallelism); 48 var model = RandomForest Model.CreateClassificationModel(problemData, problemData.TrainingIndices, bestParameters.N, bestParameters.R, bestParameters.M, seed,49 out rmsError, out outOfBagRmsError, out relClassificationError, out outOfBagRelClassificationError);48 var model = RandomForestClassification.CreateRandomForestClassificationModel(problemData, problemData.TrainingIndices, bestParameters.N, bestParameters.R, bestParameters.M, seed, 49 out rmsError, out relClassificationError, out outOfBagRmsError, out outOfBagRelClassificationError); 50 50 return (RandomForestClassificationSolution)model.CreateClassificationSolution(problemData); 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.