how do i use conditional training in neural network

i am new to matlab and neural networks. i want to train a nn using the condition that are specified. the input is a matrix, and the elements of the output matrix should satisfy specific condition. for eg, the diagonal elements should be zero, the sum of certain elements should be a specified value etc.
also how do i input the matrix. i could only input it as separate rows/columns and not a a whole matrix, whose elements are to be considered together and not individually.
how do i do it using nn toolbox?? should i use the simulink tool boxes??how??

 채택된 답변

Greg Heath
Greg Heath 2012년 12월 13일

0 개 추천

I think you are confused.
The common Feedforward Multilayer Perceptron either implements regression/curvefitting (fitnet) or classification/pattern-recognition (patternnet).
Given an input matrix of N I-dimensional column vectors, it will output a corresponding matrix of N O-dimensional column vectors.
Each output column corresponds to a single inputcolumn. In matrix notation, y = f(x).
However, there are Time-Series nets where the current output depends on
a. current and past values of input (timedelaynet) y(t) = f(x(t-d: t))
b. past values of output (narnet) y(t) = f(y(t-d: t-1))
c. a combination of a and b (narxnet).
Your description does not seem to fit these scenarios.
Hope this helps.
Thank you for formally accepting my answer.
Greg

댓글 수: 2

remya
remya 2012년 12월 13일
Thank you for answering.
But how do u suggest I approach the problem??
I don't fully understand the general premise. Can you post a small example
1. Explain the desired I/O transformation 2. Post examples of the input matrix and corresponding output target matrix.
Be forewarned that each output column only depends on one input column. If you want an output column to depend on more than one input column, you should stack those columns to form one input column.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2012년 12월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by