Ask Your Question

Visualization of Neural Nets [closed]

asked 2018-05-22 03:03:18 -0500

I want to post a scheme of neural net here. What tools to use? When I read articles on this topic, often there are good illustrations. How do authors create them? Do they use common graphics editors like Photoshop or there are specialized programs with ready details - empty and filled circles for neurons and synapses, curved links, and nice arrows?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ya_ocv_user
close date 2018-05-22 14:20:15.926010

2 answers

Sort by ยป oldest newest most voted

answered 2018-05-22 11:20:46 -0500

Eduardo gravatar image
edit flag offensive delete link more


Wow, I knew that it is a typical question. A lot of solutions.

ya_ocv_user gravatar imageya_ocv_user ( 2018-05-22 14:19:35 -0500 )edit

answered 2018-05-22 11:05:23 -0500

sjhalayka gravatar image

updated 2018-05-22 11:21:23 -0500

There is the Hinton diagram:

Sorry it's in Python.

It allows you to visualize the weights in a neural network.

It seems like you want to visualize the network with circles for neurons and lines for weights. You could use colouring on the lines, and/or varying line width, to signify weight magnitude. I once did this kind of thing in OpenSCAD. I used spheres for the neurons, and cylinders for the weights. If you view the network from the top down, you can take a screenshot and import it into something like Inkscape, where you can make a nice vector drawing of the network using the program's circle and line tools.

edit flag offensive delete link more



As to Hinton diagram, I do the same by converting weights to UCHAR (C++), then display the matrix as a gray image. I need a scheme of connections between neurons and layers. Thanks for OpenScad. 3D model may be useful because internal connections may be rather complicated. Also if 1 layer contains, say, 20 neurons (on the picture), linking them manually is boring. Some programming is helpful.

ya_ocv_user gravatar imageya_ocv_user ( 2018-05-22 14:15:18 -0500 )edit

Very cool. :)

sjhalayka gravatar imagesjhalayka ( 2018-05-22 14:19:53 -0500 )edit

Question Tools

1 follower


Asked: 2018-05-22 03:03:18 -0500

Seen: 51 times

Last updated: May 22 '18