Statistics
2 Questions
0 Answers
RANK
230,795
of 302,034
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 21,507
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 178,313
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
??? Undefined function or method 'knn_dist' for input arguments of type 'double'. Error in ==> knn at 18 d = knn_dist(test_data(i,:),train_data); %测试样本与训练各样本的距离
% clear;clc; % data = load('运筹学成绩.m'); % test_data = data(1:44,:); % train_data = data(45:88,:); function k = knn(...
10 years ago | 0 answers | 0
0
answersQuestion
??? Undefined function or method 'knn_dist' for input arguments of type 'double'. Error in ==> knn at 18 d = knn_dist(test_data(i,:),train_data);
for k = 1:k_upper for i = 1:num_test d = knn_dist(test_data(i,:),train_data); [sort_d,i...
10 years ago | 1 answer | 0