Closed coco1994 closed 3 years ago
这个应该是Matlab版本不同的原因,可以吧knnclassify换成你这个版本的Matlab对应的knn分类函数
evaluation 函数或变量 'knnclassify' 无法识别。
出错 test_bs_accu (line 50) predict_label = knnclassify(bs_test_X, bs_train_X, train_labels, 3, 'euclidean');
出错 evaluation (line 75) cur_accu = test_bs_accu(Methods{1, 1}.band_set{dataset_id, 1}, Dataset, classifier_names{classifier_id});
出错 test_bs_accu (line 50) predict_label = knnclassify(bs_test_X, bs_train_X, train_labels, 3, 'euclidean');
出错 evaluation (line 75) cur_accu = test_bs_accu(Methods{1, 1}.band_set{dataset_id, 1}, Dataset, classifier_names{classifier_id});