Score Class Reference

Inheritance diagram for Score:

ConfusionMatrix ConfusionMatrix ROC ROC List of all members.

Public Member Functions

 Score (int tics)
void updateScores (float target, float actual, float thresh, int i)
float safelog (float in)
void update (float actual, float target)
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
virtual void print ()=0
virtual ~Score ()
 Score (const std::string &oDir, int tics)
void clear ()
void writeScore (const PolarGrid &input, const PolarGrid &output)
void updateScores (bool is_precip, float actual, float thresh, int i)
void update (bool is_precip, float conf)
virtual void write (std::fstream &fp)=0
virtual ~Score ()
virtual std::string getFileName () const =0
void writeScore ()
void update (const Score &other)

Protected Attributes

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

Constructor & Destructor Documentation

Score::Score ( int  tics  )  [inline]

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

Score::Score ( const std::string &  oDir,
int  tics 
) [inline]

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


Member Function Documentation

void Score::clear (  )  [inline]

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

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

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]

virtual std::string Score::getFileName (  )  const [pure virtual]

Implemented in ConfusionMatrix, and ROC.

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

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

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

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

virtual void Score::print (  )  [pure virtual]

Implemented in ConfusionMatrix, and ROC.

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

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

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

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

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

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

virtual void Score::write ( std::fstream &  fp  )  [pure virtual]

Implemented in ConfusionMatrix, and ROC.

void Score::writeScore (  )  [inline]

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


Member Data Documentation

bool Score::cumulative [protected]

float Score::entropy [protected]

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

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

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

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

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

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

int Score::N [protected]

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

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

std::string Score::outputDir [protected]

const int Score::RES [protected]


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