00001 #ifndef _theplu_yat_statistics_snr
00002 #define _theplu_yat_statistics_snr
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include "Score.h"
00027
00028 #include <gsl/gsl_cdf.h>
00029
00030 namespace theplu {
00031 namespace yat {
00032 namespace utility {
00033 class VectorBase;
00034 }
00035 namespace classifier {
00036 class DataLookWeighted1D;
00037 }
00038 namespace statistics {
00039
00049 class SNRScore : public Score
00050 {
00051
00052 public:
00056 SNRScore(bool absolute=true);
00057
00061 virtual ~SNRScore(void);
00062
00071 double score(const classifier::Target& target,
00072 const utility::VectorBase& value) const;
00073
00082 double score(const classifier::Target& target,
00083 const classifier::DataLookupWeighted1D& value) const;
00084
00093 double score(const classifier::Target& target,
00094 const utility::VectorBase& value,
00095 const utility::VectorBase& weight) const;
00096
00097 };
00098
00099
00100 }}}
00101
00102 #endif