incremental training (large data set)

2 visualizaciones (últimos 30 días)
Michal
Michal el 18 de Feb. de 2020
Editada: Michal el 26 de Mzo. de 2020
Is the following approach suitable for NN incremental learning in general?
for bn = 1:num_batches
inputs = <get batch bn inputs>;
targets = <get batch bn targets>;
net = train(net, inputs, targets);
end
Is there any recomanded method how to split large data set on a separate batches and how to perform validation and testing?
I will be happy for any relevant reference and/or matlab examples (tutorial).

Respuestas (1)

Sai Bhargav Avula
Sai Bhargav Avula el 26 de Mzo. de 2020
Hi,
You can try using tall array. Datastore object can also be used for this purpose. You can split the data using cvpartition for the validation and testing
Hope this helps!
  7 comentarios
Michal
Michal el 26 de Mzo. de 2020
Editada: Michal el 26 de Mzo. de 2020
OK ... and my type of problem correspond to the "Batch Training" or "Incremental Training with adapt"?
I am still not sure, which method is suitable for integration of new information to one NN. Is the proper method "Batch Training" in my case?
May be, should be better to communicate directly via email.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by