Chapter 4

Evaluate Your Model with Cross-Validation using Keras Wrappers

Learning Objectives

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

  • Build a Keras wrapper with scikit-learn
  • Apply cross-validation to evaluate deep learning models
  • Create user-defined functions to implement deep learning models along with cross-validation

In this chapter, we will learn how to build a Keras wrapper with scikit-learn. We will perform cross-validation to evaluate deep learning models and also develop user-defined functions in order to perform cross-validation on multiple models.

Introduction

In this chapter, you will learn about cross-validation, a resampling technique that leads to a very accurate and robust estimation of a model's performance in ...

Get Applied Deep Learning with Keras now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.