{"id":7826,"topics":[{"id":752,"name":"Electrical Engineering","icon":"RiRobot2Line","parent":747,"channel_url":"https://learn.mit.edu/c/topic/electrical-engineering"},{"id":747,"name":"Engineering","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/engineering"},{"id":737,"name":"Mathematics","icon":"RiTestTubeLine","parent":731,"channel_url":"https://learn.mit.edu/c/topic/mathematics"},{"id":731,"name":"Science & Math","icon":"RiTestTubeLine","parent":null,"channel_url":"https://learn.mit.edu/c/topic/science-math"}],"position":null,"offered_by":{"code":"ocw","name":"MIT OpenCourseWare","channel_url":"https://learn.mit.edu/c/unit/ocw","display_facet":true},"platform":{"code":"ocw","name":"MIT OpenCourseWare"},"course_feature":[],"departments":[],"certification":false,"certification_type":{"code":"none","name":"No Certificate"},"prices":[],"resource_prices":[],"runs":[],"image":{"id":6107,"url":"https://i.ytimg.com/vi/ZUU57Q3CFOU/hqdefault.jpg","description":null,"alt":null},"views":817,"delivery":[{"code":"online","name":"Online"}],"free":true,"resource_type_group":"learning_material","format":[{"code":"asynchronous","name":"Asynchronous"}],"pace":[{"code":"self_paced","name":"Self-paced"}],"children":[],"best_run_id":null,"learn_url":"https://learn.mit.edu/video/7826/lecture-9-four-ways-to-solve-least-squares-problems?playlist=7815","url_slug":"lecture-9-four-ways-to-solve-least-squares-problems","resource_type":"video","video":{"id":1377,"caption_urls":[],"streaming_url":null,"cover_image_url":null,"duration":"PT49M51S"},"playlists":[7815],"content_files":[{"id":24580401,"run_id":2961,"direct_learning_resource_id":7826,"run_title":"Matrix Methods in Data Analysis, Signal Processing, and Machine Learning","run_slug":"courses/18-065-matrix-methods-in-data-analysis-signal-processing-and-machine-learning-spring-2018","departments":[{"department_id":"18","name":"Mathematics","channel_url":"https://learn.mit.edu/c/department/mathematics","school":{"id":5,"name":"School of Science","url":"https://science.mit.edu/"}}],"semester":"Spring","year":2018,"topics":[{"id":752,"name":"Electrical Engineering","icon":"RiRobot2Line","parent":747,"channel_url":"https://learn.mit.edu/c/topic/electrical-engineering"},{"id":747,"name":"Engineering","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/engineering"},{"id":737,"name":"Mathematics","icon":"RiTestTubeLine","parent":731,"channel_url":"https://learn.mit.edu/c/topic/mathematics"},{"id":731,"name":"Science & Math","icon":"RiTestTubeLine","parent":null,"channel_url":"https://learn.mit.edu/c/topic/science-math"}],"key":"courses/18-065-matrix-methods-in-data-analysis-signal-processing-and-machine-learning-spring-2018/resources/lecture-9-four-ways-to-solve-least-squares-problems/","uid":null,"title":"Lecture 9: Four Ways to Solve Least Squares Problems","description":"Description\n<p>In this lecture, Professor Strang details the four ways to solve least-squares problems. Solving least-squares problems comes in to play in the many applications that rely on data fitting.</p>\nSummary\n<ol>\n<li>Solve \\(A^{\\mathtt{T}} Ax = A^{\\mathtt{T}}b\\) to minimize \\(\\Vert Ax - b \\Vert^2\\)</li>\n<li>Gram-Schmidt \\(A = QR\\) leads to \\(x = R^{-1} Q^{\\mathtt{T}}b\\).</li>\n<li>The pseudoinverse directly multiplies \\(b\\) to give \\(x\\).</li>\n<li>The best \\(x\\) is the limit of \\((A^{\\mathtt{T}}A + \\delta I)^{-1} A^{\\mathtt{T}}b\\) as \\(\\delta \\rightarrow 0\\).</li>\n</ol>\n<p>Related section in textbook: II.2</p>\n<p><strong>Instructor:</strong> Prof. Gilbert Strang</p>\n","require_summaries":false,"url":"https://ocw.mit.edu/courses/18-065-matrix-methods-in-data-analysis-signal-processing-and-machine-learning-spring-2018/resources/lecture-9-four-ways-to-solve-least-squares-problems/","content_feature_type":["Lecture Videos"],"content_type":"video","content_title":"Lecture 9: Four Ways to Solve Least Squares Problems","content_author":null,"content_language":null,"checksum":"1e8631c9bd97d8fb5d169075ed2717fd","image_src":"https://i.ytimg.com/vi/ZUU57Q3CFOU/hqdefault.jpg","resource_id":"4321","resource_readable_id":"18.065+spring_2018","source_path":null,"course_number":["18.065","18.0651"],"file_type":null,"file_extension":".mp4","offered_by":{"code":"ocw","name":"MIT OpenCourseWare","channel_url":"https://learn.mit.edu/c/unit/ocw","display_facet":true},"platform":{"code":"ocw","name":"MIT OpenCourseWare"},"run_readable_id":"1eeeae2bb55456de8d338d16616673a3","edx_module_id":null,"youtube_id":"ZUU57Q3CFOU"}],"description":"Description\n<p>In this lecture, Professor Strang details the four ways to solve least-squares problems. Solving least-squares problems comes in to play in the many applications that rely on data fitting.</p>\nSummary\n<ol>\n<li>Solve \\(A^{\\mathtt{T}} Ax = A^{\\mathtt{T}}b\\) to minimize \\(\\Vert Ax - b \\Vert^2\\)</li>\n<li>Gram-Schmidt \\(A = QR\\) leads to \\(x = R^{-1} Q^{\\mathtt{T}}b\\).</li>\n<li>The pseudoinverse directly multiplies \\(b\\) to give \\(x\\).</li>\n<li>The best \\(x\\) is the limit of \\((A^{\\mathtt{T}}A + \\delta I)^{-1} A^{\\mathtt{T}}b\\) as \\(\\delta \\rightarrow 0\\).</li>\n</ol>\n<p>Related section in textbook: II.2</p>\n<p><strong>Instructor:</strong> Prof. Gilbert Strang</p>\n","created_on":"2024-03-13T13:00:35.237371Z","readable_id":"ZUU57Q3CFOU","title":"Lecture 9: Four Ways to Solve Least Squares Problems","full_description":"MIT 18.065 Matrix Methods in Data Analysis, Signal Processing, and Machine Learning, Spring 2018\nInstructor: Gilbert Strang\nView the complete course: https://ocw.mit.edu/18-065S18\nYouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP63oMNUHXqIUcrkS2PivhN3k\n\nIn this lecture, Professor Strang details the four ways to solve least-squares problems. Solving least-squares problems comes in to play in the many applications that rely on data fitting.\n\nLicense: Creative Commons BY-NC-SA\nMore information at https://ocw.mit.edu/terms\nMore courses at https://ocw.mit.edu","last_modified":"2019-05-16T16:19:17Z","published":true,"languages":null,"url":"https://ocw.mit.edu/courses/18-065-matrix-methods-in-data-analysis-signal-processing-and-machine-learning-spring-2018/resources/lecture-9-four-ways-to-solve-least-squares-problems/","resource_category":"Lecture Video","ocw_topics":[],"professional":false,"next_start_date":null,"availability":"anytime","completeness":1.0,"license_cc":true,"test_mode":false,"continuing_ed_credits":null,"location":"","duration":"","min_weeks":null,"max_weeks":null,"time_commitment":"","min_weekly_hours":null,"max_weekly_hours":null,"require_summaries":false}