tmp update
This commit is contained in:
parent
9d31decd84
commit
24235f44ca
@ -461,6 +461,7 @@ int lbfgs(
|
||||
we assume the initial hessian matrix H_0 as the identity matrix.
|
||||
*/
|
||||
// 初始下降方向为梯度的反方向
|
||||
// LBFGS中下降方向为 -1*H_k*g_k
|
||||
if (param.orthantwise_c == 0.) {
|
||||
vecncpy(d, g, n); //拷贝数组 并反号(乘-1)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user