Changeset 160
- Timestamp:
- Sep 20, 2004, 6:58:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ROC.h
r155 r160 36 36 /// Function taking \a value, \a target (+1 or -1) and vector 37 37 /// defining what samples to use. The score is equivalent to 38 /// Mann-Whitney statistics @return the area under the ROC 38 /// Mann-Whitney statistics. If target is equal to 1, 39 /// sample belonges to class + otherwise sample belongs to class 40 /// -. @return the area under the ROC 39 41 /// curve. If the area is less than 0.5, is 1-area returned. 40 42 /// … … 46 48 /// w^+w^-}{\sum w^+w^-}\f$, where the sum in the numerator goes 47 49 /// over all pairs where value+ is larger than value-. The 48 /// denominator goes over all pairs. @return wheighted version of 49 /// area under the ROC curve. If the area is less than 0.5, is 50 /// 1-area returned. 50 /// denominator goes over all pairs. If target is equal to 1, 51 /// sample belonges to class + otherwise sample belongs to class 52 /// -. @return wheighted version of area under the ROC curve. If 53 /// the area is less than 0.5, is 1-area returned. 51 54 /// 52 55 double score(const gslapi::vector& target, const gslapi::vector& value,
Note: See TracChangeset
for help on using the changeset viewer.