ensemble.m

来自「一种新的人脸识别算法程序」· M 代码 · 共 20 行

M
20
字号
function [area,Ax,roc]=ensemble(n,betaT,net,inx,Bx,outfile)%WBL 23 Sep 2002 Ensemble together boosted nets and then calculate its performance% $Revision: 1.5 $  $Date: 2002/10/31 11:23:47 $%WBL 23 Sep 2002 Based on testnet.m r1.4Ax = zeros(2,size(Bx,2));for i=1:n    Ax = Ax -log(betaT(i))*sim(net{i},inx);end%AA = compet(A);%[x,Q]=find(AA);%errors = sum(abs((x-1)-B'));%%fprintf('Percentage error of 23-aug-2002_20x866 on VER+11_FULLtrn %f\n',...%    100.0*errors/ntests);[area,roc]=errors(Ax,Bx,outfile);%fclose(file);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?