Neural Network for Random Sequence Generation
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have designed a custom neural network for random sequence generation. I have my custom transfer function and I want to update the transfer function parameters on each cycle using a neurons own transformed output. Also since I'm not training the network with a data set, I want the outputs of the output layer to be xored and fed back as input to input layer neurons for next operation cycle. Please suggest how I can achieve these functions
2 个评论
回答(1 个)
Thorsten
2014-11-24
One way to do it would be to xor output 1 and 2 to get input 1, and output 3 and 4 to get input 2:
output = [ 1 0 1 1]; % sample output
new_input = [ xor(output(1), output(2)) xor(output(3), output(4))];
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!