Lecture 10 Flashcards

1
Q

What is an n x d matrix?

A

a table of numbers with n rows and d columns

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

How do we denote matrices?

A

using upper-case letters

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

How do we say write a matrix A that has two rows and three columns?

A

AER^2*3

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

What is another way to think of a matrix?

A

as several column vectors, stacked next to each other

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

When can we add two matrices?

A

only if they have the same dimensions

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

How does addition occur between two matrices?

A

elementwise

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

How does scalar multiplication occur?

A

elementwise

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

When can we multiply matrices A and B?

A

if and only if # of columns in A = # of rows in B

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

If A is n * d and B is d * p then what is AB?

A

n * p

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

What is the notation that shows multiplication is distributive in matrices?

A

A(B + C) = AB + AC

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

What is the notation that shows multiplication is associative in matrices?

A

(AB)C = A(BC)

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

What is the notation that shows the transpose of sum in matrices?

A

(A + B)^T = A^T + B^T

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

What is the notation that shows the transpose of product in matrices?

A

(AB)^T = B^TA^T

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

What is one way of thinking about the product Av?

A

it is the dot product of v with every row of A

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

What is another way of thinking about the product Av?

A

it is a linear combination of the columns of A, using the weights in v

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

What is the span of the columns of X?

A

consists of all vectors that can be written in the form Xw

17
Q

What is the condition that e must be orthogonal to each column of X equivalent to?

A

the condition that X^Te = 0

18
Q

What is the normal equations?

A

X^TXw = X^Ty

19
Q

What can we assume if X^TX is invertible?

A

the vector w* = (X^TX)^-1X^Ty and requires X^TX to be full rank

20
Q

What happens if X^TX is not full rank?

A

then there are infinitely many solutions to the normal equations

21
Q

What is the observation vector?

A

yER^n; vector of observed “actual values”

22
Q

What is the hypothesis vector?

A

hER^n with components H(x_i); the vector of predicted values

23
Q

What is the error vector?

A

the vector eER^n with components: e_i = y_i - H(x_i)

24
Q

What is the mean squared error of H rewritten?

A

1/n ||y - h||^2

25
Q

How do we define the design matrix?

A

XER^n*2

26
Q

How do we define the parameter vector?

A

wER^2