Changeset 7685 for trunk/MagicSoft/Mars/mranforest
- Timestamp:
- 05/03/06 11:54:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mranforest/MRanForest.cc
r7684 r7685 331 331 fDataRang.Reset(0); 332 332 333 if(fWeight.GetSize()!=numdata) 333 Bool_t useweights = fWeight.GetSize()==numdata; 334 if (!useweights) 334 335 { 335 336 fWeight.Set(numdata); … … 390 391 *fLog << inf << endl; 391 392 *fLog << "Following input for the tree growing are used:"<<endl; 393 *fLog << " Forest type : "<<(fClassify?"classification":"regression")<<endl; 392 394 *fLog << " Number of Trees : "<<fNumTrees<<endl; 393 395 *fLog << " Number of Trials: "<<(fNumTry==0?tryest:fNumTry)<<(fNumTry==0?" (auto)":"")<<endl; 394 396 *fLog << " Final Node size : "<<fNdSize<<endl; 395 397 *fLog << " Using Grid : "<<(fGrid.GetSize()>0?"Yes":"No")<<endl; 396 *fLog << " Using Weights : "<<( fWeight.GetSize()>0?"Yes":"No")<<endl;398 *fLog << " Using Weights : "<<(useweights?"Yes":"No")<<endl; 397 399 *fLog << " Number of Events: "<<numdata<<endl; 398 400 *fLog << " Number of Params: "<<dim<<endl;
Note:
See TracChangeset
for help on using the changeset viewer.