Changeset 1483 for trunk/yat/classifier
- Timestamp:
- Sep 9, 2008, 6:03:15 PM (15 years ago)
- Location:
- trunk/yat/classifier
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/MatrixLookupWeighted.cc
r1482 r1483 88 88 89 89 90 /* 90 91 MatrixLookupWeighted::MatrixLookupWeighted(const utility::Matrix& data) 91 92 : data_(MatrixP(&data, false)) … … 98 99 assert(validate()); 99 100 } 101 */ 100 102 101 103 -
trunk/yat/classifier/MatrixLookupWeighted.h
r1482 r1483 107 107 \brief Create a lookup into entire \a matrix. 108 108 */ 109 MatrixLookupWeighted(const utility::MatrixWeighted& matrix);109 explicit MatrixLookupWeighted(const utility::MatrixWeighted& matrix); 110 110 111 111 /// … … 133 133 /// result of further use is undefined. 134 134 /// 135 MatrixLookupWeighted(const utility::Matrix& matrix);135 //MatrixLookupWeighted(const utility::Matrix& matrix); 136 136 137 137 -
trunk/yat/classifier/NCC.h
r1437 r1483 34 34 #include "yat/statistics/AveragerWeighted.h" 35 35 #include "yat/utility/Matrix.h" 36 #include "yat/utility/MatrixWeighted.h" 36 37 #include "yat/utility/Vector.h" 37 38 #include "yat/utility/stl_utility.h" … … 294 295 utility::Matrix& prediction) const 295 296 { 296 MatrixLookupWeighted weighted_centroids(centroids_);297 utility::MatrixWeighted weighted_centroids(centroids_); 297 298 for(size_t j=0; j<test.columns();j++) 298 299 for(size_t k=0; k<centroids_.columns();k++)
Note: See TracChangeset
for help on using the changeset viewer.