A few key points…
Last Updated on July 20, 2023 by Editorial Team
Author(s): Lawrence Alaso Krukrubo
Originally published on Towards AI.
Using matrix algebra…
Hello World, ever wondered how your favourite Machine Learning algorithms actually work? Let’s see how a Multiple Linear Regression(MLR) model computes the ideal parameters, given the features matrix (X) and target variable(y), using Linear Algebra.
X is an (m * n feature matrix) and y is an(m* 1 column vector)
Where:
m is the number of observations or rows in the data set
n is the number of attributes or variables selected for the prediction
X is the m * n feature matrix of independent variables
y is the target or dependent variable
I assume you know the basics of linear regression and can walk through the… Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI