Unverified Commit b80b4ebb authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

fix constant hessian for huber loss (#3545)

parent 2315c0d1
......@@ -338,10 +338,6 @@ class RegressionHuberLoss: public RegressionL2loss {
return "huber";
}
bool IsConstantHessian() const override {
return false;
}
private:
/*! \brief delta for Huber loss */
double alpha_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment