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.
network = fitnet(num_hidden_layers);
network.plotFcns = [network.plotFcns 'plotShallowNetwork'];
[t_network, t_Record] = train(network, in_data, out_data);
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
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!