SHOGUN  v1.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions
CErrorRateMeasure Class Reference

Detailed Description

class ErrorRateMeasure used to measure error rate of 2-class classifier.

This class is also capable of measuring any other rate using get_[measure name] methods of CContingencyTableEvaluation class.

Note that evaluate() should be called first.

Definition at line 257 of file ContingencyTableEvaluation.h.

Inheritance diagram for CErrorRateMeasure:
Inheritance graph
[legend]

Public Member Functions

 CErrorRateMeasure ()
 
virtual ~CErrorRateMeasure ()
 
virtual const char * get_name () const
 
- Public Member Functions inherited from CContingencyTableEvaluation
 CContingencyTableEvaluation ()
 
 CContingencyTableEvaluation (EContingencyTableMeasureType type)
 
virtual ~CContingencyTableEvaluation ()
 
virtual float64_t evaluate (CLabels *predicted, CLabels *ground_truth)
 
EEvaluationDirection get_evaluation_direction ()
 
float64_t get_accuracy () const
 
float64_t get_error_rate () const
 
float64_t get_BAL () const
 
float64_t get_WRACC () const
 
float64_t get_F1 () const
 
float64_t get_cross_correlation () const
 
float64_t get_recall () const
 
float64_t get_precision () const
 
float64_t get_specificity () const
 
- Public Member Functions inherited from CBinaryClassEvaluation
 CBinaryClassEvaluation ()
 
virtual ~CBinaryClassEvaluation ()
 
- Public Member Functions inherited from CEvaluation
 CEvaluation ()
 
virtual ~CEvaluation ()
 
- Public Member Functions inherited from CSGObject
 CSGObject ()
 
 CSGObject (const CSGObject &orig)
 
virtual ~CSGObject ()
 
virtual bool is_generic (EPrimitiveType *generic) const
 
template<class T >
void set_generic ()
 
void unset_generic ()
 
virtual void print_serializable (const char *prefix="")
 
virtual bool save_serializable (CSerializableFile *file, const char *prefix="")
 
virtual bool load_serializable (CSerializableFile *file, const char *prefix="")
 
void set_global_io (SGIO *io)
 
SGIOget_global_io ()
 
void set_global_parallel (Parallel *parallel)
 
Parallelget_global_parallel ()
 
void set_global_version (Version *version)
 
Versionget_global_version ()
 
SGVector< char * > get_modelsel_names ()
 
char * get_modsel_param_descr (const char *param_name)
 
index_t get_modsel_param_index (const char *param_name)
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 
template<>
void set_generic ()
 

Additional Inherited Members

- Public Attributes inherited from CSGObject
SGIOio
 
Parallelparallel
 
Versionversion
 
Parameterm_parameters
 
Parameterm_model_selection_parameters
 
- Protected Member Functions inherited from CContingencyTableEvaluation
void compute_scores (CLabels *predicted, CLabels *ground_truth)
 
- Protected Member Functions inherited from CSGObject
virtual void load_serializable_pre () throw (ShogunException)
 
virtual void load_serializable_post () throw (ShogunException)
 
virtual void save_serializable_pre () throw (ShogunException)
 
virtual void save_serializable_post () throw (ShogunException)
 
- Protected Attributes inherited from CContingencyTableEvaluation
EContingencyTableMeasureType m_type
 
bool m_computed
 
int32_t m_N
 
float64_t m_TP
 
float64_t m_FP
 
float64_t m_TN
 
float64_t m_FN
 

Constructor & Destructor Documentation

Definition at line 261 of file ContingencyTableEvaluation.h.

virtual ~CErrorRateMeasure ( )
virtual

Definition at line 263 of file ContingencyTableEvaluation.h.

Member Function Documentation

virtual const char* get_name ( ) const
virtual

get name

Reimplemented from CContingencyTableEvaluation.

Definition at line 265 of file ContingencyTableEvaluation.h.


The documentation for this class was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation