- Timestamp:
- 10/12/12 15:34:05 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestClassification.cs
r8786 r8803 134 134 if (m <= 0 || m > 1) throw new ArgumentException("The M parameter in the random forest regression must be between 0 and 1."); 135 135 136 lock (alglib.math.rndobject) { 137 alglib.math.rndobject = new System.Random(seed); 138 } 136 alglib.math.rndobject = new System.Random(seed); 139 137 140 138 Dataset dataset = problemData.Dataset; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestRegression.cs
r8786 r8803 133 133 if (m <= 0 || m > 1) throw new ArgumentException("The M parameter in the random forest regression must be between 0 and 1."); 134 134 135 lock (alglib.math.rndobject) { 136 alglib.math.rndobject = new System.Random(seed); 137 } 135 alglib.math.rndobject = new System.Random(seed); 138 136 139 137 Dataset dataset = problemData.Dataset;
Note: See TracChangeset
for help on using the changeset viewer.