Professional Documents
Culture Documents
01 Machine Learning Fundamentals
01 Machine Learning Fundamentals
Fundamentals of Machine
Learning
Part 1
MACHINE LEARNING
DEEP LEARNING
DEEP LEARNING
Machine Learning
ARTIFICIAL
INTELLIGENCE
MACHINE LEARNING
DEEP LEARNING
DEEP LEARNING
BIG DATA
Machine Learning
●
The past ten years have seen an increasing number of applications
of Artificial Intelligence in general
●
These developments can be ascribed to the rise of Deep Learning as
well as the emergence of other technologies that support it.
●
Cloud Computing and Big Data have also played an important role.
●
Machine Learning in general will continue to see further
developments in the following years.
Machine Learning
●
Are you familiar with any of these technologies?
●
Can you name them?
Machine Learning
●
All of the applications we
mentioned have something in
common.
●
They all require data to be
successful at performing some
operation.
●
This is the very principle of Machine
Learning. Data is fed into our
model, and it is expected to
produce a prediction in return.
Datasets, features, and predictions
FEATURES RESPONSE
CLUSTERING
DIMENSIONALITY REDUCTION
Training, validation, and testing
When we are working on predictive analysis of data, it is a good
practice to divide our dataset into three parts.
It is used to train the model. In It is used to measure the It is used to report the final
strict terms. We use the training predictive performance of the performance of the model. The
set to adjust the parameters of model. We use the validation set information elicited here will be
the model to adjust the hyperparameters used to report performance on a
of the model. paper, or as a benchmark in a
Kaggle competition.
Bias and variance tradeoff
Model predictive performance is measured by using the
validation set. Sometimes we also call this process “cross-
validation” because it requires the use of special techniques that
ensure stability of the performance measures.
●
We say a model has a high bias (nothing to do with the bias of
linear models) when it does not fit the training data well.
●
We say a model has a high variance when it is overfitting the
training data.
●
Let’s illustrate this concept graphically for better understanding.
Bias and variance tradeoff
Before we move on...
●
At this point, we have covered the basics of Machine Learning in
a rather intuitive, informal fashion.
●
The next thing we are going to cover is linear models, which will
involve a good deal of mathematical notation.
●
So before we continue, we will now talk about derivatives, the
main intuitions behind extrema and other topics.
Derivatives
●
Training a Machine Learning model is all about maximizing or
minimizing and objective function.
●
This process involves calculating derivatives.
●
Let’s delve deeper into the intuitions behind differentiation and
its relevance to ML optimization in general.
Derivatives
●
In very simple terms, a derivative is the slope of the tangent line
evaluated on a point (x, y)
●
That’s how we can infer the fundamental equation for derivatives
which is:
Question
Example:
Exercise
Find the derivatives of
●
For more info on how to create these nice plots, go to the Wolfram
Alpha website