Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef DIRECTORCONTINGENCYTABLEEVALUATION_H_
00011 #define DIRECTORCONTINGENCYTABLEEVALUATION_H_
00012
00013 #include <shogun/evaluation/ContingencyTableEvaluation.h>
00014 #include <shogun/lib/config.h>
00015 #ifdef USE_SWIG_DIRECTORS
00016 namespace shogun
00017 {
00018
00019 #define IGNORE_IN_CLASSLIST
00020
00024 IGNORE_IN_CLASSLIST class CDirectorContingencyTableEvaluation: public CContingencyTableEvaluation
00025 {
00026
00027 public:
00028
00030 CDirectorContingencyTableEvaluation() :
00031 CContingencyTableEvaluation()
00032 {
00033 }
00034
00036 virtual ~CDirectorContingencyTableEvaluation()
00037 {
00038 }
00039
00041 virtual float64_t evaluate(CLabels* predicted, CLabels* ground_truth)
00042 {
00043 CContingencyTableEvaluation::evaluate(predicted, ground_truth);
00044 }
00045
00049 virtual float64_t get_custom_score()
00050 {
00051 SG_NOTIMPLEMENTED;
00052 return 0.0;
00053 }
00054
00058 virtual EEvaluationDirection get_custom_direction()
00059 {
00060 SG_NOTIMPLEMENTED;
00061 return ED_MAXIMIZE;
00062 }
00063
00065 virtual const char* get_name() const
00066 {
00067 return "DirectorContingencyTableEvaluation";
00068 }
00069
00070 };
00071
00072 }
00073 #endif
00074 #endif