Cancel some of the weights in a neural network

2 次查看(过去 30 天)
Hi,
Im using the network net = cascadeforwardnet() with two hidden layers. I would like to have connections from the input to the two hidden layers but not to the output layer. However cascadeforwardnet() automatically set these weights.
1. Can I cancel it ? ( i don't mean only to set the weight to zero)
2. In general, can i cancel some of the weights? for example from the i'th unit of the first hidden unit to the j'th unit in the second hidden layer ?

采纳的回答

Greg Heath
Greg Heath 2015-4-23
I' pretty sure that if you check the custom network section in the documentation, you can learn how to set the learning rate of specified weights to zero.
Hope this helps.
Greg

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by