Chapter 5 Final
Chapter 5 Final
DEEP LEARNING
What is Deep Learning?
Deep learning Vs Machine Learning
Why Deep Learning getting famous?
Types of Deep Learning
History
Deep Learning
Subfield of AI and machine learning that is inspired by
structure of a human brain
Deep learning attempts to draw similar conclusion as
humans would by continually analyzing data with given
logical structure called neural network
Deep learning is a part of a broader family of machine
learning methods based on Artificial Neural Network with
representation learning
E.g.Dog/Cat Classifier
Disadvantages:
•Sensitive to outliers because the errors are squared, which can
disproportionately affect the loss
The Mean Absolute Error (MAE) Loss is another commonly used loss
function for regression. It calculates the average of the absolute
differences between the predicted values and the actual values.
where n is the number of data points, yiyiis the actual binary label
(0 or 1), and y^iy^iis the predicted probability.
Suitable for binary classification.
Categorical Cross-Entropy Loss is used for multiclass classification
problems. It measures the performance of a classification model
whose output is a probability distribution over multiple classes.
where yiyiis the actual label (-1 or 1), and y^iy^iis the predicted
value.
Chapter 5
Backpropagation algorithm with example
Hyperparameters
Backpropagation is a technique used in deep learning to train
artificial neural networks particularly feed-forward networks. It
works iteratively to adjust weights and bias to minimize the cost
function.
Grid Search
Random Access
Hyperparameter Tuning techniques
GridSearch
We fit the model using all possible combinations after creating a
grid of potential discrete hyperparameter values.
It moves within the grid in a random fashion to find the best set of
hyperparameters.