Skip to main content

Deep Learning by Ian GoodFellow, Yoshua Bengio and Aaron courville Review


History:

I have been reading deep learning topics from a number of resources like machine learning mastery by Jason Brawlee, Analyticsvidhya, and other blog resources. But the problem has stayed, the problem of inconsistency in the knowledge. Therefore, I have decided to now sit down, and go through a deep learning book thoroughly. And what better name for deep learning other than Ian Goodfellow! So I have found this book named Deep Learning by Ian Goodfellow.

Introduction:

Plan for this post is reviewing and rewriting the topics from the book, in simpler language and for sharing the pieces of knowledge with my readers. I will update this post continuously as I proceed with the reading also. So ideally this post is broadly about basic to advanced deep learning material discussion.

 

Different parts of the book and purpose of them:

This book has three parts,which talks about
(1) applied mathematics and machine learning basics
(2) deep learning theories and practices
(3) deep learning researches

Now for getting a rock solid establishment on deep learning concepts and fundamentals, I am going through this book almost line by line; and so should you if you want to get the real essence of this book.

Applied mathematics and machine learning basics:

This part consists the first 5 chapters. If you are even on your 2nd year of engineering  or whatever tech course you are in, this part should be a good education for you. For people who have passed bachelors/masters years before; and want to revise the concepts for fine tuning their learning to the point, can scheme through this first part. Having said that, there are a lot of good discussions on different algorithms, how they come to play and also theoretical understanding in this part; which is unseen in many such machine learning courses, books and even core subject books.

Therefore my suggestion will be to read the first part of the book fast but thoroughly regardless of your maths/ml basics standpoint. This is also a easy primer part for understanding and familiarizing with the writing pattern of the authors.

Mainly, the first chapter concerning linear algebra starts merely with vector spaces and matrices definition, but quickly picks up the pace and discusses the linear algebra we several times get concerned with in deep learning; which are matrix factorization and data compression related theories. 

The book discusses well on eigen values, PCA, SVD and other topics. But in my opinion, for understanding all types of deep learning algorithms, these are sufficient but not exhaustive.  You should definitely do a course on linear algebra or you can watch the lecture videos on MIT linear algebra course by gilbert strang. This will give you conceptual and visual idea about matrices which is often necessary to imagine different ml and specially deep learning theories.

Now, after first chapter, the authors talk about the probability and information theory concepts needed. Starting from defining random variable, explaining different basics like independence, dependence of variables, conditional, marginal and different calculations; properties of variables like expectation, variance, covariance and other things are very finely approached upto a certain mathematical rigour which you will only find in text books in such subjects. 

Authors even venture into explaining into measure theory and its impact on probability theory. For basic level of deep learning and machine learning such rigorous treatment may not be needed; neither beginners in college may be able to understand. So if you are having problems understanding parts here; you may skip and revert back later when some issue arises in the middle portion of the book because of lack of understanding for these concepts. While this is tough, being a math major, I thoroughly enjoyed such rigor and simple explanations withstanding that rigor and would like to thank the authors for that.

The third chapter is actually very relevant and much more important than the previous two chapters; as it focuses on the numerical computations we use in deep learning and big data related machine learning problems. This chapter motivates, discusses and improves one's understanding about different optimization problems, along with properly discussing the star algorithms like stochastic gradient and constrained gradient optimization methods.

Still being a basics chapter, this chapter actually doesn't go that much into the recent optimization techniques, including bayesian optimization related algorithms and other alternatives of gradient descent family. For some of the advanced algorithms, you will need such optimizations and that you will have to read from other resources. 

The final chapter (chapter 5) in the basics part is machine learning basics. I have been working on machine learning for about 1.5 years now; and I found some of the descriptions really informative and beautifully explained. In this chapter, what reader will find most interesting is the view of machine learning algorithms. Author treat hyperparameter, cost function and solution algorithm as different parts of the whole model; making model sound like a pipeline.

This view not only facilitate understanding of different complex models, also facilitate creation of different hybrid and new machine learning models. This chapter is specially recommended for people not experienced in machine learning previous to this book; and also is a good read for people who has begun in machine learning for just several years.

The last section properly motivates why and for which problems we need to use the deep learning algorithms. A mathematical motivation is also provided for the same.

Here ends the journey of the basics and ordinary; from here on my friend we enter the realm of deep learning.

Part 2: the deep learning fundamental:

I am reading up on it. Stay tuned for further updates.

Comments

Popular posts from this blog

20 Must-Know Math Puzzles for Data Science Interviews: Test Your Problem-Solving Skills

Introduction:   When preparing for a data science interview, brushing up on your coding and statistical knowledge is crucial—but math puzzles also play a significant role. Many interviewers use puzzles to assess how candidates approach complex problems, test their logical reasoning, and gauge their problem-solving efficiency. These puzzles are often designed to test not only your knowledge of math but also your ability to think critically and creatively. Here, we've compiled 20 challenging yet exciting math puzzles to help you prepare for data science interviews. We’ll walk you through each puzzle, followed by an explanation of the solution. 1. The Missing Dollar Puzzle Puzzle: Three friends check into a hotel room that costs $30. They each contribute $10. Later, the hotel realizes there was an error and the room actually costs $25. The hotel gives $5 back to the bellboy to return to the friends, but the bellboy, being dishonest, pockets $2 and gives $1 back to each friend. No...

GAM model : PyGAM package details Analysis and possible issue resolving

Introduction:                  picture credit to peter laurinec. I have been studying about PyGAM package for last couple of days. Now, I am planning to thoroughly analyze the code of PyGAM package with necessary description of GAM model and sources whenever necessary. This is going to be a long post and very much technical in nature. Pre-requisites: For understanding the coding part of PyGAM package, first you have to learn what is a GAM model. GAM stands for generalized additive model, i.e. it is a type of statistical modeling where a target variable Y is roughly represented by additive combination of set of different functions. In formula it can be written as: g(E[Y]) = f 1 (x 1 ) + f 2 (x 2 ) + f 3 (x 3 ,x 4 )+...etc where g is called a link function and f are different types of functions. In technical terms, in GAM model, theoretically expectation of the link transformed target variable is assume...

Pyarabic: python package for Arabic language

 Introduction:  In languages which are non-english and non-european as well, NLP work has progressed slowly in the last few decades because of the lesser number of scholars working on them as well as a lack of global interest in them. But now the time has changed and people from all over the world are collaborating on these lesser explored libraries and they are building resources for working on these languages with the same ease with that of english.  Pyarabic is a package created from such a similar effort which deals with the intricate details of the arabic language and helps processing all kinds of arabic texts. While trying to learn it, being from a non-arab background, I couldn't read lots of parts of the main readthedocs site and had to work my around it. So in this blog post, I will summarize my learnings in english language, so that you can learn it and use the package with much more ease than me. [Credit where credit is due: this article heavily uses the ac...