incremental training (large data set)
이전 댓글 표시
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).
답변 (1개)
Sai Bhargav Avula
2020년 3월 26일
0 개 추천
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
Michal
2020년 3월 26일
Sai Bhargav Avula
2020년 3월 26일
Iam bit confused what you meant by correct. To the best of my knowledge it depends on the application rather than the data. If you want the NN to adapt to individual environment you need to use incremental learning. If you want to continuously integrate new information then regular batch ML algorithms won't work. These algorithms reconstruct new models from scratch. This is the application of incremental learning.
Michal
2020년 3월 26일
Sai Bhargav Avula
2020년 3월 26일
if you are looking for the learning functions, the learngdm and learngd are the two functions that can be used for incremental learning.
If you are using ADAPT to train, BLF can be LEARNGD or LEARNGDM. PF can be MSE, MSEREG, or SSE. BTF is not used when using ADAPT to perform incremental training.
trains can be used for Sequential order incremental training with learning functions.
Hope this what you are looking for!
Sai Bhargav Avula
2020년 3월 26일
I think this example explains things better
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!