Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NormanTUD committed Jul 17, 2024
1 parent 80e2c72 commit 2a4e538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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} \\\\
Expand Down

0 comments on commit 2a4e538

Please sign in to comment.