Changeset 7422 for trunk/MagicSoft/Mars
- Timestamp:
- 11/22/05 12:18:47 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7421 r7422 42 42 - added another training type 43 43 - added some comments 44 - set version number to 1 to allow writing it to ganymed output 45 - added Print function 44 46 45 47 * mranforest/MRanTree.[h,cc]: -
trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc
r7420 r7422 61 61 62 62 MRanForestCalc::MRanForestCalc(const char *name, const char *title) 63 : fD ebug(kFALSE), fData(0), fRFOut(0),63 : fData(0), fRFOut(0), fTestMatrix(0), 64 64 fNumTrees(-1), fNumTry(-1), fNdSize(-1), fNumObsoleteVariables(1), 65 f TestMatrix(0), fEstimationMode(kMean)65 fNameOutput(gsNameOutput), fDebug(kFALSE), fEstimationMode(kMean) 66 66 { 67 67 fName = name ? name : gsDefName.Data(); … … 376 376 } 377 377 378 void MRanForest::Print(Option_t *o) const 379 { 380 *fLog << all; 381 *fLog << GetDescriptor() << ":" << endl; 382 *fLog << " - Forest "; 383 switch (fEForests.GetEntries()) 384 { 385 case 0: *fLog << "not yet initialized." << endl; break; 386 case 1: *fLog << "is a single tree forest." << endl; break; 387 default: *fLog << "is a multi tree forest." << endl; break; 388 } 389 /* 390 *fLog << " - Trees: " << fNumTrees << endl; 391 *fLog << " - Trys: " << fNumTry << endl; 392 *fLog << " - Node Size: " << fNdSize << endl; 393 *fLog << " - Node Size: " << fNdSize << endl; 394 */ 395 *fLog << " - FileName: " << fFileName << endl; 396 *fLog << " - NameOutput: " << fNameOutput << endl; 397 } 398 378 399 // -------------------------------------------------------------------------- 379 400 //
Note:
See TracChangeset
for help on using the changeset viewer.