April 2018
Beginner to intermediate
300 pages
7h 34m
English
In the following section, we will use Keras. Keras is a Python library for neural networks and provides a high-level interface to TensorFlow libraries. We do not intend to give a complete tutorial on Keras or CNN, but we want to show how we can use Matplotlib to visualize the loss function, accuracy, and outliers of the results.
Readers who are not familiar with machine learning should be able to go through the logic of the remaining chapter and hopefully understand why visualizing the loss function, accuracy, and outliers of the results is important in fine-tuning the CNN model.
Here is a snippet of code for the CNN; the most important part is the evaluation section after this!
# Import sklearn models ...
Read now
Unlock full access