Linear prediction

  • Best fitting principle
  • Least Mean Square (LMS)
  • What if the function is not linear?

Terminology

  • : input
  • : weight
  • : bias
  • : Error or Cost function
  • : Loss function

Linear Neuron

Error or Cost function:

Given the error function it’s easy to find the best weights to solve the problem. We just have to find and such that the cost is minimized, which are given by:

Which is equal of saying:

This system often doesn’t accept a solution, but we can be satisfied by approximating the solution.


Variance

Given a random variable and its average () the variance of is defined as:

The variance is a measure on data sparsity If the variance is really high it tells us that the variable assume a many different values. While if it’s small, then the variable as almost always the same value


Cross-Correlation

Given two random variables and and their mean values (): their cross correlation is defined as:

When the cross correlation is really small, we can say that between the two random variable there is no dependency


What if the problem is Non Linear?

Let’s take for example the following problem β€˜space needed to stop a car’ :

To calculate variance and cross correlation we can assume: