What is the best way to apply k-fold cross validation in Fastai?

Hi,

I have a small dataset and would like to use k-fold cross validation. I have read the files from folder like Jeremy explained in Lecture-2 (Part-1). (https://medium.com/@hiromi_suenaga/deep-learning-2-part-1-lesson-2-eeae2edd2be4)

I would like to utilize my all data. So how can I use k-fold cross validation in Fast.ai library?

Thank you in advance.

4 Likes

Check this out…