Changeset 148 for trunk/src/ROC.h


Ignore:
Timestamp:
Sep 9, 2004, 3:22:41 PM (17 years ago)
Author:
Peter
Message:

modified score function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ROC.h

    r140 r148  
    3434    virtual ~ROC(void) {};
    3535         
    36     /// Function taking \a value, target (+1 or -1) and vector
    37     /// defining what samples to use. The score is equivalent to the
    38     /// Mann-Whitney score but normalized to be between zero and
    39     /// one. @return the area under the ROC curve
     36    /// Function taking \a value, \a target (+1 or -1) and vector
     37    /// defining what samples to use. The score is equivalent to
     38    /// Mann-Whitney statistics @return the area under the ROC
     39    /// curve. If the area is less than 0.5, is 1-area returned.
    4040    ///
    4141    double score(const gslapi::vector& value, const gslapi::vector& target,
     
    4747    /// over all pairs where value+ is larger than value-. The
    4848    /// denominator goes over all pairs. @return wheighted version of
    49     /// area under the ROC curve
     49    /// area under the ROC curve. If the area is less than 0.5, is
     50    /// 1-area returned.
    5051    ///
    5152    double score(const gslapi::vector&, const gslapi::vector&,
Note: See TracChangeset for help on using the changeset viewer.