File Exchange

image thumbnail

Shallow Neural Network Plotter

version 1.0.0 (3.2 KB) by cjawesomest
Add bias/weight-colored diagram to Deep Learning Toolbox training interface for shallow neural networks.

27 Downloads

Updated 01 Sep 2020

View License

A function designed to simply plot a neural network architecture consisting of a couple of layers. Lines correspond to weights and nodes correspond to biases which are colored based on relative magnitude to the maximum and minimum weight or bias present in the plot.
Provides integration with the Deep Learning Toolbox's network training interface, and adds a button to bring up the network plot which will update at each epoch.

Example Use:
network = fitnet(num_hidden_layers);
network.plotFcns = [network.plotFcns 'plotShallowNetwork'];
[t_network, t_Record] = train(network, in_data, out_data);

Cite As

cjawesomest (2021). Shallow Neural Network Plotter (https://www.mathworks.com/matlabcentral/fileexchange/79769-shallow-neural-network-plotter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!