From e65a7fd1181e68dd5ff858678e7407ce04838b6a Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 10 Feb 2025 14:44:37 -0300 Subject: Small tweak --- fits.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fits.cpp b/fits.cpp index 3843dcf..c4b8a69 100644 --- a/fits.cpp +++ b/fits.cpp @@ -89,7 +89,7 @@ Vector gradientDescent(const std::vector>& data, const Ve while ( xₜ₊₁ = xₜ - α * ∇H, Hₜ₊₁ = cost(data, xₜ₊₁), - Hₜ₊₁ > Hₜ - 0.0 * α * m + Hₜ₊₁ > Hₜ - 0.25 * α * m ) { α /= 2; } -- cgit v1.2.3-70-g09d2