02 Vector and Matrix Representation* Flashcards

1
Q

linear model assumptions

A
  1. there exits a relationship between x and y
  2. this relationship is linear
  3. this relationship will continue into the future
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

variables

A

attribute: x
targets: y or t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

linear model

A

t = w0 + w1(x)
where w0 is the bias
w1 is the gradient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

loss in linear

A

mean square error
1. after drawing a straight line, calculate error from line to X
2. square the error
3. sum all errors and get mean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

limitations

A
  1. relationship is not perfectly linear
  2. relationship might not be linear forever
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

polynomial models **

A

t = w0 + w1x1 + w2x2 ….
can be represented in matrix
[w0, w1, w3] @ [1, x, xsquare, xcube]…
loss = 1/N . (t-xw)T (t-xw)
w = (xT. x)-1 . xTt

to predict new t, use updated x with old w
then update w with the new t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly