Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
4 views
in Machine Learning by (330 points)

I have noticed that in most models step parameter is used to indicate the no. of steps to run over data but I have also noticed that in practical usage, we mainly use the fit function N epochs.

What is the distinction between running one thousand steps with one epoch and running one hundred steps with ten epoch? Which one is better? Is there any logic changes between consecutive epochs? Data shuffling?

1 Answer

+3 votes
by (10.9k points)
edited by

Steps: A training step is defined as one gradient update

Epoch: An epoch is defined as one full iteration through all the training data.

steps = (epoch * examples)/batch size

For example-

If epoch = 200, examples = 2000 and batchsize = 2000

steps = 200

visit here to know more about TensorFlow Tutorial.

Browse Categories

...