minibatchsize on lstm network

조회 수: 5 (최근 30일)
NGR MNFD
NGR MNFD 2021년 8월 1일
답변: Meet 2024년 8월 21일
HI all...
I have a training set (51*1cell) and test set (13*1cell).and i want to rain with lstm network so i don not know What a suitable number for minibatchsize?

답변 (1개)

Meet
Meet 2024년 8월 21일
Hi NGR,
Based on my understanding of your question, you have a small dataset of sequences and are seeking to determine the optimal mini-batch size for training an LSTM network to ensure efficient learning and strong model performance. Given the relatively small size of your dataset (51 training samples), opting for a smaller mini-batch size might be more suitable. This approach allows the model to update more frequently and can enhance learning from limited data.
For your dataset, starting with a mini-batch size between 1 and 8 could be beneficial, as it permits more frequent updates. You can experiment with these smaller sizes and gradually increase them to observe how they impact your model's performance and training duration.
You can refer to this article for more detailed information:
I hope this information is helpful.
Thank you.

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by