Skip to Content
Deep Learning and its Applications using Python
book

Deep Learning and its Applications using Python

by Niha Kamal Basha, Surbhi Bhatia Khan, Abhishek Kumar, Arwa Mashat
October 2023
Beginner to intermediate
256 pages
5h 42m
English
Wiley-Scrivener
Content preview from Deep Learning and its Applications using Python

3Understanding and Working with Keras

A python library called Keras has been used for deep learning which work over TensorFlow. The objective and focus of Keras on deep learning with perceptions of creating neural networks layers and its mathematical models. The backend of Keras is TensorFlow. The advantage of this is Keras can run applications independently. Keras is simple, flexible, and powerful. A sequential and functional API’s are two frameworks of Keras. Among these, sequential API has been used at initial stage, which is working on linear stack of layers. The added advantage of using sequential model is easy-to-insert layers. The main features [1] are shown in Figure 3.1

The history of Keras is shown in Table 3.1.

3.1 Major Steps to Deep Learning Models

The number of steps involved in Keras are four [3] in relation with deep learning models, which is shown in Figure 3.2.

Define the model—This is used for creating the model and adding the layers (convolution layer, pooling layer, and fully connected layer), which perform different functions. They are convolution layer, pooling layer, batch normalization layer, and activation function layer.

The model to Compile—The compilation have been done using compile () function before that the loss function, as well as an optimizer are applied.

Fit the model—This is used for training the model with set of test data. The training task is executed by calling fit () function.

Make predictions—The functions used for prediction is ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Machine Learning with Python

Machine Learning with Python

Oliver Theobald
Generative Deep Learning with Python

Generative Deep Learning with Python

Cuantum Technologies LLC
Python Deep Learning - Third Edition

Python Deep Learning - Third Edition

Ivan Vasilev, Valentino Zocca

Publisher Resources

ISBN: 9781394166466Purchase Link