Book Image

Applied Deep Learning with Python

By : Alex Galea, Luis Capelo
Book Image

Applied Deep Learning with Python

By: Alex Galea, Luis Capelo

Overview of this book

Taking an approach that uses the latest developments in the Python ecosystem, you’ll first be guided through the Jupyter ecosystem, key visualization libraries and powerful data sanitization techniques before you train your first predictive model. You’ll then explore a variety of approaches to classification such as support vector networks, random decision forests and k-nearest neighbors to build on your knowledge before moving on to advanced topics. After covering classification, you’ll go on to discover ethical web scraping and interactive visualizations, which will help you professionally gather and present your analysis. Next, you’ll start building your keystone deep learning application, one that aims to predict the future price of Bitcoin based on historical public data. You’ll then be guided through a trained neural network, which will help you explore common deep learning network architectures (convolutional, recurrent, and generative adversarial networks) and deep reinforcement learning. Later, you’ll delve into model optimization and evaluation. You’ll do all this while working on a production-ready web application that combines TensorFlow and Keras to produce meaningful user-friendly results. By the end of this book, you’ll be equipped with the skills you need to tackle and develop your own real-world deep learning projects confidently and effectively.
Table of Contents (9 chapters)

Model Evaluation and Optimization

This chapter focuses on how to evaluate a neural network model. Different than working with other kinds of models, when working with neural networks, we modify the network's hyper parameters to improve its performance. However, before altering any parameters, we need to measure how the model performs.

By the end of this chapter, you will be able to:

  • Evaluate a model
    • Explore the types of problems addressed by neural networks
    • Explore loss functions, accuracy, and error rates
    • Use TensorBoard
    • Evaluate metrics and techniques
  • Hyperparameter optimization
    • Add layers and nodes
    • Explore and add epochs
    • Implement activation functions
    • Use regularization strategies