https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Creating_3D_objects_using_WebGL
https://catonif.github.io/cube/
http://www.moj.go.jp/isa/consultation/report/index.html
2021/04/30
webgl cube
2017/09/13
2017/09/11
Learn weights from data matrix X and label vector y.
Learn weights from data matrix X and label vector y.
actual: y = (0.1, 0.2, 0.1, 0.3) x + 0~0.3
result:
actual: y = (0.1, 0.2, 0.1, 0.3) x + 0~0.3
result:
2017/09/10
Learn weights from data matrix X and label vector y
Learn weights from data matrix X and label vector y.
actual: y = 0.2 * x0 + 0.3 + x1 + 0~0.5
result:
2017/09/09
Learn a weight and a bias from data vector x and label vector y
Learn a weight from data vector x and label vector y.
y = w * x + b
2016/12/19
Ordinary least squares
Roughly calculation of ordinary least squares of multiple linear regression.
y = X b + e
is a multiple linear regression where
y is a dependent vector,
X is an explanatory matrix and
e is an error vector.
e = y - X b
Multiply both sides with a transposed variable of then self.
eT e
= (y - X b)T (y - X b)
= yT y - 2 bT XT y + bT XT X b
Differentiate by b.
Since the right hand side of previous equation is a squared expression with b,
the differentiation of minimal value of it is 0.
d(eT e) / db = - 2 XT y + 2 XT X b = 0
b = (XT X)^-1 XT y
References:
https://en.wikipedia.org/wiki/Ordinary_least_squares
https://en.wikipedia.org/wiki/Proofs_involving_ordinary_least_squares#Least_squares_estimator_for_.CE.B2
y = X b + e
is a multiple linear regression where
y is a dependent vector,
X is an explanatory matrix and
e is an error vector.
e = y - X b
Multiply both sides with a transposed variable of then self.
eT e
= (y - X b)T (y - X b)
= yT y - 2 bT XT y + bT XT X b
Differentiate by b.
Since the right hand side of previous equation is a squared expression with b,
the differentiation of minimal value of it is 0.
d(eT e) / db = - 2 XT y + 2 XT X b = 0
b = (XT X)^-1 XT y
References:
https://en.wikipedia.org/wiki/Ordinary_least_squares
https://en.wikipedia.org/wiki/Proofs_involving_ordinary_least_squares#Least_squares_estimator_for_.CE.B2
Subscribe to:
Posts (Atom)