필터 지우기
필터 지우기

Groups of observations for Neural Network?

조회 수: 2 (최근 30일)
shane
shane 2013년 6월 17일
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?

채택된 답변

Greg Heath
Greg Heath 2013년 6월 25일
Input and output vector dimensions are fixed.
If you wish to have variable dimensions, the only way I can think of effectively relaying that info to the net is to fix the maximum dimensions and use zeros when vectors are shorter than the maximum. If you use NaNs, the outputs will be NaNs.
  댓글 수: 4
Greg Heath
Greg Heath 2013년 6월 25일
The grouping variables in the reference are useful for UNSUPERVISED learning.
Your problem is one of SUPERVISED learning. You teach the net, via training, that if this vector is the input, then that target vector should be the output.
If your training set is representative of the total data set and categories don't significantly overlap, then you should be OK.
shane
shane 2013년 6월 26일
Excellent, thanks for the help Greg.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Greg Heath
Greg Heath 2013년 6월 18일
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
  댓글 수: 2
shane
shane 2013년 6월 18일
Hi Greg, Thanks for clarification on row/column order.
For a given test I have a variable number of resultant observations, the input vectors, all of which are 3 dimensional. Say these represent multiple failures for one individual test object. All of these inputs are a group, and are pointed at the same responding 3 dimensional output vector for that test (say the strength of the object).
So what I need is a way to inform the NNTBX tool that x number of input vectors are from test 1, y from test 2 etc so that it treats these as results of the same test when building the network, and not as individual test results. The strength of object 1 (the output target) is related to all of the failure inputs, not to each individual failure input. I do not think it is enough that the output vectors for the same tests will be the same because the output vector is a discrete 5 point scale and there will be a lot of repetition between the tests.
shane
shane 2013년 6월 21일
Hi Greg,
Is there any other information I can provide to help with this question? Or is it that there is no answer to this question and its not possible?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Build Deep Neural Networks에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by