wepe / MachineLearning

Basic Machine Learning and Deep Learning
5.07k stars 3.16k forks source link

shuffle the datasets first #1

Closed CorcovadoMing closed 9 years ago

CorcovadoMing commented 9 years ago

should shuffle the datasets first in order to get the correct validation result

wepe commented 9 years ago

CorcovadoMing, you are right. Many thanks! And I think it is not necessary to shuffle the data each epoch, I will remove the same code following.

CorcovadoMing commented 9 years ago

It's hard to say whether shuffle in each epoch needed, but I think maybe it's a good idea to shuffle in each epochs to avoid a fixed training pattern

need more experiments to confirm which one is better :)