Answers.Body: <p>There is no industry standard for psuedocode as it is read by humans (for the moment ;) and the author can decide how best to represent the concepts of the algorithm with the aim of balancing precision and understandability. In this case there is a </p>
  
  <pre>FOR ... END FOR</pre> 
  
  <p>block which is iterated over k for 1 to m. And an </p>
  
  <pre>IF ... END IF</pre> 
  
  <p>block that is run if fine-tuning evaluates to true.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-23T07:36:09.127Z
Answers.LastActivityDate: 2017-08-23T07:36:09.127Z
Answers.UserDisplayName: 2D1C
Body: <p>The textbook Deep Learning by Goodfellow, Bengio, and Courville can be viewed in individual html chapters <a href="http://www.deeplearningbook.org/" rel="nofollow noreferrer">here</a>. </p>
  
  <p>I'm currently reading Chapter 15 on Representation Learning and saw this for algorithm 15.1 on page 530:</p>
  
  <p><a href="https://i.sstatic.net/n9JEx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/n9JEx.png" alt="Page 530"></a></p>
  
  <p>There no condition after <code>end for</code> and similarly no end condition for <code>end if</code>. Is that intentional? If so, what is the correct way to interpret it? I haven't encountered algorithm syntax like this in the past. </p>
  
Tags: <deep-learning>
Title: Is this page of Goodfellow's Deep Learning Textbook missing text?
UserDisplayName: Mysterious Otter
ThreadText: # Is this page of Goodfellow's Deep Learning Textbook missing text?
  
  (Asked by: username_0 on 2017-08-23)
  
  The textbook Deep Learning by Goodfellow, Bengio, and Courville can be viewed in individual html chapters [here](http://www.deeplearningbook.org/).
  
  I'm currently reading Chapter 15 on Representation Learning and saw this for algorithm 15.1 on page 530:
  
  [![Page 530](https://i.sstatic.net/n9JEx.png)](https://i.sstatic.net/n9JEx.png)
  
  There no condition after `end for` and similarly no end condition for `end if`. Is that intentional? If so, what is the correct way to interpret it? I haven't encountered algorithm syntax like this in the past.
  
  **Tags:** deep-learning
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-08-23. Score: 3
  
  There is no industry standard for psuedocode as it is read by humans (for the moment ;) and the author can decide how best to represent the concepts of the algorithm with the aim of balancing precision and understandability. In this case there is a 
  FOR ... END FOR
  block which is iterated over k for 1 to m. And an 
  IF ... END IF
  block that is run if fine-tuning evaluates to true.
  
  
  ---
  
  