understanding the newff and train functions
이전 댓글 표시
I have been given a project to predict future exchange rates between two currencies based on exchange rates in the past. I need to create a neural network to accept 10 values and to give a one single value as the output. (10 past exchange rates as inputs and output is the predicted exchange rate.) P = [0 1 2 3 4 5 6 7 8 9 10]; T = [0 1 2 3 4 3 2 1 2 3 4]; I learnt that in a this kind of situation, there are only one input node and one output node. first value of the T vector is the output when the first value of the P vector is given as the input. I need to give 10 input values to the first layer of the network. How to use newff function here. I am only looking for newff function since I have been advised to use only newff. I hope someone will help me to overcome my issue. Thanks!
채택된 답변
추가 답변 (3개)
ilhem ouerghui
2016년 11월 10일
편집: Walter Roberson
2016년 11월 10일
Iam using Matlab 2016, I tried to use the function:
net_RN=newff(minmax(app2),[nbre_caract,Nero_cache,1]);
with:
nbre_caract=size(app2) && Nero_cache = 3
but i get this error:
Warning: NEWFF used in an obsolete way.
and from the help: The recommended function is feedforwardnet
how can I use this function please?
댓글 수: 3
Walter Roberson
2016년 11월 10일
It is a warning, you can ignore it.
ilhem ouerghui
2016년 11월 11일
ok thanks for your answer
Steven Lord
2016년 11월 11일
You can ignore it, but I recommend reading the documentation for feedforwardnet and using that function as its documentation describes instead.
abdelhafid benchikh
2016년 12월 2일
1 개 추천
Hi everyone I want to understand how the newff function work I means how can I use it and thanks
댓글 수: 1
Walter Roberson
2016년 12월 2일
You can go back to the last time it was documented, http://www.mathworks.com/help/releases/R2010a/toolbox/nnet/newff.html in R2010a.
If you are using a release newer than R2010a, then don't use newff(), use feedforwardnet() instead.
FuWei Shen
2022년 9월 29일
0 개 추천
great, it is useful.
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!