source: trunk/Mars/mranforest/MHRanForestGini.h@ 18590

Last change on this file since 18590 was 9153, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 813 bytes
Line 
1#ifndef MARS_MHRanForestGini
2#define MARS_MHRanForestGini
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef ROOT_TArrayF
9#include <TArrayF.h>
10#endif
11#ifndef ROOT_TGraph
12#include <TGraph.h>
13#endif
14#ifndef ROOT_TPaveText
15#include <TPaveText.h>
16#endif
17
18class MParList;
19class MRanForest;
20class MRanTree;
21
22class MHRanForestGini : public MH
23{
24private:
25 MRanForest *fRanForest; //!
26
27 TArrayF fGini; //!
28
29 TGraph fGraphGini;
30 TGraph fGraphError;
31 TGraph fGraphNodes;
32
33 TPaveText fRules;
34
35public:
36 MHRanForestGini(Int_t nbins=100, const char *name=NULL, const char *title=NULL);
37
38 Bool_t SetupFill(const MParList *plist);
39 Int_t Fill(const MParContainer *par, const Stat_t w=1);
40 Bool_t Finalize();
41
42 void Draw(Option_t *opt="");
43
44 ClassDef(MHRanForestGini, 1)
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.