From fdc67c048969de8e6cb7bd62c74d242a791fc5d8 Mon Sep 17 00:00:00 2001 From: Saransh Date: Fri, 15 Jul 2022 13:34:32 +0530 Subject: [PATCH] Fix doctests --- docs/src/getting_started/linear_regression.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/getting_started/linear_regression.md b/docs/src/getting_started/linear_regression.md index 2d914bbce2..18299921ed 100644 --- a/docs/src/getting_started/linear_regression.md +++ b/docs/src/getting_started/linear_regression.md @@ -191,7 +191,7 @@ julia> dLdW, dLdb, _, _ = gradient(loss, W, b, x, y) We can now update the parameters, following the gradient descent algorithm - -```jldoctest linear_regression; filter = r"[+-]?([0-9]*[.])?[0-9]+" +```jldoctest linear_regression_simple; filter = r"[+-]?([0-9]*[.])?[0-9]+" julia> W .= W .- 0.1 .* dLdW 1-element Vector{Float32}: 1.8144473