Fixed filling the hessian vector with 1
This commit is contained in:
@@ -75,7 +75,7 @@ class SSELoss
|
||||
arma::is_Row<VecType>::value>>
|
||||
VecType Hessians(const VecType& /* observed */, const VecType& values)
|
||||
{
|
||||
VecType h(values.n_elem, 1);
|
||||
VecType h(values.n_elem, arma::fill::ones);
|
||||
return h;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user