Changeset 7420 for trunk/MagicSoft/Mars/mjtrain/MJTrainSeparation.h
- Timestamp:
- 11/22/05 11:06:56 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjtrain/MJTrainSeparation.h
r7412 r7420 10 10 #endif 11 11 12 class MH3; 13 12 14 class MJTrainSeparation : public MJTrainRanForest 13 15 { … … 19 21 UInt_t fNumTrainOff; 20 22 23 UInt_t fNumTestOn; 24 UInt_t fNumTestOff; 25 26 void DisplayResult(MH3 &h31, MH3 &h32); 27 21 28 public: 22 MJTrainSeparation() { } 29 MJTrainSeparation() : 30 fNumTrainOn((UInt_t)-1), fNumTrainOff((UInt_t)-1), fNumTestOn((UInt_t)-1), fNumTestOff((UInt_t)-1) 31 { } 23 32 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) 25 34 { 26 35 ds.Copy(fDataSetTrain); … … 28 37 fNumTrainOff = noff; 29 38 } 30 void SetDataSetTest(const MDataSet &ds )39 void SetDataSetTest(const MDataSet &ds, UInt_t non=(UInt_t)-1, UInt_t noff=(UInt_t)-1) 31 40 { 32 41 ds.Copy(fDataSetTest); 42 fNumTestOn = non; 43 fNumTestOff = noff; 33 44 } 34 45
Note:
See TracChangeset
for help on using the changeset viewer.