Machine Learning 1 Linear Algebra Review quiz

来源:互联网 发布:索尼网络签约经销商 编辑:程序博客网 时间:2024/04/23 20:27

 

恭喜!您通过了!

正确

1 / 1 分

1。

Let two matrices be

A=[4639],B=[−2−592]

What is A - B?

[21−67]

[611−1211]

[611−67]

正确 

To subtract B from A, carry out the subtraction element-wise.

[411211]

正确

1 / 1 分

2。

Let x=⎡⎣⎢⎢2741⎤⎦⎥⎥

What is 3∗x?

[621123]

[23734313]

⎡⎣⎢⎢⎢⎢⎢⎢23734313⎤⎦⎥⎥⎥⎥⎥⎥

⎡⎣⎢⎢621123⎤⎦⎥⎥

正确 

To multiply the vector x by 3, take each element of x and multiply that element by 3.

正确

1 / 1 分

3。

Let u be a 3-dimensional vector, where specifically

u=⎡⎣814⎤⎦

What is uT?

⎡⎣418⎤⎦

[814]

正确 

[418]

⎡⎣814⎤⎦

正确

1 / 1 分

4。

Let u and v be 3-dimensional vectors, where specifically

u=⎡⎣−343⎤⎦

and

v=⎡⎣315⎤⎦

What is uTv?

(Hint: uT is a

1x3 dimensional matrix, and v can also be seen as a 3x1

matrix. The answer you want can be obtained by taking

the matrix product of uT and v.) Do not add brackets to your answer.

正确回答 

正确

1 / 1 分

5。

Let A and B be 3x3 (square) matrices. Which of the following

must necessarily hold true? Check all that apply.

ABA=BAB

未选择的是正确的 

If A is the 3x3 identity matrix, then AB=BA

正确 

Even though matrix multiplication is not commutative in general (ABBA for general matrices A,B), for the special case where A=I, we have AB=IB=B, and also BA=BI=B. So, AB=BA.

AB=BA

未选择的是正确的 

A+B=B+A

正确 

We add matrices element-wise. So, this must be true.

阅读全文
0 0