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.


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 O’Reilly online learning.

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