Fixed filling the hessian vector with 1

This commit is contained in:
Rishabh Garg
2021-06-30 23:02:53 +05:30
parent 61e88e6b3c
commit 093c4433f1
@@ -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;
}