[Big Data] Week4B (Basic)

Question 1

Note: In this question, all columns will be written in their transposed form, as rows, to make the typography simpler. Matrix M has three rows and two columns, and the columns form an orthonormal basis. One of the columns is [2/7,3/7,6/7]. There are many options for the second column [x,y,z]. Write down those constraints on x, y, and z. Then, identi fy in the list below the one column that could be [x,y,z]. All components are computed to three decimal places, so the constraints may be satisfied only to a close approximation.
 
Your Answer ScoreExplanation
[.485, -.485, .728]      
[.702, -.702, .117] Correct 1.00  
[-.702, .117, .702]      
[-.548, .401, .273]      
Total   1.00 / 1.00

Answer:

1. x^2+y^2+z^2 = 1

2. 2x/7+3y/7+6z/7 = 0

 

Question 2

Note: In this question, all columns will be written in their transposed form, as rows, to make the typography simpler. Matrix M has three rows and three columns, and the columns form an orthonormal basis. One of the columns is [2/7,3/7,6/7], and another is [6/7, 2/7, -3/7]. Let the third column be [x,y,z]. Since the length of the vector [x,y,z] must be 1, there is a constraint that x2+y2+z2 = 1. However, there are other constraints, and these other constraints can be used to deduce facts about the ratios among x, y, and z. Compute these ratios, and then identify one of them in the list below.
 
Your Answer ScoreExplanation
y = -3z Correct 1.00  
y = 3z      
z = -3y      
z = 3y      
Total  

1.00 / 1.00

 

Answer: 

2x+3y+6z = 0

6x+2y-3z = 0

The 3th col would be something like [-3 6 -2]

 

Question 3

Suppose we have three points in a two dimensional space: (1,1), (2,2), and (3,4). We want to perform PCA on these points, so we construct a 2-by-2 matrix whose eigenvectors are the directions that best represent these three points. Construct this matrix and identify, in the list below, one of its elements.

 

Your Answer ScoreExplanation
19      
12      
17 Correct 1.00  
22      
Total   1.00 / 1.00

 

 

Question 4

Find, in the list below, the vector that is orthogonal to the vector [1,2,3]. Note: the interesting concept regarding eigenvectors is "orthonormal," that is unit vectors that are orthogonal. However, this question avoids using unit vectors to make the calculations simpler.
 
Your Answer ScoreExplanation
[-1, -1, 1] Correct 1.00  
[0, 2, -1]      
[-1, 1, -1]      
[1, 1/2, 1/3]      
Total   1.00 / 1.00

Answer:

orthogonal : [1 2 3] * [-1 -1 1]^(-1) = [-1 -2 3];

-1-2+3 = 0

posted @   Zhentiw  阅读(958)  评论(0编辑  收藏  举报
(评论功能已被禁用)
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
点击右上角即可分享
微信分享提示