Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
multilinear regression
Sri27119
May 19th, 2024
494
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
MatLab
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
X =
[
1
1
4
;
1
2
5
;
1
3
8
;
1
4
2
]
;
Y =
[
1
;
6
;
8
;
12
]
;
X_t = transpose
(
X
)
;
a_h =
(
inv
(
X_t * X
)
* X_t
)
* Y;
Y_h = X * a_h;
MSE =
sqrt
(
mean
(
(
Y_h-Y
)
.^
2
)
)
;
display
(
MSE
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
+12,000$ in 2 days
CSS | 47 sec ago | 0.72 KB
Documents
50 min ago | 0.43 KB
Free Crypto Method
CSS | 56 min ago | 0.72 KB
Crypto admin access
59 min ago | 0.43 KB
+12,000$ in 2 days
CSS | 60 min ago | 0.72 KB
systemd-socket-test (AI + Human)
Python | 2 hours ago | 9.34 KB
Puts to sleep and forget
10 hours ago | 0.85 KB
Silk
23 hours ago | 3.74 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!