The form of a single layer feed forward neural network lends itself to finding the gradient. This is useful when the network is used for surrogate optimization or other algorithms that use gradients. Requires creating a file by modifying a NN toolbox file.
Alan Jennings (2022). Gradient from Neural Network (https://www.mathworks.com/matlabcentral/fileexchange/28415-gradient-from-neural-network), 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!