[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-160248-en":3,"doc-seo-160248-105":30,"detail-sidebar-cat-0-en-105":90},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},160248,687207024643,"Rhys","https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2",4,"Exam","EECS 16B Spring 2019 - UC Berkeley Final Exam","UC Berkeley EECS 16B Spring 2019 final exam materials cover pre-exam procedures and a set of open questions followed by detailed problem-solving on principal component analysis. The PCA task models microphone recordings as column vectors, requiring identification of the first principal component using geometry and a singular value decomposition approach. It emphasizes rank-1 structure, normalization, zero-mean assumptions, and the correct selection of singular vectors consistent with column-wise data projection.","| EECS 16B Spring 2019 | Designing Information Devices and Systems II\u003Cbr>UC Berkeley Final Exam |\n| --- | --- |\n\nExam location: GPB 100  \nPRINT your student ID:    \nPRINT AND SIGN your name:   ,    \n(ﬁrst and last) (signature)  \nPRINT your discussion section and GSI(s) (the one(s) you attend):    \nRow Number (front row is 1):   Seat Number (left most is 1):    \nName and SID of the person to your left:    \nName and SID of the person to your right:    \nName and SID of the person in front of you:   Name and SID of the person behind you:   Section 0: Pre-exam questions (3 points)  \n1. What has been your favorite course at UC Berkeley so far? (1 pt)  \n2. What would you do on your perfect vacation? Describe how you would feel. (2 pts)  \nDo not turn this page until the proctor tells you to do so. You can work on Section 0 above before time starts.  \nFinal Exam ©UCBEECS 16B, Spring 2019 . All Rights Reserved. This may not be publicly shared without explicit permission. 1  \nPRINT your name and student ID:  [Extra page. If you want the work on this page to be graded, make sure you tell us on the problem's main  \npage.]  \nFinal Exam ©UCBEECS 16B, Spring 2019 . All Rights Reserved. This may not be publicly shared without explicit permission. 2  \nPRINT your name and student ID:    \n3. PCA (14 pts)  \nIn this problem, we are going to think of our data points as being given in columns. You can imagine that the data points are recordings from a microphone. We take many such recordings. Our goal is to identify the principal components so that we could, in the future, project fresh recordings from the microphone onto those principal components to help us better understand what was being said.  \n(a) (2 pts) Suppose for this part, that you have four observed data vectors (say corresponding to the same spoken word, being repeated four times) and all of them just happened to be multiples ofthe following  \n2 3 3  \n6 􀀀4 7  \n6-dimensional vector  = 6 5 7 : (For your convenience, note that kk = 10.)  \n6 4 7  \n4􀀀3 5  \nYou arrange the data vectors as the columns of a matrix A given by:  \n2  ~  ~ ~  ~3  \nA = 6 􀀀v 􀀀2v v 2v 7 (1)  \n4     5  \nYou want to perform PCA to better understand your data. Find the ﬁrst principal component vector of A to explain the nature of your data points.  \n(HINT: You don't need to compute any covariance matrices or compute any eigenvalue/eigenvectorsin this simple case. Also, be sure to think about what size vector you want as the answer. Don't forget to normalize!)  \nSolution:  \nPrincipal component analysis is in general about understanding how best to approximate our (potentially) high-dimensional data (like recordings from a microphone) with its lower-dimensional essence.  \nThe ﬁrst principal component is about seeing which one-dimensional line best approximates the data points—i.e. which is the line for which projecting the data points onto it results in “estimates” that are as close as possible to the data points.  \nIn the case of this problem, every point is explicitly given as a multiple of a single vector  and so the data already lies on a straight line going through the origin. So, the ﬁrst principal component is just along the direction of . Because a principal component represents a direction, it is conventional to normalize the vector to have unit length. In this case, we are told that the vector  has length 10, and so the answer is ~~1~~ .  \n(Because the line is all that matters, you could also have used the negative of this 􀀀 ~~1~~.)  \nA more methodical way to do PCA is to invoke the SVD. First, however, you need to make sure that your data is zero-mean because the SVD will only give you directions relative to the origin. In this problem, all the data is zero-mean by construction.  \nThe singular value decomposition of a matrix A is a way of decomposing A into a sum of rank 1 matrices. In this sum the ith rank 1 matrix is formed from taking the outer product of normalized column vectors i and normalized row vectors ","cbCaiv8sgwBUuLOQ","https://ap.wps.com/l/cbCaiv8sgwBUuLOQ","pdf",300764,1,33,"English","en",105,"# Section 0: Pre-exam questions\n## Question 1\n## Question 2\n# PCA problem\n## Part (a)\n## Part (b)","[{\"question\":\"What is the purpose of Section 0 in this exam?\",\"answer\":\"Section 0 includes pre-exam questions that students answer before starting the main timed work. The document specifies points for each question and allows work on Section 0 before time starts.\"},{\"question\":\"How does the PCA problem define the data points?\",\"answer\":\"Data points are given as column vectors, interpreted as microphone recordings repeated for a spoken word. The goal is to find principal components so future recordings can be projected onto those directions.\"},{\"question\":\"Why must the data be zero-mean before applying SVD for PCA?\",\"answer\":\"The solution explains that SVD yields directions relative to the origin, so centering is needed. In this problem, the data is constructed to be zero-mean by design.\"}]","EECS 16B Spring 2019 - UC Berkeley Final Exam | PDF",1788052744,83,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":85,"head_meta":87,"extra_data":89,"updated_unix":28},"eecs-16b-spring-2019-uc-berkeley-final-exam","",{"@graph":36,"@context":84},[37,53,67],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/exam/",3,{"item":52,"name":13,"@type":43,"position":11},"https://docshare.wps.com/document/eecs-16b-spring-2019-uc-berkeley-final-exam/160248/",{"url":52,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":61,"encodingFormat":60,"isAccessibleForFree":62,"interactionStatistic":63},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":41,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-08-30",true,{"@type":64,"interactionType":65,"userInteractionCount":4},"InteractionCounter",{"@type":66},"ViewAction",{"@type":68,"mainEntity":69},"FAQPage",[70,76,80],{"name":71,"@type":72,"acceptedAnswer":73},"What is the purpose of Section 0 in this exam?","Question",{"text":74,"@type":75},"Section 0 includes pre-exam questions that students answer before starting the main timed work. The document specifies points for each question and allows work on Section 0 before time starts.","Answer",{"name":77,"@type":72,"acceptedAnswer":78},"How does the PCA problem define the data points?",{"text":79,"@type":75},"Data points are given as column vectors, interpreted as microphone recordings repeated for a spoken word. The goal is to find principal components so future recordings can be projected onto those directions.",{"name":81,"@type":72,"acceptedAnswer":82},"Why must the data be zero-mean before applying SVD for PCA?",{"text":83,"@type":75},"The solution explains that SVD yields directions relative to the origin, so centering is needed. In this problem, the data is constructed to be zero-mean by design.","https://schema.org",{"og:url":52,"og:type":86,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":88,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":91},[92,96,100,103,108,113,118,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":93,"show_sort_weight":94,"slug":95},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":97,"show_sort_weight":98,"slug":99},"Literature",80,"literature",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":101,"slug":102},70,"exam",{"id":104,"doc_module":4,"doc_module_name":46,"category_name":105,"show_sort_weight":106,"slug":107},5,"Comic",60,"comic",{"id":109,"doc_module":4,"doc_module_name":46,"category_name":110,"show_sort_weight":111,"slug":112},6,"Technology",50,"technology",{"id":114,"doc_module":4,"doc_module_name":46,"category_name":115,"show_sort_weight":116,"slug":117},7,"Healthcare",40,"healthcare",{"id":119,"doc_module":4,"doc_module_name":46,"category_name":120,"show_sort_weight":121,"slug":122},8,"Research & Report",30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":104,"slug":138},19,"General","general"]