Problem using KDA code
Mostrar comentarios más antiguos
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.
Respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!