how to divide data set in input data and target data for prediction in neural network

hi all sir, i have a intermittent data set ( having date and demand size ) and i want to predict future values of demand. so please tell me how data set can be divided in input data and target data.
for example: date aug99 sep99 oct99 nov99 dec99 and corrosponding demadsize 15 0 0 8 15 and so on . . . .
please tell me how to divide this data in input data and target data

2 Comments

Sir i have data of rainfall but i dont know that what will be the targeted value.
I think you need to expand your question more. Also I recommend that you create your own Question.

Sign in to comment.

 Accepted Answer

The desired response for the input in the ith column of the input matrix is the ith column of the target matrix. For example
input = 8:12;
target = [ 15 0 0 8 15 ];
Thank you for formally accepting my answer
Greg

2 Comments

how to create target dataset for single column dataset ?
Create a single column where each entry is the number of the known class of the sample.
If you do not know which class the sample belongs to then you have a problem.

Sign in to comment.

More Answers (0)

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!