Showing posts with label Binary Classification. Show all posts
Showing posts with label Binary Classification. Show all posts

Thursday, November 10, 2022

How to solve Binary Classification Problems in Deep Learning with Tensorflow & Keras?

 

How to solve Binary Classification Problems in Deep Learning with Tensorflow & Keras?

In this tutorial, we will focus on how to select Accuracy Metrics, Activation & Loss functions in Binary Classification Problems. First, we will review the types of Classification ProblemsActivation & Loss functionslabel encodings, and accuracy metricsFurthermore, we will also discuss how the target encoding can affect the selection of Activation & Loss functions. Moreover, we will talk about how to select the accuracy metric correctly. Then, for each type of classification problem, we will apply several Activation & Loss functions and observe their effects on performance.

We will experiment with all the concepts by designing and evaluating a deep learning model by using Transfer Learning on horses and humans datasets. In the end, we will summarize the experiment results.

You can access the code at Colab and all the posts of the classification tutorial series at muratkarakaya.netYou can watch all these parts on YouTube in ENGLISH or TURKISH as well.

If you would like to follow up on Deep Learning tutorials, please subscribe to my YouTube Channel or follow my blog on muratkarakaya.net.  Do not forget to turn on notifications so that you will be notified when new parts are uploaded.

If you are ready, let’s get started!



Photo by Mitya Ivanov on Unsplash


Tuesday, November 8, 2022

How to solve Classification Problems in Deep Learning with Tensorflow & Keras?

 

How to solve Classification Problems in Deep Learning with Tensorflow & Keras?

Today, we will focus on how to solve Classification Problems in Deep Learning with Tensorflow & Keras.

When we design a model in Deep Neural Networks, we need to know how to select proper label encodingActivation, and Loss functions, along with accuracy metrics according to the classification task at hand.

Thus, in this tutorial, we will first investigate the types of Classification Problems. Then, we will see the most frequently used label encodings in Keras. We will learn how to select Activation & Loss functions according to the given classification type and label encoding. Moreover, we will examine the details of accuracy metrics in TensorFlow / Keras.

At the end of the tutorial, I hope that we will have a good understanding of these concepts and their implementation in Keras.

Contents:

  • types of Classification Problems,
  • possible label encodings,
  • Activation & Loss functions,
  • accuracy metrics

Furthermore, we will also discuss how the target encoding can affect the selection of Activation & Loss functions.

If you would like to learn more about Deep Learning with practical coding examples, please subscribe to my YouTube Channel or follow my blog on Blogger. Do not forget to turn on Notifications so that you will be notified when new parts are uploaded.

You can access this Colab Notebook using the link given in the video description below.

If you are ready, let’s get started!



Photo by Deon Black on Unsplash