From ee46ef7386a0c1ca2649e7ddd4bb8b4061b891fd Mon Sep 17 00:00:00 2001 From: CarloLucibello Date: Sun, 20 Oct 2024 10:39:24 +0200 Subject: [PATCH] fix doctest --- docs/src/tutorials/logistic_regression.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorials/logistic_regression.md b/docs/src/tutorials/logistic_regression.md index 858e907cd5..01f45a5fcd 100644 --- a/docs/src/tutorials/logistic_regression.md +++ b/docs/src/tutorials/logistic_regression.md @@ -140,8 +140,8 @@ Note, all the `flux_*` variables in this tutorial would be general, that is, the julia> flux_model = Chain(Dense(4 => 3), softmax) Chain( Dense(4 => 3), # 15 parameters - NNlib.softmax, -) + softmax, +) ``` A [`Dense(4 => 3)`](@ref Dense) layer denotes a layer with four inputs (four features in every data point) and three outputs (three classes or labels). This layer is the same as the mathematical model defined by us above. Under the hood, Flux too calculates the output using the same expression, but we don't have to initialize the parameters ourselves this time, instead Flux does it for us.