Formalisms:

Given data corresponding to labels , find , where performs best according with the evaluation criteria.

And then we can define the Cost Function as:

where we minimize to find the model parameters .

Gradient Descent

  • initialize
  • Repeat until convergence

For linear regression:

  • Assume convergence when

What's the problem with high dimensional data?

The volume of the space increases exponentially with the number of dimensions such that the data becomes exponentially sparser (the Curse of Dimensionality).

  • Feature engineering relies on human ingenuity and expertise
  • Difficult to achieve
  • Expensive to scale and automatize

Therefore, it gets replaced by Representation Learning

To make breakthroughs and scale to various applications we want (algorithms that identify) and disentangle the underlying explanatory factors hidden in the observed milieu of low-level sensory data — See Representation Learning. It’s basically the latent space that gets learned during the unsupervised/self-supervised learning phase.

Read Contextual Word Embeddings and Transformers until the Transformers part. Understand again the backward pass and computational graph method to update the weights/bias.

At maximum one question at the exam will come from this video.