2
votes

I am doing a project on CBIR using DWT and neural network. I have extracted color and texture features and trained the normalized values of the extracted features. I have used neural network tool in matlab to implement the image classification. All of these are done successfully.

My question is - are there any ways to insert the trained image values into the ms access database automatically?

Thanks.

1
Just guessing here, but I can see from the documentation that ODBC drivers are available, so what do you mean by automatically?Fionnuala
yes i configure ODBC in my project. just want to know every time i run my neural network how the values will be inserted into my database. thanks for the reply.Kach

1 Answers

1
votes

Neural network objects have properties you can access to get the network weights. Example:

net = feedforwardnet();       %# or the obsolete functions: newff, newpr, ..
net.b     %# bias vectors
net.IW    %# input weight matrices
net.LW    %# layer weight matrices

Refer to the documentation to know the meaning of each. You could check out this answer for an example how to use them to compute the network output yourself.

In addition there is a GETWB convenience function to get all weights as a vector:

weights = getwb(net);

You would save those values in the database. You can set the weights back with the SETWB function.

See here for an overview how to interact with database in MATLAB (here is one example of interacting with MS Access database).