Changeset 1024
- Timestamp:
- Feb 1, 2008, 7:18:21 PM (16 years ago)
- Location:
- trunk/yat/statistics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/statistics/PearsonCorrelation.cc
r1000 r1024 28 28 #include "AveragerPair.h" 29 29 #include "AveragerPairWeighted.h" 30 #include "yat/utility/ vector.h"30 #include "yat/utility/VectorBase.h" 31 31 #include "yat/classifier/DataLookupWeighted1D.h" 32 32 #include "yat/classifier/Target.h" … … 61 61 62 62 double PearsonCorrelation::score(const classifier::Target& target, 63 const utility:: vector& value)63 const utility::VectorBase& value) 64 64 { 65 65 nof_samples_ = value.size(); … … 79 79 80 80 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) 83 83 { 84 84 // Peter what should nof_samples be in weighted case? -
trunk/yat/statistics/PearsonCorrelation.h
r1006 r1024 32 32 namespace yat { 33 33 namespace utility { 34 class vector; 35 } 36 namespace classifier { 37 class VectorAbstract; 34 class VectorBase; 38 35 } 39 36 namespace statistics { … … 63 60 */ 64 61 double score(const classifier::Target& target, 65 const utility:: vector& value);62 const utility::VectorBase& value); 66 63 67 64 /** … … 87 84 */ 88 85 double score(const classifier::Target& target, 89 const utility:: vector& value,90 const utility:: vector& weight);86 const utility::VectorBase& value, 87 const utility::VectorBase& weight); 91 88 92 89 /**
Note: See TracChangeset
for help on using the changeset viewer.