Changeset 904 for trunk/yat/classifier
- Timestamp:
- Sep 27, 2007, 8:30:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/KNN.h
r902 r904 113 113 utility::matrix* KNN<Distance>::calculate_distances(const DataLookup2D& input) const 114 114 { 115 assert(input.rows()==data_.rows());116 117 115 const MatrixLookupWeighted* weighted_data = 118 116 dynamic_cast<const MatrixLookupWeighted*>(&data_); … … 186 184 utility::matrix& prediction) const 187 185 { 188 assert(input.rows()==data_.rows());189 190 186 utility::matrix* distances=calculate_distances(input); 191 187
Note: See TracChangeset
for help on using the changeset viewer.