How can I use my own initialization function in the Neural Network Toolbox?

Technical Source
1 min readJun 14, 2021

--

I need to create my own initialization function for my network. I would like to use something other than INITNW and INITWB.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

When a neural network is created with NEWFF, it creates an initialization function called INITLAY. When the following code is executed:

P = [0 1 2 3 4 5 6 7 8 9 10];T = [0 1 2 3 4 3 2 1 2 3 4];net = newff(P,T,5);net.initFcn

The result is:

ans = initlay

This is the function that assigns the initialization function of each layer of the network to the function:…

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet