Ignore:
Timestamp:
Feb 1, 2008, 7:12:35 PM (14 years ago)
Author:
Peter
Message:

passing VectorBase? in statistics::Score - refs #256

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/AUC.cc

    r1000 r1023  
    1 
    21// $Id$
    32
     
    2928#include "yat/classifier/Target.h"
    3029#include "yat/utility/stl_utility.h"
    31 #include "yat/utility/vector.h"
     30#include "yat/utility/VectorBase.h"
    3231
    3332#include <cassert>
     
    4645
    4746  double AUC::score(const classifier::Target& target,
    48                     const utility::vector& value) const
     47                    const utility::VectorBase& value) const
    4948  {
    5049    assert(target.size()==value.size());
     
    7776
    7877  double AUC::score(const classifier::Target& target,
    79                     const utility::vector& value,
    80                     const utility::vector& weight) const
     78                    const utility::VectorBase& value,
     79                    const utility::VectorBase& weight) const
    8180  {
    8281    assert(target.size()==value.size());
Note: See TracChangeset for help on using the changeset viewer.