File:One-neuron recurrent network bifurcation diagram.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (800 × 800 pixels, file size: 209 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
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)
  1. plot attractors

ys = LinRange(0, 1, 400) xs = [log(y/(1-y))-5y for y in ys] lines!(xs, ys, linewidth = 5, color="black")

  1. scene

save("one-neuron recurrent network bifurcation diagram.png", scene)

```
Date
Source Own work
Author Cosmia Nebula

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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/TimeThumbnailDimensionsUserComment
current19:32, 28 June 2022Thumbnail for version as of 19:32, 28 June 2022800 × 800 (209 KB)Cosmia Nebula (talk | contribs)more visible
19:28, 28 June 2022Thumbnail for version as of 19:28, 28 June 20221,600 × 1,600 (241 KB)Cosmia Nebula (talk | contribs)Uploaded while editing "Vanishing gradient problem" on en.wikipedia.org

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: