Changeset 848 for trunk/yat


Ignore:
Timestamp:
Apr 28, 2007, 5:20:40 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Merged log:/branches/0.3.1#838:846 to trunk.

Location:
trunk/yat
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/BootstrapSampler.cc

    r823 r848  
    2626#include "yat/random/random.h"
    2727
     28#include <cassert>
     29
    2830//#include <algorithm>
    29 //#include <cassert>
    3031//#include <utility>
    3132//#include <vector>
  • trunk/yat/statistics/ROC.cc

    r831 r848  
    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_;
  • trunk/yat/statistics/ROC.h

    r831 r848  
    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.