Dataset Shuffling / knet

15 views
Skip to first unread message

Yusuf Patoğlu

unread,
May 8, 2021, 10:09:03 AM5/8/21
to knet-users
Hello, 

Does knet shuffle the dataset automatically? I have 5k graphs and the first 1k of them are class A graphs and the remaining class B. I can't use Julia's shuffle method because I also keep the corresponding labels in another one-dimensional array. I wanted to ask this before implementing shuffling from scratch.

Thanks,
Yusuf

Deniz Yuret

unread,
May 9, 2021, 2:32:35 AM5/9/21
to Yusuf Patoğlu, knet-users
There is a shuffle option for the minibatch function.

--
You received this message because you are subscribed to the Google Groups "knet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knet-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knet-users/7429e38e-5f02-45ba-a248-cb6b0fb3783an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages