ROC Class Reference

Inheritance diagram for ROC:

Score Score List of all members.

Public Member Functions

 ROC (const std::string &filename)
virtual ~ROC ()
virtual void print ()
 ROC (const std::string &oDir, const std::string &suffix="")
virtual ~ROC ()
virtual std::string getFileName () const
virtual void write (std::fstream &fp)
void updateScores (float target, float actual, float thresh, int i)
void updateScores (bool is_precip, float actual, float thresh, int i)
float safelog (float in)
void update (float actual, float target)
void update (bool is_precip, float conf)
void update (const Score &other)
double pod (size_t i) const
double far (size_t i) const
double csi (size_t i) const
double misclass (size_t i) const
double heidke (size_t i) const
double errorCriterion (size_t i) const
 an error criterion usable for NN stopping, etc.
double heidkeErrorCriterion (size_t i) const
void clear ()
void writeScore (const PolarGrid &input, const PolarGrid &output)
void writeScore ()

Protected Attributes

const int RES
std::vector< int > hit
std::vector< int > hit
std::vector< int > miss
std::vector< int > miss
std::vector< int > fa
std::vector< int > fa
std::vector< int > na
std::vector< int > na
float entropy
int N
std::string outputDir
bool cumulative

Constructor & Destructor Documentation

ROC::ROC ( const std::string &  filename  )  [inline]

virtual ROC::~ROC (  )  [inline, virtual]

ROC::ROC ( const std::string &  oDir,
const std::string &  suffix = "" 
) [inline]

virtual ROC::~ROC (  )  [inline, virtual]


Member Function Documentation

void Score::clear (  )  [inline, inherited]

double Score::csi ( size_t  i  )  const [inline, inherited]

double Score::errorCriterion ( size_t  i  )  const [inline, inherited]

an error criterion usable for NN stopping, etc.

returns a number in the range 0 to 1 with 0=perfect. This number is used by proto_train.bat to devise a stopping criterion.

double Score::far ( size_t  i  )  const [inline, inherited]

virtual std::string ROC::getFileName (  )  const [inline, virtual]

Implements Score.

double Score::heidke ( size_t  i  )  const [inline, inherited]

double Score::heidkeErrorCriterion ( size_t  i  )  const [inline, inherited]

double Score::misclass ( size_t  i  )  const [inline, inherited]

double Score::pod ( size_t  i  )  const [inline, inherited]

virtual void ROC::print (  )  [inline, virtual]

Implements Score.

float Score::safelog ( float  in  )  [inline, inherited]

void Score::update ( const Score other  )  [inline, inherited]

void Score::update ( bool  is_precip,
float  conf 
) [inline, inherited]

void Score::update ( float  actual,
float  target 
) [inline, inherited]

void Score::updateScores ( bool  is_precip,
float  actual,
float  thresh,
int  i 
) [inline, inherited]

void Score::updateScores ( float  target,
float  actual,
float  thresh,
int  i 
) [inline, inherited]

virtual void ROC::write ( std::fstream &  fp  )  [inline, virtual]

Implements Score.

void Score::writeScore (  )  [inline, inherited]

void Score::writeScore ( const PolarGrid &  input,
const PolarGrid &  output 
) [inline, inherited]


Member Data Documentation

bool Score::cumulative [protected, inherited]

float Score::entropy [protected, inherited]

std::vector<int> Score::fa [protected, inherited]

std::vector<int> Score::fa [protected, inherited]

std::vector<int> Score::hit [protected, inherited]

std::vector<int> Score::hit [protected, inherited]

std::vector<int> Score::miss [protected, inherited]

std::vector<int> Score::miss [protected, inherited]

int Score::N [protected, inherited]

std::vector<int> Score::na [protected, inherited]

std::vector<int> Score::na [protected, inherited]

std::string Score::outputDir [protected, inherited]

const int Score::RES [protected, inherited]


Generated on Fri May 4 13:40:21 2012 for WDSS-IIw2algs by  doxygen 1.4.7