Applied Neural Networks with TensorFlow 2 API Oriented Deep Learning with Python 1st Edition Orhan Gazi Yalcın Yalçın Orhan instant download
Applied Neural Networks with TensorFlow 2 API Oriented Deep Learning with Python 1st Edition Orhan Gazi Yalcın Yalçın Orhan instant download
https://textbookfull.com/product/applied-neural-networks-with-
tensorflow-2-api-oriented-deep-learning-with-python-1st-edition-
orhan-gazi-yalcin-yalcin-orhan/
https://textbookfull.com/product/applied-neural-networks-with-
tensorflow-2-api-oriented-deep-learning-with-python-1st-edition-
orhan-gazi-yalcin-yalcin-orhan/
https://textbookfull.com/product/deep-learning-projects-using-
tensorflow-2-neural-network-development-with-python-and-
keras-1st-edition-vinita-silaparasetty/
https://textbookfull.com/product/artificial-neural-networks-with-
tensorflow-2-ann-architecture-machine-learning-projects-
poornachandra-sarang/
https://textbookfull.com/product/deep-learning-with-javascript-
neural-networks-in-tensorflow-js-1st-edition-shanqing-cai-
stanley-bileschi-eric-d-nielsen/
Applied Reinforcement Learning with Python: With OpenAI
Gym, Tensorflow, and Keras Beysolow Ii
https://textbookfull.com/product/applied-reinforcement-learning-
with-python-with-openai-gym-tensorflow-and-keras-beysolow-ii/
https://textbookfull.com/product/deep-learning-with-python-
develop-deep-learning-models-on-theano-and-tensorflow-using-
keras-jason-brownlee/
https://textbookfull.com/product/deep-learning-with-javascript-
neural-networks-in-tensorflow-js-1st-edition-shanqing-cai/
https://textbookfull.com/product/learn-keras-for-deep-neural-
networks-a-fast-track-approach-to-modern-deep-learning-with-
python-1st-edition-jojo-john-moolayil/
https://textbookfull.com/product/matlab-deep-learning-with-
machine-learning-neural-networks-and-artificial-intelligence-1st-
edition-phil-kim/
Orhan Gazi Yalçın
Apress Standard
© Orhan Gazi Yalçın 2021
The publisher, the authors and the editors are safe to assume that the
advice and information in this book are believed to be true and accurate
at the date of publication. Neither the publisher nor the authors or the
editors give a warranty, expressed or implied, with respect to the
material contained herein or for any errors or omissions that may have
been made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.
1. Introduction
Orhan Gazi Yalçın1
(1) Istanbul, Turkey
In this book, we dive into the realms of deep learning (DL) and cover
several deep learning concepts along with several case studies. These
case studies range from image recognition to recommender systems,
from art generation to object clustering. Deep learning is part of a
broader family of machine learning (ML) methods based on artificial
neural networks (ANNs) with representation learning. These neural
networks mimic the human brain cells, or neurons, for algorithmic
learning, and their learning speed is much faster than human learning
speed. Several deep learning methods offer solutions to different types
of machine learning problems: (i) supervised learning, (ii)
unsupervised learning, (iii) semi-supervised learning, and (iv)
reinforcement learning.
This book is structured in a way to also include an introduction to
the discipline of machine learning so that the reader may be acquainted
with the general rules and concepts of machine learning. Then, a
detailed introduction to deep learning is provided to familiarize the
reader with the sub-discipline of deep learning.
After covering the fundamentals of deep learning, the book covers
different types of artificial neural networks with their potential real-life
applications (i.e., case studies). Therefore, at each chapter, this book (i)
introduces the concept of a particular neural network architecture with
details on its components and then (ii) provides a tutorial on how to
apply this network structure to solve a particular artificial intelligence
(AI) problem.
Since the goal of this book is to provide case studies for deep
learning applications, the competency in several technologies and
libraries is sought for a satisfactory learning experience.
Before diving into machine learning and deep learning, we start
with the introduction to the technologies used in this book. This
introduction includes the latest developments and the reasoning as to
why these technologies are selected. Finally, this chapter also covers
how to install these technologies and prepare your environment with a
minimum amount of hassle. The technologies that are in the center of
this book are as follows:
Our Selected Programming Language: Python 3.x
Our Selected Deep Learning Framework: TensorFlow 2.x
Our Development Environment: Google Colab (with Jupyter
Notebook alternative)
Please note that this book assumes that you use Google Colab, which
requires almost no environment setup. The chapter also includes a local
Jupyter Notebook installation guide if you prefer a local environment.
You may skip the Jupyter Notebook installation section if you decide to
use Google Colab.
Timeline of Python
Let’s take a look at the timeline of Python:
In the late 1980s, Python was conceived as a successor to the ABC
language.
In December 1989, Guido van Rossum started Python’s
implementation.
In January 1994, Python version 1.0 was released. The major new
features included were the functional programming tools lambda,
map, filter, and reduce.
October 2000, Python 2.0 was released with major new features,
including a cycle-detecting garbage collector and support for
Unicode.
Python 3.0 was released on December 3, 2008. It was a major
revision of the language that is only partially backward compatible.
Many of its major features were backported to Python 2.6.x and 2.7.x
version series. Releases of Python 3 include the 2 to 3 utility, which
automates (at least partially) the translation of Python 2 code to
Python 3.
As of January 1, 2020, no new bug reports, fixes, or changes are made
to Python 2, and Python 2 is no longer supported.
Python 2 vs. Python 3
One of the common questions a new deep learning programmer might
have is whether to use Python 2.x or Python 3.x since there are many
outdated blog posts and web articles comparing two major versions. As
of 2020, it is safe to claim that these comparisons are not relevant. As
you may see in the preceding timeline, the delayed deprecation of
Python 2.x finally took place as of January 1, 2020. Therefore,
programmers may not find official support for Python 2.x versions
anymore.
One of the essential skills for a programmer is to be up to date with
the latest technology, and therefore, this book only utilizes the use of
Python 3.x versions. For the readers who are only familiar with Python
2.x versions, this preference should not pose a problem since the
differences between the syntax used in this book for Python 2.x and
Python 3.x are not significant. Therefore, Python 2.x programmers may
immediately familiarize themselves with the source code in this book.
Why Python?
Compared to other programming languages, there are several reasons
for Python’s popularity among data scientists and machine learning
engineers. 2019 Kaggle Machine Learning and Data Science Survey
revealed that Python is by far the most popular programming language
for data science and machine learning; see Figure 1-1.
Figure 1-1 2019 Kaggle Machine Learning and Data Science Survey
There are several reasons for Python’s popularity compared to
other languages. A non-exhaustive list of benefits of Python may be the
following.
Ease of Learning
One of the main reasons for newcomers to choose Python as their
primary programming language is its ease of learning. When compared
to other programming languages, Python offers a shorter learning
curve so that programmers can achieve a good level of competency in a
short amount of time. Python’s syntax is easier to learn, and the code is
more readable compared to other popular programming languages. A
common example to show this is the amount of code required by
different programming languages to print out “Hello, World!”. For
instance, to be able to print out Hello, World! in Java, you need the
following code:
Hello, World! In Java
Community Support
The powerful community support is another advantage of Python over
other programming languages. More and more volunteers are releasing
Python libraries, and this practice made Python the language with
modern and powerful libraries. Besides, a high number of seasoned
Python programmers are always ready to help other programmers with
their problems on online community channels such as Stack Overflow.
Visualization Options
Data visualization is an important discipline to extract insights from
raw data, and Python offers several useful visualization options. The
good old Matplotlib is always there with the most customizable options.
In addition, Seaborn and Pandas Plot API are powerful libraries that
streamline the most common visualization tasks used by data
scientists. Additionally, libraries like Plotly and Dash allow users to
create interactive plots and sophisticated dashboards to be served on
the Web. With these libraries, data scientists may easily create charts,
draw graphical plots, and facilitate feature extraction.
Now that we covered why favorite language of data scientists is
Python, we can move on to why we use TensorFlow as our machine
learning framework.
Timeline of TensorFlow
Although this book focuses on TensorFlow 2.x with Python API, there
are several complementary TensorFlow libraries released by Google.
Understanding the development of the TensorFlow platform is essential
to see the full picture. The timeline of the milestones achieved by
Google as part of the TensorFlow project may be summarized as
follows:
In 2011, Google Brain built a machine learning system called
DistBelief using deep learning neural networks.
November 2015, Google released the TensorFlow library under the
Apache License 2.0 and made it open source to accelerate the
advancements in artificial intelligence.
In May 2016, Google announced an application-specific integrated
circuit (an ASIC) built for machine learning and tailored for
TensorFlow, called Tensor Processing Unit (TPU) .
In February 2017, Google released TensorFlow 1.0.0 .
In May 2017, Google announced TensorFlow Lite , a library for
machine learning development in mobile devices.
In December 2017, Google introduced Kubeflow , which allows
operation and deployment of TensorFlow on Kubernetes.
In March 2018, Google announced TensorFlow.js version 1.0 for
machine learning with JavaScript.
In July 2018, Google announced the Edge TPU . Edge TPU is Google’s
purpose-built ASIC chip designed to run TensorFlow Lite machine
learning (ML) models on smartphones.
In January 2019, Google announced TensorFlow 2.0 to be officially
available in September 2019.
In May 2019, Google announced TensorFlow Graphics for deep
learning in computer graphics.
In September 2019, TensorFlow Team released TensorFlow 2.0, a
new major version of the library.
This timeline shows that the TensorFlow platform is maturing.
Especially with the release of TensorFlow 2.0, Google has improved the
user-friendliness of TensorFlow APIs significantly. Besides, the
TensorFlow team announced that they don’t intend to introduce any
other significant changes. Therefore, it is safe to assume that the
methods and syntax included in this book are to keep their relevance
for a long time.
Why TensorFlow?
There are more than two dozens of deep learning libraries developed
by tech giants, tech foundations, and academic institutions that are
available to the public. While each framework has its advantage in a
particular sub-discipline of deep learning, this book focuses on
TensorFlow with Keras API. The main reason for choosing TensorFlow
over other deep learning frameworks is its popularity. On the other
hand, this statement does not indicate that the other frameworks are
better – yet, less popular – than TensorFlow. Especially with the
introduction of version 2.0, TensorFlow strengthened its power by
addressing the issues raised by the deep learning community. Today,
TensorFlow may be seen as the most popular deep learning framework,
which is very powerful and easy to use and has excellent community
support.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
textbookfull.com