File:One-neuron recurrent network bifurcation diagram.png
Original file (800 × 800 pixels, file size: 209 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionOne-neuron recurrent network bifurcation diagram.png |
English: Reproduces Figure 3 of
Pascanu, Razvan; Mikolov, Tomas; Bengio, Yoshua (21 November 2012). "On the difficulty of training Recurrent Neural Networks". arXiv:1211.5063 [cs.LG]. Plotted in Julia. ```julia using Makie using StatsFuns width, height = 800, 800 scene = Figure(resolution = (width, height)) Axis(scene[1,1], backgroundcolor = "white") xs = LinRange(-3, -2, 40) ys = LinRange(0, 1, 40) xlims!(-3, -2) ylims!(0, 1) vectors = df.(xs, ys) us = [0 for x in xs, y in ys] vs = [-y + logistic(5y + x) for x in xs, y in ys] strength = vec(sqrt.(us .^ 2 .+ vs .^ 2)) strength /= maximum(strength)/20 arrows!(xs, ys, us, vs, arrowsize = strength, lengthscale = 0.3, arrowcolor = strength, linecolor = strength)
ys = LinRange(0, 1, 400) xs = [log(y/(1-y))-5y for y in ys] lines!(xs, ys, linewidth = 5, color="black")
save("one-neuron recurrent network bifurcation diagram.png", scene) ``` |
Date | |
Source | Own work |
Author | Cosmia Nebula |
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 19:32, 28 June 2022 | 800 × 800 (209 KB) | Cosmia Nebula (talk | contribs) | more visible | |
19:28, 28 June 2022 | 1,600 × 1,600 (241 KB) | Cosmia Nebula (talk | contribs) | Uploaded while editing "Vanishing gradient problem" on en.wikipedia.org |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org