Ignore:
Timestamp:
08/28/07 13:03:04 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjtrain/MJTrainDisp.cc

    r8704 r8719  
    4343//    opt.Train("rf-disp.root", set, 30000); // Number of train events
    4444//
     45//    // Two of the displayed histograms show the cut efficiency for
     46//    // a given Theta-Cut. The default is 0.215. It can be overwritten
     47//    // by
     48//    opt.SetThetaCut(0.165);
     49//
    4550//
    4651// Random Numbers:
     
    227232Bool_t MJTrainDisp::Train(const char *out, const MDataSet &set, Int_t num)
    228233{
    229     SetTitle(Form("TrainDisp: %s", out));
     234    SetTitle(Form("Train%s: %s", fNameOutput.Data(), out));
    230235
    231236    if (fDisplay)
     
    282287
    283288    // ------------------------ Train RF --------------------------
    284     MRanForestCalc rf("TrainDisp", fTitle);
     289    MRanForestCalc rf("Train", fTitle);
    285290    rf.SetNumTrees(fNumTrees);
    286291    rf.SetNdSize(fNdSize);
     
    292297    rf.SetFileName(out);
    293298    rf.SetDebug(fDebug>1);
    294     rf.SetNameOutput("Disp");
     299    rf.SetNameOutput(fNameOutput);
     300    rf.SetFunction(fResultFunction);
    295301
    296302    /*
     
    319325
    320326    MParameterD par("ThetaSquaredCut");
    321     par.SetVal(0.215*0.215);
     327    par.SetVal(fThetaCut*fThetaCut);
    322328    plist.AddToList(&par);
    323329
Note: See TracChangeset for help on using the changeset viewer.