How to solve multivariate linear regression?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Suppose $x in R^2$, $Ain R^2X2$ and $ bin R^2$.
$haty=Ax+b$ where $haty$ is predicted output.
We have to find $A$ and $b$ in terms of $X$ and $Y$ such that squared L2 distance between $hatY$ and $Y$ is minimised. Where $X=[x_1$ $x_2$ $...$ $x_n]$, $Y=[y_1$ $y_2$ $...$ $y_n]$ and $hatY=[haty_1$ $haty_2$ $...$ $haty_n]$
linear-regression
add a comment |Â
up vote
0
down vote
favorite
Suppose $x in R^2$, $Ain R^2X2$ and $ bin R^2$.
$haty=Ax+b$ where $haty$ is predicted output.
We have to find $A$ and $b$ in terms of $X$ and $Y$ such that squared L2 distance between $hatY$ and $Y$ is minimised. Where $X=[x_1$ $x_2$ $...$ $x_n]$, $Y=[y_1$ $y_2$ $...$ $y_n]$ and $hatY=[haty_1$ $haty_2$ $...$ $haty_n]$
linear-regression
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Suppose $x in R^2$, $Ain R^2X2$ and $ bin R^2$.
$haty=Ax+b$ where $haty$ is predicted output.
We have to find $A$ and $b$ in terms of $X$ and $Y$ such that squared L2 distance between $hatY$ and $Y$ is minimised. Where $X=[x_1$ $x_2$ $...$ $x_n]$, $Y=[y_1$ $y_2$ $...$ $y_n]$ and $hatY=[haty_1$ $haty_2$ $...$ $haty_n]$
linear-regression
Suppose $x in R^2$, $Ain R^2X2$ and $ bin R^2$.
$haty=Ax+b$ where $haty$ is predicted output.
We have to find $A$ and $b$ in terms of $X$ and $Y$ such that squared L2 distance between $hatY$ and $Y$ is minimised. Where $X=[x_1$ $x_2$ $...$ $x_n]$, $Y=[y_1$ $y_2$ $...$ $y_n]$ and $hatY=[haty_1$ $haty_2$ $...$ $haty_n]$
linear-regression
linear-regression
asked Sep 5 at 8:27
sudddddd
114
114
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2906017%2fhow-to-solve-multivariate-linear-regression%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password