Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to view predicted output in Neural Network?

Subject: How to view predicted output in Neural Network?

From: sakinah badiha masir

Date: 10 Jun, 2013 21:03:09

Message: 1 of 8

Hi. Im currently doing a thesis for my final year project in university on predicting net asset value per share for mutual funds. there are 5 input variables and the dependent variable is NAV. i do not use any coding since im an actuarial science student. i use the time-series in neural network toolbox (NARX). can u tell me how can i view the predicted output so i can do some calculation on statistics? pls i really need help here because im completely lost in using matlab..

Subject: How to view predicted output in Neural Network?

From: dpb

Date: 10 Jun, 2013 23:39:44

Message: 2 of 8

On 6/10/2013 4:03 PM, sakinah badiha masir wrote:
> Hi. Im currently doing a thesis for my final year project in university
> on predicting net asset value per share for mutual funds. there are 5
> input variables and the dependent variable is NAV. i do not use any
> coding since im an actuarial science student. i use the time-series in
> neural network toolbox (NARX). can u tell me how can i view the
> predicted output so i can do some calculation on statistics? pls i
> really need help here because im completely lost in using matlab..

<http://www.mathworks.com/help/nnet/gs/time-series-prediction.html>

--

Subject: How to view predicted output in Neural Network?

From: sakinah badiha masir

Date: 11 Jun, 2013 07:14:08

Message: 3 of 8

dpb <none@non.net> wrote in message <kp5o3v$1c1$1@speranza.aioe.org>...
> On 6/10/2013 4:03 PM, sakinah badiha masir wrote:
> > Hi. Im currently doing a thesis for my final year project in university
> > on predicting net asset value per share for mutual funds. there are 5
> > input variables and the dependent variable is NAV. i do not use any
> > coding since im an actuarial science student. i use the time-series in
> > neural network toolbox (NARX). can u tell me how can i view the
> > predicted output so i can do some calculation on statistics? pls i
> > really need help here because im completely lost in using matlab..
>
> <http://www.mathworks.com/help/nnet/gs/time-series-prediction.html>
>
> --
i have tried but still i do not know how to view all the predicted output. i need to compare the predicted output generated from neural network toolbox so i can compare with the actual value... can you please show me how to and where to click at in order for me to view the predicted output? thanks

Subject: How to view predicted output in Neural Network?

From: sakinah badiha masir

Date: 11 Jun, 2013 08:08:08

Message: 4 of 8

dpb <none@non.net> wrote in message <kp5o3v$1c1$1@speranza.aioe.org>...
> On 6/10/2013 4:03 PM, sakinah badiha masir wrote:
> > Hi. Im currently doing a thesis for my final year project in university
> > on predicting net asset value per share for mutual funds. there are 5
> > input variables and the dependent variable is NAV. i do not use any
> > coding since im an actuarial science student. i use the time-series in
> > neural network toolbox (NARX). can u tell me how can i view the
> > predicted output so i can do some calculation on statistics? pls i
> > really need help here because im completely lost in using matlab..
>
> <http://www.mathworks.com/help/nnet/gs/time-series-prediction.html>
>
> --


i have viewed the predicted output for NAV, however there suppose to be 96 values of output, but there is only 94 outputs. so, 2 outputs are missing. how do i view the last 2 outputs for t=95 and t=96?

Subject: How to view predicted output in Neural Network?

From: dpb

Date: 11 Jun, 2013 12:58:14

Message: 5 of 8

On 6/11/2013 3:08 AM, sakinah badiha masir wrote:
> dpb <none@non.net> wrote in message <kp5o3v$1c1$1@speranza.aioe.org>...
>> On 6/10/2013 4:03 PM, sakinah badiha masir wrote:
>> > Hi. Im currently doing a thesis for my final year project in university
>> > on predicting net asset value per share for mutual funds. there are 5
>> > input variables and the dependent variable is NAV. i do not use any
>> > coding since im an actuarial science student. i use the time-series in
>> > neural network toolbox (NARX). can u tell me how can i view the
>> > predicted output so i can do some calculation on statistics? pls i
>> > really need help here because im completely lost in using matlab..
>>
>> <http://www.mathworks.com/help/nnet/gs/time-series-prediction.html>
>>
>> --
>
>
> i have viewed the predicted output for NAV, however there suppose to be
> 96 values of output, but there is only 94 outputs. so, 2 outputs are
> missing. how do i view the last 2 outputs for t=95 and t=96?

W/O knowing the precise model can't say for certain but I'd presume it's
from the form of the model those next two aren't yet available...

Don't have the NN toolbox so can't do more than look at the doc's,
specifically...

--

Subject: How to view predicted output in Neural Network?

From: Greg Heath

Date: 13 Jun, 2013 14:12:21

Message: 6 of 8

"sakinah badiha masir" wrote in message <kp6lt8$mb8$1@newscl01ah.mathworks.com>...
> dpb <none@non.net> wrote in message <kp5o3v$1c1$1@speranza.aioe.org>...
> > On 6/10/2013 4:03 PM, sakinah badiha masir wrote:
> > > Hi. Im currently doing a thesis for my final year project in university
> > > on predicting net asset value per share for mutual funds. there are 5
> > > input variables and the dependent variable is NAV. i do not use any
> > > coding since im an actuarial science student. i use the time-series in
> > > neural network toolbox (NARX). can u tell me how can i view the
> > > predicted output so i can do some calculation on statistics? pls i
> > > really need help here because im completely lost in using matlab..
> >
> > <http://www.mathworks.com/help/nnet/gs/time-series-prediction.html>
> >
> > --
>
>
> i have viewed the predicted output for NAV, however there suppose to be 96 values of output, but there is only 94 outputs. so, 2 outputs are missing. how do i view the last 2 outputs for t=95 and t=96?

The default input and feedback delays are ID = FD = 1:2. Therefore the first two input and target values are loaded in the delay buffer. The resulting outputs are for times 3:96.

Hope this helps.

Greg

Subject: How to view predicted output in Neural Network?

From: sakinah badiha masir

Date: 13 Jun, 2013 20:33:09

Message: 7 of 8

"Greg Heath" <heath@alumni.brown.edu> wrote in message <kpck05$a2c$1@newscl01ah.mathworks.com>...
> "sakinah badiha masir" wrote in message <kp6lt8$mb8$1@newscl01ah.mathworks.com>...
> > dpb <none@non.net> wrote in message <kp5o3v$1c1$1@speranza.aioe.org>...
> > > On 6/10/2013 4:03 PM, sakinah badiha masir wrote:
> > > > Hi. Im currently doing a thesis for my final year project in university
> > > > on predicting net asset value per share for mutual funds. there are 5
> > > > input variables and the dependent variable is NAV. i do not use any
> > > > coding since im an actuarial science student. i use the time-series in
> > > > neural network toolbox (NARX). can u tell me how can i view the
> > > > predicted output so i can do some calculation on statistics? pls i
> > > > really need help here because im completely lost in using matlab..
> > >
> > > <http://www.mathworks.com/help/nnet/gs/time-series-prediction.html>
> > >
> > > --
> >
> >
> > i have viewed the predicted output for NAV, however there suppose to be 96 values of output, but there is only 94 outputs. so, 2 outputs are missing. how do i view the last 2 outputs for t=95 and t=96?
>
> The default input and feedback delays are ID = FD = 1:2. Therefore the first two input and target values are loaded in the delay buffer. The resulting outputs are for times 3:96.
>
> Hope this helps.
>
> Greg

so, do you mean that if say i have 100 targets and there should be 100 predicted outputs, when i want to view the result, there will be only 98 predicted outputs? is there any means to show the last two outputs? pls help me. thank you

Subject: How to view predicted output in Neural Network?

From: Greg Heath

Date: 15 Jun, 2013 17:05:09

Message: 8 of 8

"sakinah badiha masir" wrote in message <kpdaa5$ddf$1@newscl01ah.mathworks.com>...
> "Greg Heath" <heath@alumni.brown.edu> wrote in message <kpck05$a2c$1@newscl01ah.mathworks.com>...
> > "sakinah badiha masir" wrote in message <kp6lt8$mb8$1@newscl01ah.mathworks.com>...
> > > dpb <none@non.net> wrote in message <kp5o3v$1c1$1@speranza.aioe.org>...
> > > > On 6/10/2013 4:03 PM, sakinah badiha masir wrote:
> > > > > Hi. Im currently doing a thesis for my final year project in university
> > > > > on predicting net asset value per share for mutual funds. there are 5
> > > > > input variables and the dependent variable is NAV. i do not use any
> > > > > coding since im an actuarial science student. i use the time-series in
> > > > > neural network toolbox (NARX). can u tell me how can i view the
> > > > > predicted output so i can do some calculation on statistics? pls i
> > > > > really need help here because im completely lost in using matlab..
> > > >
> > > > <http://www.mathworks.com/help/nnet/gs/time-series-prediction.html>
> > > >
> > > > --
> > >
> > >
> > > i have viewed the predicted output for NAV, however there suppose to be 96 values of output, but there is only 94 outputs. so, 2 outputs are missing. how do i view the last 2 outputs for t=95 and t=96?
> >
> > The default input and feedback delays are ID = FD = 1:2. Therefore the first two input and target values are loaded in the delay buffer. The resulting outputs are for times 3:96.
> >
> > Hope this helps.
> >
> > Greg
>
> so, do you mean that if say i have 100 targets and there should be 100 predicted outputs, when i want to view the result, there will be only 98 predicted outputs? is there any means to show the last two outputs? pls help me. thank you

You have 100 targets. Because you want a feedback delay of 2, the first 2 target values are put into the delay buffer. Then when you begin, the first output corresponds to the 3rd target.

In general, the length of the delay buffer is LDB = max([ID FD]) and the number of outputs will be N-LDB.

Hope that helps.

Greg

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us