Fibonacci with Neural Network
Show older comments
Hello Im new in this and I want to implement a neural network that given a number returns the fibbonaci number in that position. for example:
given 3 returns 2
or
given 6 returns 8
I tried to trained it giving an input = [1 2 3 4 5 6 ...] and a target = [1 1 2 3 5 8 ....] but there's a problem.
I hope you can help me :)
Accepted Answer
More Answers (3)
Pritesh Shah
on 7 Dec 2012
0 votes
Hi, I think you have to use different NN Network.
Please understand that for the different op we have different Input.
That is reason for failing in ur case.
U can use Adaptive NN
Greg Heath
on 7 Dec 2012
0 votes
help narnet
doc narnet
Hope this helps.
Thank you for formally accepting my answer.
Greg
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!