From 2a4e538ed1c38060349480b949e50a8149c1b6f7 Mon Sep 17 00:00:00 2001 From: Norman Koch Date: Wed, 17 Jul 2024 13:34:30 +0200 Subject: [PATCH] fix --- explain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explain.js b/explain.js index ef317ab62b..912ed42bbe 100644 --- a/explain.js +++ b/explain.js @@ -2149,7 +2149,7 @@ function model_to_latex () { & \\rule{110mm}{0.4pt} & \\\\ & \\textbf{for} \\: t=1 \\: \\textbf{to} \\: \\text{epochs} \\: \\textbf{do} & \\text{Loop from t=1 to epochs} \\\\ - & \\hspace{5mm}\\textbf{if} \\: \\text{maximize}: & \\text{If maximize is true} \\\\ + & \\hspace{5mm}\\textbf{if} \\: \\text{maximize} & \\text{If maximize is true} \\\\ & \\hspace{10mm}g_t \\leftarrow -\\nabla_{\\theta} f_t (\\theta_{t-1}) & \\text{Compute negative gradient of the objective function} \\\\ & \\hspace{5mm}\\textbf{else} & \\text{If maximize is false} \\\\ & \\hspace{10mm}g_t \\leftarrow \\nabla_{\\theta} f_t (\\theta_{t-1}) & \\text{Compute gradient of the objective function} \\\\