Changeset 645


Ignore:
Timestamp:
Sep 8, 2006, 11:42:16 AM (15 years ago)
Author:
Markus Ringnér
Message:

Minor things

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/c++_tools/classifier/CrossValidationSampler.h

    r613 r645  
    4949    /// @brief Constructor
    5050    /// 
    51     /// @parameter Target targets
    52     /// @parameter N total number of partitions
    53     /// @parameter k for k-fold crossvalidation
     51    /// @a target targets.   
     52    /// @a N total number of partitions.
     53    /// @a k for k-fold crossvalidation.
    5454    ///
    5555    CrossValidationSampler(const Target& target, const size_t N,const size_t k);
  • trunk/test/svm_test.cc

    r616 r645  
    134134  }
    135135  double slack_bound=2e-7;
    136   if (slack > slack_bound){
     136  if (slack > slack_bound || std::isnan(slack)){
    137137    *error << "Slack too large. Is the bias correct?\n";
    138138    *error << "slack: " << slack << std::endl;
Note: See TracChangeset for help on using the changeset viewer.