Ask Your Question

Training neural network.

asked 2013-09-09 07:07:59 -0500

Today I have started looking through neural networks and CvANN_MLP. For the training, I generate one big matrix with information for the training samples. Is possibly to: Generate matrix for one sample at a time, train the neural network, save it in XML, load it and continue the training ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-09-09 07:25:06 -0500

berak gravatar image

no, not possible.

you can neither cut your training data into cute little blocks and apply them one by one, nor can you append new items, once the thing is trained. it tries to find an optimal model for your data, so it needs to see all of it at the same time.

same applies to probably all ml-algos in opencv.

edit flag offensive delete link more

answered 2013-09-09 07:31:50 -0500

Thanks. ;) And an other question: is there a way to get the progress of training procedure ?

edit flag offensive delete link more



none i know of, unfortunately.

berak gravatar imageberak ( 2013-09-09 07:58:47 -0500 )edit

yes.In the CvANN_MLP:: train method you have to set flag parameters with UPDATE_WEIGHTS.

Mostafa Sataki gravatar imageMostafa Sataki ( 2013-09-09 13:20:37 -0500 )edit


@Mostafa Sataki, are you going to make an answer from that(so ppl can upvote) ? or do i have to edit, and prove myself wrong ?

berak gravatar imageberak ( 2013-09-09 13:32:48 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-09-09 07:07:59 -0500

Seen: 398 times

Last updated: Sep 09 '13