Changeset 98 for trunk/src/ROC.h
- Timestamp:
- Jun 10, 2004, 5:24:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ROC.h
r78 r98 6 6 // C++ tools include 7 7 ///////////////////// 8 #include "Score.h" 8 9 #include "vector.h" 9 10 10 #include <gsl/gsl_cdf.h> 11 11 … … 18 18 namespace cpptools { 19 19 /// 20 /// Class for ROC (Reciever Operating Characteristic). 20 /// Class for ROC (Reciever Operating Characteristic). 21 21 /// 22 class ROC 22 23 class ROC : public Score 23 24 { 24 25 … … 29 30 ROC(const gslapi::vector&, const gslapi::vector&); 30 31 32 /// 33 /// Destructor 34 /// 35 virtual ~ROC(void) {}; 36 31 37 /// Equivalent to the Mann-Whitney score, but normalized to be 32 38 /// between zero and one. @return the area under the ROC curve 33 39 /// 34 double ROC::area(void);40 double score(); 35 41 36 37 38 42 /// 39 43 ///Calculates the p-value, i.e. the probability of observing an area … … 47 51 /// @return the one-sided p-value 48 52 /// 49 double ROC::get_p(const double);53 double p_value(); 50 54 51 55 /// … … 59 63 double nof_pos_; 60 64 u_int minimum_size_; 65 double area_; 61 66 /// 62 67 ///
Note: See TracChangeset
for help on using the changeset viewer.