Changeset 460


Ignore:
Timestamp:
Dec 16, 2005, 1:40:06 PM (16 years ago)
Author:
Peter
Message:

changed name of class

Location:
trunk/lib/classifier
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/CrossSplitting.cc

    r454 r460  
    33
    44#include <c++_tools/gslapi/vector.h>
    5 #include <c++_tools/classifier/CrossValidation.h>
     5#include <c++_tools/classifier/CrossSplitting.h>
    66#include <c++_tools/random/random.h>
    77
     
    1111namespace classifier { 
    1212
    13   CrossValidation::CrossValidation(const theplu::gslapi::vector& target,
     13  CrossSplitting::CrossSplitting(const theplu::gslapi::vector& target,
    1414                                   const size_t k)
    1515    :count_(0),index_negative_(std::vector<size_t>()),
     
    2929  }
    3030
    31   std::vector<size_t> CrossValidation::next()
     31  std::vector<size_t> CrossSplitting::next()
    3232  {
    3333    random::DiscreteUniform a;
  • trunk/lib/classifier/CrossSplitting.h

    r454 r460  
    11// $Id$
    22
    3 #ifndef _theplu_classifier_crossvalidation_
    4 #define _theplu_classifier_crossvalidation_
     3#ifndef _theplu_classifier_cross_splitting_
     4#define _theplu_classifier_cross_splitting_
    55
    66#include <vector>
     
    1616  /// crossvalidation manner.
    1717  ///   
    18   class CrossValidation
     18  class CrossSplitting
    1919  {
    2020 
     
    2323    /// Constructor taking \a target and \a k for k-fold cross validation
    2424    ///
    25     CrossValidation(const theplu::gslapi::vector& target, const size_t k = 3);
     25    CrossSplitting(const theplu::gslapi::vector& target, const size_t k = 3);
    2626
    2727    ///
Note: See TracChangeset for help on using the changeset viewer.