can someone please explain this code step by step

2 次查看(过去 30 天)
clc
clear all
training0=xlsread('training set.xls');
training1=xlsread('dataset.xlsx');
zero=zeros(10,1);
one=ones(10,1);
group=[zero;one];
test=TestFeatinputMRI;
training=[training0;training1];
KNN=fitcknn(training,group)
Class = knnclassify(test,training,group)

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by