Linear Regression
Explore the fundamentals of linear regression, focusing on function approximation using least squares. Understand how to estimate parameters of linear models to fit data points and apply this knowledge using Python for practical data science problems.
Function approximation
Approximating a function means estimating the values of its parameters. Consider the SSE function we discussed in the previous lesson.
Approximating SSE means estimating the vector, , that nearly satisfies the linear system, also called the linear least squared error solution.
Formal definition
Consider a data set, , where each entry is a pair, and , of objects (scalars, vectors, matrices, and so on). Function approximation seeks a function, , such that:
Example
Let . The function ...