Groups of observations for Neural Network?
Show older comments
I have an IxN matrix of input data and an OxN matrix of output data. The N columns are observations. Each observation column is unique, however they exist in groups of an unknown number of observation columns per day. Each of these groups of obs from one day should be analyzed by the tree or network as a single related entity.
I just found the grouping variables functionality in Matlab, which is exactly what I need: http://www.mathworks.com/help/stats/grouping-variables.html Is there anyway to incorporate this into either NNTBX or ClassificationTree.fit?
Accepted Answer
More Answers (1)
Greg Heath
on 18 Jun 2013
0 votes
To use the NNTBX, variables are rows and observations are columns.
You train the net by giving it pairs of input vectors and corresponding output targets.
The sizes of the input matrix and corresponding target matrix are
[ I N ]= size(input)
[ O N ] =size(target)
for N I-dimensional input vectors and the corresponding N O-dimensional output target vrctors.
Are you able to explain the relationship that you want to have between a typical I-dimensional input vector and the correspondidng O-dimensional output vector?
Greg
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!