Changeset 1043 for trunk/yat/classifier/PolynomialKernelFunction.cc
 Timestamp:
 Feb 6, 2008, 8:30:03 PM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/classifier/PolynomialKernelFunction.cc
r1000 r1043 55 55 assert(x.size()==y.size()); 56 56 statistics::AveragerPairWeighted averager; 57 a verager.add(x,y);57 add(averager, x.begin(),x.end(), y.begin()); 58 58 if(order_>1) 59 59 return pow(1+averager.sum_xy(),order_); … … 67 67 assert(x.size()==y.size()); 68 68 statistics::AveragerPairWeighted averager; 69 a verager.add(x,y);69 add(averager, x.begin(), x.end(),y.begin()); 70 70 if(order_>1) 71 71 return pow(1+averager.sum_xy(),order_);
Note: See TracChangeset
for help on using the changeset viewer.