Changeset 2612


Ignore:
Timestamp:
Nov 5, 2011, 12:31:15 AM (10 years ago)
Author:
Peter
Message:

change rule for when to use exact method in ROC::p_value. fixes #677

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r2601 r2612  
    44
    55version 0.8 (released DATE)
     6  - Rule for when to use approximation in ROC::p_value modified (ticket #677)
    67  - Discrete::seed, Continuous::seed, Discrete::seed_from_devurandom,
    78    and Continuous::seed_from_devurandom are deprecated (issue #674)
  • trunk/yat/statistics/ROC.cc

    r2601 r2612  
    197197  bool ROC::use_exact_method(void) const
    198198  {
    199     return (n_pos() < minimum_size_) && (n_neg() < minimum_size_);
     199    return (n_pos() < minimum_size_) || (n_neg() < minimum_size_);
    200200  }
    201201
Note: See TracChangeset for help on using the changeset viewer.