Azzera filtri
Azzera filtri

How to incorperate graph as nerual network input?

1 visualizzazione (ultimi 30 giorni)
Hi, I'm new to using neural network in Matlab. At the moment I wish to use the graph results collected from my experiment as inputs to the network for pattern recognition. Question is can the neural network read the graph data as inputs? and how should I put it in the network. Thanks

Risposta accettata

Greg Heath
Greg Heath il 12 Ott 2012
The net reads matrix input only. For a MLP with I-H-O node topology the input and target formats are
[ I N ] = size(input)
[ O N ] = size(target)
Hope this helps.
Thank you for formally accepting my answer.
Greg
  3 Commenti
aurora
aurora il 21 Ott 2012
I have the same question , and I want to know what's (I) and what's (N)in the size of input and taregt ? Do the columns N express the no. of classes or the different inputs of the same class or the length of input elements ?
A numerical example will clear the problem .. if I have 10 different classes , each class has 10 shapes to train the network on them , a feature vector of each shape is extracted and the all ten feature vectors of the same class must be trained and produce the same target, the same process is done for all the classes. How to format the input as a suitable matlab neural network toolbox input?
Greg Heath
Greg Heath il 24 Ott 2012
Input vectors and target vectors occur in pairs but have different dimensions. When all of the data is collected into separate input and target matrices, the dimensions of the matrices are as I have given previously. Each I-dimensional input vector has an O-dimensional output vector as a training target.
For classifiers O = c, the number of classes, and each target vector is a column of the c-dimensional unit matrix eye(c). The index of the row containing the one is the class index of the corresponding input vector.
Jesmond: It is not enough to give dimensions of a data matrix. You have to give dimensions of paired input and output vectors.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Networks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by