What will be the data format for Neural Network tool box?

I am new with NN. I have 40 years of time series data. Kindly suggest me about the format of data to use it in NN toolbox
Regards Juthika

 Accepted Answer

%Timeseries example
% uppercase X,T for cells
% lowercase x,t for doubles
% "I" for "I"nput
% "O" for "O"utput target
% "c" for "c"ell
% "d" for double
clear all, clc
help nndatasets
[ X, T ] = pollution_dataset;
[ Ic N ] = size(X)
[Oc N ] = size(T)
x = cell2mat(X);
t = cell2mat(T);
[ Id N ] = size(x)
[ Od N ] = size(t)
whos
% OUTPUT
Ic = 1, N = 508
Oc = 1, N = 508
Id = 8, N = 508
Od = 3, N = 508
Name Size Bytes Class Attributes
Ic 1x1 8 double
Id 1x1 8 double
N 1x1 8 double
Oc 1x1 8 double
Od 1x1 8 double
T 1x508 69088 cell
X 1x508 89408 cell
t 3x508 12192 double
x 8x508 32512 double
Hope this helps.
Thank you for formally accepting my ANSWER
Greg

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 17 Jun 2016

Answered:

on 17 Jun 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!