Changeset 9865 for trunk/Mars
- Timestamp:
- 08/16/10 09:06:19 (14 years ago)
- Location:
- trunk/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/Changelog
r9864 r9865 37 37 - added new function Train which either calls TrainRegression 38 38 or TrainSingleRF 39 40 * mranforest/MHRanForestGini.cc: 41 - improved display 39 42 40 43 -
trunk/Mars/mranforest/MHRanForestGini.cc
r9583 r9865 71 71 72 72 fGraphGini.SetNameTitle("Gini", "Importance of RF-input parameters measured by mean Gini decrease"); 73 fGraphGini.SetMarkerStyle(kFullDotMedium); 73 fGraphGini.SetMarkerStyle(28); 74 fGraphGini.SetFillColor(38); 74 75 75 76 fGraphError.SetNameTitle("ResErr", "Resolution/Error versus train step"); … … 175 176 pad->cd(1); 176 177 gPad->SetBorderMode(0); 177 gPad->SetGridx(); 178 gPad->SetGridy(); 179 fGraphGini.Draw("ALP"); 178 gPad->SetGrid(); 179 fGraphGini.Draw("AB"); 180 180 181 181 TH1 *h = fGraphGini.GetHistogram(); … … 185 185 h->SetYTitle("Mean decrease in Gini-index [au]"); 186 186 h->GetXaxis()->SetNdivisions(10); 187 h->SetMinimum(0); 187 188 } 188 189 189 190 pad->cd(2); 190 191 gPad->SetBorderMode(0); 192 gPad->SetGridy(); 191 193 fGraphError.Draw("ALP"); 192 194 h = fGraphError.GetHistogram(); … … 195 197 h->SetXTitle("Train step/Tree number"); 196 198 h->SetYTitle("Error/Resolution"); 199 h->SetMinimum(0); 197 200 } 198 201 199 202 pad->cd(3); 200 203 gPad->SetBorderMode(0); 204 gPad->SetGridy(); 201 205 fGraphNodes.Draw("ALP"); 202 206 h = fGraphNodes.GetHistogram(); … … 205 209 h->SetXTitle("Train step/Tree number"); 206 210 h->SetYTitle("Number of end nodes"); 211 h->SetMinimum(0); 207 212 } 208 213
Note:
See TracChangeset
for help on using the changeset viewer.