Changeset 1880 for trunk/MagicSoft/Mars/mhist/MHRanForestGini.cc
- Timestamp:
- 03/31/03 10:37:56 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHRanForestGini.cc
r1870 r1880 121 121 for (Int_t i=0; i<n; i++) 122 122 { 123 fGini[i]/=fRanForest->GetNumTrees(); 124 fGini[i]/=fRanForest->GetNumData(); 125 123 126 Stat_t ip = i+1.; 124 fGini[i]/=Stat_t(fRanForest->GetNumTrees());125 fGini[i]/=Stat_t(fRanForest->GetNumData());126 127 Stat_t ig = fGini[i]; 128 127 129 max=TMath::Max(max,ig); 128 130 min=TMath::Min(min,ig); 131 129 132 fGraphGini->SetPoint(i,ip,ig); 130 133 } … … 157 160 g.GetXaxis()->SetTitle("No. of RF-input parameter"); 158 161 g.GetYaxis()->SetTitle("Mean decrease in Gini-index [a.u.]"); 159 g.SetMarkerStyle(kFullDotlarge); 160 g.Draw("P"); 161 162 g.SetMarkerStyle(kFullDotMedium); 163 //g.Draw("P"); 164 gPad->Modified(); 165 gPad->Update(); 162 166 } 163 167 gPad->SetGrid(); … … 189 193 190 194 fGraphGini->SetMarkerStyle(kFullDotSmall); 191 fGraphGini->Draw("P");195 //fGraphGini->Draw("P"); 192 196 gPad->Modified(); 193 197 gPad->Update();
Note:
See TracChangeset
for help on using the changeset viewer.