怎么用内部的例子计算nnpls时出现了错误!如下:
Error in ==> QLSEARCH at 15
dir=dir/norm(dir);
??? Output argument "x" (and maybe others) not assigned during call to "D:\Documents
and Settings\lily\桌面\NN_PLS\QLSEARCH.M>QLSEARCH".
Error in ==> CGRDSRCH at 65
[x,beta,kin,fopt,flag]=qlsearch(t,u,x,f1,n,step,dir1,flag,Lambda);
Error in ==> INNER at 61
x=cgrdsrch(beta,kin,t,u);
Error in ==> NNPLS1 at 93
[weights,f1]=inner(n,b,t,u,weights,plots);
Error in ==> NNPLS at 104
[n,weights,upred]=nnpls1(t,u,ttest,utest,i,opts);
您用过么,能不能帮忙看看!
|