Changeset 789 for trunk/yat/statistics
 Timestamp:
 Mar 10, 2007, 9:07:13 PM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/statistics/Score.cc
r779 r789 54 54 { 55 55 assert(target.size()==value.size()); 56 utility::vector a ;56 utility::vector a(value.size()); 57 57 classifier::convert(value,a); 58 58 return score(target,a); … … 64 64 { 65 65 assert(target.size()==value.size()); 66 utility::vector a ;67 utility::vector b ;66 utility::vector a(value.size()); 67 utility::vector b(value.size()); 68 68 classifier::convert(value,a,b); 69 69 return score(target,a,b); … … 75 75 const classifier::DataLookup1D& weight) const 76 76 { 77 utility::vector a ;77 utility::vector a(value.size()); 78 78 classifier::convert(value,a); 79 utility::vector b ;79 utility::vector b(value.size()); 80 80 classifier::convert(weight,a); 81 81 return score(target,a,b);
Note: See TracChangeset
for help on using the changeset viewer.