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

passing VectorBase? in regression::PearsonCorrelation? - refs #256

File:
1 edited

Legend:

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

    r1000 r1024  
    2828#include "AveragerPair.h"
    2929#include "AveragerPairWeighted.h"
    30 #include "yat/utility/vector.h"
     30#include "yat/utility/VectorBase.h"
    3131#include "yat/classifier/DataLookupWeighted1D.h"
    3232#include "yat/classifier/Target.h"
     
    6161
    6262  double PearsonCorrelation::score(const classifier::Target& target,
    63                                    const utility::vector& value)
     63                                   const utility::VectorBase& value)
    6464  {
    6565    nof_samples_ = value.size();
     
    7979
    8080  double PearsonCorrelation::score(const classifier::Target& target,
    81                                    const utility::vector& value,
    82                                    const utility::vector& weight)
     81                                   const utility::VectorBase& value,
     82                                   const utility::VectorBase& weight)
    8383  {
    8484    // Peter what should nof_samples be in weighted case?
Note: See TracChangeset for help on using the changeset viewer.