MATLAB: Retrain neurons

neural network

I asked this question before and no one replied. So I am asking this again.
I am new to neural networks. I tried the probabilistic method for image processing and it worked perfectly. When I studied about these neural networks (in a book) it said that it is possible to retrain these neurons for a different set of data of a same class. How would you do that using matlab?

Best Answer

  • You could try
    [net2 tr Y E] = train(net1,p2,t2); % Train for a new set
    % However, performance of net2 on p1 may be unsatisfactory
    Therefore use
    [net2 tr Y E] = train(net1,[p1 p2],[t1 t2]);
    Hope this helps.
    Greg