Ignore:
Timestamp:
11/22/05 11:06:56 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjtrain/MJTrainSeparation.h

    r7412 r7420  
    1010#endif
    1111
     12class MH3;
     13
    1214class MJTrainSeparation : public MJTrainRanForest
    1315{
     
    1921    UInt_t fNumTrainOff;
    2022
     23    UInt_t fNumTestOn;
     24    UInt_t fNumTestOff;
     25
     26    void DisplayResult(MH3 &h31, MH3 &h32);
     27
    2128public:
    22     MJTrainSeparation() { }
     29    MJTrainSeparation() :
     30        fNumTrainOn((UInt_t)-1), fNumTrainOff((UInt_t)-1), fNumTestOn((UInt_t)-1), fNumTestOff((UInt_t)-1)
     31    { }
    2332
    24     void SetDataSetTrain(const MDataSet &ds, UInt_t non, UInt_t noff)
     33    void SetDataSetTrain(const MDataSet &ds, UInt_t non=(UInt_t)-1, UInt_t noff=(UInt_t)-1)
    2534    {
    2635        ds.Copy(fDataSetTrain);
     
    2837        fNumTrainOff = noff;
    2938    }
    30     void SetDataSetTest(const MDataSet &ds)
     39    void SetDataSetTest(const MDataSet &ds, UInt_t non=(UInt_t)-1, UInt_t noff=(UInt_t)-1)
    3140    {
    3241        ds.Copy(fDataSetTest);
     42        fNumTestOn = non;
     43        fNumTestOff = noff;
    3344    }
    3445
Note: See TracChangeset for help on using the changeset viewer.