Epoch describes the number of times the algorithm sees the entire dataset whereas an Iteration tells the number of times a batch of data passed through the algorithm.

For example, consider the input dataset consists of 100,000 records and if we train the model for 10 epochs, let the batch size = 1 i.e loading each data point every time and performing forward, backward propagation for every data point [Optimiser would be the Stochastic Gradient Descent]. Hence, the number of iterations per epoch for the above example would be 100,000 and the total number of epochs would be 10.

Originally published at https://dev.to on March 22, 2022.

--

--

ML

What is Data Tidying?

Data Tidying is the process of structuring your data in a way that makes it easy to analyze and use. Instead of focusing on ridding your data of inaccuracies, data tidying focuses on ensuring the accurate data that remains is easy for users to inspect and use. This strategy should happen after you clean your data and bridges the gap between “How can we make sure our data is accurate?” and “How can we make our accurate data useful?”

--

--

How?

How to embed (or) insert code directly on Medium using a MacBook?

Hello everyone, are you wondering on how to include your code for example Python, R, SQL, C, C++ etc on Medium application when you are trying to publish a story?

The solution for the above query is simple:-

Copy the code and paste it in your story then select (or) highlight the code and press command+option+6 at a time.                           (OR)Press command+option+6 at a time and release you will get code blocks to insert your code.

(OR)
Type ``` in a new line. You will be prompted with a code block to insert your code.

Happy coding…

--

--