Changeset 843 for branches/0.3.1/yat


Ignore:
Timestamp:
Apr 25, 2007, 4:10:44 PM (15 years ago)
Author:
Peter
Message:

Fixes #221. regression_test fails on peter@lev (see refs #222), yet I commit this change.

Location:
branches/0.3.1/yat/statistics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.3.1/yat/statistics/ROC.cc

    r831 r843  
    115115
    116116
    117   size_t ROC::n(void) const
     117  double ROC::n(void) const
    118118  {
    119119    return n_pos()+n_neg();
     
    121121
    122122
    123   size_t ROC::n_neg(void) const
     123  double ROC::n_neg(void) const
    124124  {
    125125    return w_neg_;
     
    127127
    128128
    129   size_t ROC::n_pos(void) const
     129  double ROC::n_pos(void) const
    130130  {
    131131    return w_pos_;
  • branches/0.3.1/yat/statistics/ROC.h

    r831 r843  
    9797    /// @return sum of weights
    9898    ///
    99     size_t n(void) const;
     99    double n(void) const;
    100100
    101101    ///
    102102    /// @return sum of weights with negative target
    103103    ///
    104     size_t n_neg(void) const;
     104    double n_neg(void) const;
    105105
    106106    ///
    107107    /// @return sum of weights with positive target
    108108    ///
    109     size_t n_pos(void) const;
     109    double n_pos(void) const;
    110110
    111111    ///
Note: See TracChangeset for help on using the changeset viewer.