Skip to content

Commit

Permalink
ASDF
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jan 26, 2025
1 parent a6138ed commit e87e320
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shared/libebm/ebm_stats.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ INLINE_ALWAYS static FloatCalc CalcNegUpdate(const FloatCalc sumGradient,
}
}
if(!(std::isnan(sumHessian) || FloatCalc{0} < sumHessian)) {
printf("%d %e %e", c, sumGradient, sumHessian);
printf("MAMAZAMA: %d %e %e", c, sumGradient, sumHessian);
return FloatCalc{0};
}
EBM_ASSERT(std::isnan(sumHessian) || FloatCalc{0} < sumHessian);
// EBM_ASSERT(std::isnan(sumHessian) || FloatCalc{0} < sumHessian);

FloatCalc ret = ApplyL1(sumGradient, regAlpha) / ApplyL2(sumHessian, regLambda);
if(UNLIKELY(std::fabs(ret) > deltaStepMax)) {
Expand Down

0 comments on commit e87e320

Please sign in to comment.