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 78 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. | |
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 39 of file CrossValidation.cxx.
TMVA::CrossValidationResult::CrossValidationResult | ( | const CrossValidationResult & | obj | ) |
Definition at line 54 of file CrossValidation.cxx.
|
inline |
Definition at line 98 of file CrossValidation.h.
Definition at line 171 of file CrossValidation.cxx.
TCanvas * TMVA::CrossValidationResult::DrawAvgROCCurve | ( | Bool_t | drawFolds = kFALSE , |
TString | title = "" |
||
) | const |
Definition at line 185 of file CrossValidation.cxx.
|
private |
Definition at line 71 of file CrossValidation.cxx.
Generates a multigraph that contains an average ROC Curve.
[in] | numSamples | 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 105 of file CrossValidation.cxx.
|
inline |
Definition at line 112 of file CrossValidation.h.
|
inline |
Definition at line 113 of file CrossValidation.h.
|
inline |
Definition at line 114 of file CrossValidation.h.
|
inline |
Definition at line 115 of file CrossValidation.h.
Float_t TMVA::CrossValidationResult::GetROCAverage | ( | ) | const |
Definition at line 130 of file CrossValidation.cxx.
TMultiGraph * TMVA::CrossValidationResult::GetROCCurves | ( | Bool_t | fLegend = kTRUE | ) |
Definition at line 90 of file CrossValidation.cxx.
Float_t TMVA::CrossValidationResult::GetROCStandardDeviation | ( | ) | const |
Definition at line 140 of file CrossValidation.cxx.
Definition at line 100 of file CrossValidation.h.
|
inline |
Definition at line 111 of file CrossValidation.h.
|
inline |
Definition at line 110 of file CrossValidation.h.
|
inline |
Definition at line 116 of file CrossValidation.h.
|
inline |
Definition at line 117 of file CrossValidation.h.
|
inline |
Definition at line 118 of file CrossValidation.h.
void TMVA::CrossValidationResult::Print | ( | ) | const |
Definition at line 152 of file CrossValidation.cxx.
|
friend |
Definition at line 79 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 89 of file CrossValidation.h.
|
private |
Definition at line 90 of file CrossValidation.h.
|
private |
Definition at line 83 of file CrossValidation.h.
Definition at line 82 of file CrossValidation.h.
|
private |
Definition at line 86 of file CrossValidation.h.
|
private |
Definition at line 85 of file CrossValidation.h.
|
private |
Definition at line 91 of file CrossValidation.h.
|
private |
Definition at line 92 of file CrossValidation.h.
|
private |
Definition at line 93 of file CrossValidation.h.