Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Jul 15, 2022
1 parent 1ef9a96 commit fdc67c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/getting_started/linear_regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdc67c0

Please sign in to comment.