Implementing neural networks in Python

Classic computer programs are great when it comes to compute operations based on a sequence of instructions and arithmetic, but they face difficulties and challenges in many other cases; for example, handwriting-recognition. As a warm up, let's build a handwritten digit recognizer to take the opportunity to install the Python libraries needed in the next sections and learn how to build and implement our first neural network in Python. To train the model, we need to feed it with data. In our implementation, we are going to use the MNIST dataset:

First, let's install the keras library using the pip install ...

Get Mastering Machine Learning for Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.