69 if (
ievt >= (
Int_t)fRegValues.size()) fRegValues.resize(
ievt+1 );
78 ds->SetCurrentType( GetTreeType() );
89 std::vector<Float_t>
regVal = fRegValues.at(
ievt);
98 h->SetDirectory(
nullptr);
99 h->GetXaxis()->SetTitle(
"Quadratic Deviation");
100 h->GetYaxis()->SetTitle(
"Weighted Entries");
104 std::vector<Float_t>
regVal = fRegValues.at(
ievt);
118 ds->SetCurrentType( GetTreeType() );
161 std::vector<Float_t>
regVal = fRegValues.at(
ievt);
172 xmin -= 1.01*epsilon;
173 xmax += 1.01*epsilon;
176 ymin -= 1.01*epsilon;
177 ymax += 1.01*epsilon;
181 h->SetDirectory(
nullptr);
186 h->GetYaxis()->SetTitle(
yName );
190 std::vector<Float_t>
regVal = fRegValues.at(
ievt);
205 Log() << kINFO <<
"Create variable histograms" <<
Endl;
217 Log() << kINFO <<
"Create regression target histograms" <<
Endl;
228 Log() << kINFO <<
"Create regression average deviation" <<
Endl;
235 h->GetQuantiles(1,
yq,
xq);
244 Log() << kINFO <<
"Results created" <<
Endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
static char * Format(const char *format, va_list ap)
Format a string in a circular formatting buffer (using a printf style format descriptor).
1-D histogram with a float per channel (see TH1 documentation)
2-D histogram with a float per channel (see TH1 documentation)
Class that contains all the data information.
Class that contains all the data information.
ostringstream derivative to redirect and format output
void SetValue(std::vector< Float_t > &value, Int_t ievt)
TH2F * DeviationAsAFunctionOf(UInt_t varNum, UInt_t tgtNum)
TH1F * QuadraticDeviation(UInt_t tgtNum, Bool_t truncate=false, Double_t truncvalue=0.)
void CreateDeviationHistograms(TString prefix)
~ResultsRegression()
destructor
ResultsRegression(const DataSetInfo *dsi, TString resultsName)
constructor
Class that is the base-class for a vector of result.
Class for type info of MVA input variable.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
MsgLogger & Endl(MsgLogger &ml)
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.