JuliaAcademy / JuliaTutorials

Learn Julia via interactive tutorials!
https://julialang.org/learning/
MIT License
1.26k stars 657 forks source link

Clarify the Euler's Number constant in the sigmoid function example #92

Closed jochasinga closed 1 year ago

jochasinga commented 2 years ago

It is better to be explicit with the Euler's Number in the equation and add a short explanation and a way to use the constant in Julia than to use expr which is inconsistent with the code that followed.

Also correct 'e' to unicode e in the code followed (consider using expr here if it makes the code clearer).

Minor: format g function name as code.

logankilpatrick commented 1 year ago

Thanks for this!