[Qt-interest] FANN Library

DiogoLR diogolr at gmail.com
Sat Apr 16 22:27:13 CEST 2011


Hi there,

I have a MLP Neural Network trained on Matlab and I'm trying to
initialize their weights using FANN. I think I have suceed
initializing the neural structure (layers and neurons per layer), but
I have no success with the weights and bias.

Can someone show me an example about how can I initialize weight and
bias having a weight matrix and a bias weight vector?

For example, if I have a NN with 10 inputs, 1 hidden layer (with 8
neurons) and 2 output neurons, I get this data available:

Matrix 1, sized 8x10 (obtained from net.IW{1} matlab command)
Bias Vector 1, sized 10x1 (obtained from net.b{1} matlab command)
Matrix 2, sized 2x8 (obtained from net.LW{2,1} matlab command)
Bias Vector 2, sized 8x1 (obtained from net.b{1} matlab command)

How can I initialize a MLP with this configuration?

Regards,

Diogo.



More information about the Qt-interest-old mailing list