Changeset 1871 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 03/27/03 13:42:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/RanForest.C
r1859 r1871 103 103 104 104 MRanForestGrow rfgrow2; 105 rfgrow2.SetNumTrees( 50);105 rfgrow2.SetNumTrees(10); 106 106 rfgrow2.SetNumTry(3); 107 rfgrow2.SetNdSize(1 );107 rfgrow2.SetNdSize(10); 108 108 109 109 MWriteRootFile rfwrite2("RF.root"); … … 114 114 tlist2.AddToList(&rfwrite2); 115 115 tlist2.AddToList(&fillh2); 116 117 // gRandom is accessed from MRanForest (-> bootstrap aggregating) 118 // and MRanTree (-> random split selection) and should be initialized 119 // here if you want to set a certain random number generator 120 if(gRandom) 121 delete gRandom; 122 gRandom = new TRandom3(0); 116 123 117 124 //
Note:
See TracChangeset
for help on using the changeset viewer.