Skip to Content
Applied Deep Learning with Keras
book

Applied Deep Learning with Keras

by Ritesh Bhagwat, Mahla Abdolahnejad, Matthew Moocarme
April 2019
Intermediate to advanced
412 pages
7h 46m
English
Packt Publishing
Content preview from Applied Deep Learning with Keras

Appendix

About

This section is included to assist you to perform the activities in the book. It includes detailed steps that are to be performed by you to achieve the objectives of the activities.

Chapter 1: Introduction to Machine Learning with Keras

Activity 1: Adding Regularization to the Model

Solution:

  1. Load the feature data from Exercise 1 and the target data from the second activity. The feature data from the second activity can also be used:

    import pandas as pd

    feats = pd.read_csv(‘data/bank_data_feats_e3.csv’, index_col=0)

    target = pd.read_csv(‘data/bank_data_target_e2.csv’, index_col=0)

  2. We will again create a test and train dataset. We will train the data using the training dataset. This time, however, we will use part of the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Deep Learning with Keras

Advanced Deep Learning with Keras

Rowel Atienza, Neeraj Verma, Valerio Maggio
Deep Learning with Keras

Deep Learning with Keras

Antonio Gulli, Sujit Pal
Keras Deep Learning Cookbook

Keras Deep Learning Cookbook

Rajdeep Dua, Sujit Pal, Manpreet Singh Ghotra

Publisher Resources

ISBN: 9781838555078Supplemental Content