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: