5 not 0. A random function would be expected to perform at 0.5 for gender classification over a random set of individuals.</li>
</ul>

<script src="https://gist.github.com/spolu/7b08e7f5e6437b05a51f.js"></script>

It is worth noting here that networks without an inner layer (called perceptron), are linear classifiers. Their prediction is based on a simple linear combination of the input features. We were quite surprised by the efficiency of these networks given the simplicity of the model they encode.

Best