Â
Your first steps into the practical world of recurrent neural networks will be to build a simple model which determines the parity (http://mathworld.wolfram.com/Parity.html) of a bit sequence . This is a warm-up exercise released by OpenAI in January 2018 (https://blog.openai.com/requests-for-research-2/). The task can be explained as follows:Â
Given a binary string of a length of 50, determine whether there is an even or odd number of ones. If that number is even, output 0, otherwise 1.
Later in this chapter, we will give a detailed explanation of the solution, together with addressing the difficult parts and how to tackle them.