Class to save the results of cross validation, the metric for the classification ins ROC and you can ROC curves ROC integrals, ROC average and ROC standard deviation.
Definition at line 76 of file CrossValidation.h.
Public Member Functions | |
CrossValidationResult (const CrossValidationResult &) | |
CrossValidationResult (UInt_t numFolds) | |
~CrossValidationResult () | |
TCanvas * | Draw (const TString name="CrossValidation") const |
TCanvas * | DrawAvgROCCurve (Bool_t drawFolds=kFALSE, TString title="") const |
TGraph * | GetAvgROCCurve (UInt_t numSamples=100) const |
Generates a multigraph that contains an average ROC Curve. More... | |
std::vector< Double_t > | GetEff01Values () const |
std::vector< Double_t > | GetEff10Values () const |
std::vector< Double_t > | GetEff30Values () const |
std::vector< Double_t > | GetEffAreaValues () const |
Float_t | GetROCAverage () const |
TMultiGraph * | GetROCCurves (Bool_t fLegend=kTRUE) |
Float_t | GetROCStandardDeviation () const |
std::map< UInt_t, Float_t > | GetROCValues () const |
std::vector< Double_t > | GetSepValues () const |
std::vector< Double_t > | GetSigValues () const |
std::vector< Double_t > | GetTrainEff01Values () const |
std::vector< Double_t > | GetTrainEff10Values () const |
std::vector< Double_t > | GetTrainEff30Values () const |
void | Print () const |
Private Member Functions | |
void | Fill (CrossValidationFoldResult const &fr) |
Private Attributes | |
std::vector< Double_t > | fEff01s |
std::vector< Double_t > | fEff10s |
std::vector< Double_t > | fEff30s |
std::vector< Double_t > | fEffAreas |
std::shared_ptr< TMultiGraph > | fROCCurves |
std::map< UInt_t, Float_t > | fROCs |
std::vector< Double_t > | fSeps |
std::vector< Double_t > | fSigs |
std::vector< Double_t > | fTrainEff01s |
std::vector< Double_t > | fTrainEff10s |
std::vector< Double_t > | fTrainEff30s |
Friends | |
class | CrossValidation |
#include <TMVA/CrossValidation.h>
TMVA::CrossValidationResult::CrossValidationResult | ( | UInt_t | numFolds | ) |
Definition at line 41 of file CrossValidation.cxx.
TMVA::CrossValidationResult::CrossValidationResult | ( | const CrossValidationResult & | obj | ) |
Definition at line 56 of file CrossValidation.cxx.
|
inline |
Definition at line 96 of file CrossValidation.h.
Definition at line 173 of file CrossValidation.cxx.
TCanvas * TMVA::CrossValidationResult::DrawAvgROCCurve | ( | Bool_t | drawFolds = kFALSE , |
TString | title = "" |
||
) | const |
Definition at line 187 of file CrossValidation.cxx.
|
private |
Definition at line 73 of file CrossValidation.cxx.
Generates a multigraph that contains an average ROC Curve.
numSamples[in] | Number of samples used for generating the average ROC Curve. Avg. curve will be evaluated only at these points (using interpolation if necessary). |
Definition at line 107 of file CrossValidation.cxx.
|
inline |
Definition at line 110 of file CrossValidation.h.
|
inline |
Definition at line 111 of file CrossValidation.h.
|
inline |
Definition at line 112 of file CrossValidation.h.
|
inline |
Definition at line 113 of file CrossValidation.h.
Float_t TMVA::CrossValidationResult::GetROCAverage | ( | ) | const |
Definition at line 132 of file CrossValidation.cxx.
TMultiGraph * TMVA::CrossValidationResult::GetROCCurves | ( | Bool_t | fLegend = kTRUE | ) |
Definition at line 92 of file CrossValidation.cxx.
Float_t TMVA::CrossValidationResult::GetROCStandardDeviation | ( | ) | const |
Definition at line 142 of file CrossValidation.cxx.
Definition at line 98 of file CrossValidation.h.
|
inline |
Definition at line 109 of file CrossValidation.h.
|
inline |
Definition at line 108 of file CrossValidation.h.
|
inline |
Definition at line 114 of file CrossValidation.h.
|
inline |
Definition at line 115 of file CrossValidation.h.
|
inline |
Definition at line 116 of file CrossValidation.h.
void TMVA::CrossValidationResult::Print | ( | ) | const |
Definition at line 154 of file CrossValidation.cxx.
|
friend |
Definition at line 77 of file CrossValidation.h.
|
private |
Definition at line 85 of file CrossValidation.h.
|
private |
Definition at line 86 of file CrossValidation.h.
|
private |
Definition at line 87 of file CrossValidation.h.
|
private |
Definition at line 88 of file CrossValidation.h.
|
private |
Definition at line 81 of file CrossValidation.h.
Definition at line 80 of file CrossValidation.h.
|
private |
Definition at line 84 of file CrossValidation.h.
|
private |
Definition at line 83 of file CrossValidation.h.
|
private |
Definition at line 89 of file CrossValidation.h.
|
private |
Definition at line 90 of file CrossValidation.h.
|
private |
Definition at line 91 of file CrossValidation.h.