Regression 11 - Linear Regression with Pseudo-inverse Matrix - Solved Example

 Numeric Example

A hypothetical dataset about how online gaming habits affects marks involving children in the age group of 10-15 is tabulated. The first feature is the number of hours in a day spent in gaming. The second feature gives the average marks of the students who spend so many hours in gaming.


Problem Statement

Find the regression coefficients w0 and w1 in the linear regression model using Least Squares Approach:

y = w0+ w1*x


Comments

Popular posts from this blog

ANN Series - 10 - Backpropagation of Errors

Naive Bayesian Classifiers - Multinomial, Bernoulli and Gaussian with Solved Examples and Laplace Smoothing

Clustering - K means Clustering