Problem using KDA code

I try to run the KDA code and it's example and the code as follow:
clc
fea = rand(50,70);
gnd = [ones(10,1);ones(15,1)*2;ones(10,1)*3;ones(15,1)*4];
options.KernelType = 'Gaussian';
options.t = 1;
[eigvector, eigvalue,elapse] = KDA(gnd, fea, options);
feaTest = rand(3,10);
Ktest = constructKernel(feaTest,fea,options)
Y = Ktest*eigvector;
and I got errors showing like this
Error using constructKernel
Too many output arguments.
Error in KDA (line 104)
[K, elapse.timeK] = constructKernel(data,[],options);
I do save the constructKernel function already but I keeping get errors and I have no idea how to deal with.

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by