update.m

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

M
9
字号
function w = update(weights,betaT,loss)% WBL 22 Sept 2002 update wieghts for next boosting round% $Revision: 1.4 $  $Date: 2002/10/31 11:25:13 $%WBL 30 Sep 2002 Use whole training set, not just those used in trainingw = weights.*(betaT.^(0.5*(1+loss)));w = w/sum(w); %Normalise

⌨️ 快捷键说明

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