Changeset 1031 for trunk/test/knn_test.cc
 Timestamp:
 Feb 4, 2008, 4:44:44 PM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/test/knn_test.cc
r999 r1031 24 24 #include "yat/classifier/KNN.h" 25 25 #include "yat/classifier/MatrixLookupWeighted.h" 26 #include "yat/statistics/euclidean_ vector_distance.h"27 #include "yat/statistics/pearson_ vector_distance.h"26 #include "yat/statistics/euclidean_distance.h" 27 #include "yat/statistics/pearson_distance.h" 28 28 #include "yat/utility/matrix.h" 29 29 … … 66 66 67 67 classifier::MatrixLookupWeighted dataviewweighted(data,weights); 68 classifier::KNN<statistics::pearson_ vector_distance_tag> knn(dataviewweighted,targets);68 classifier::KNN<statistics::pearson_distance_tag> knn(dataviewweighted,targets); 69 69 *error << "training KNN" << std::endl; 70 70 knn.train();
Note: See TracChangeset
for help on using the changeset viewer.