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!