{"id":7839,"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":6120,"url":"https://i.ytimg.com/vi/AeRwohPuUHQ/hqdefault.jpg","description":null,"alt":null},"views":301,"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/7839/lecture-22-gradient-descent-downhill-to-a-minimum?playlist=7815","url_slug":"lecture-22-gradient-descent-downhill-to-a-minimum","resource_type":"video","video":{"id":1390,"caption_urls":[],"streaming_url":null,"cover_image_url":null,"duration":"PT52M44S"},"playlists":[7815],"content_files":[{"id":24579247,"run_id":2961,"direct_learning_resource_id":7839,"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-22-gradient-descent-downhill-to-a-minimum/","uid":null,"title":"Lecture 22: Gradient Descent: Downhill to a Minimum","description":"<strong>Description</strong>\n<p>Gradient descent is the most common optimization algorithm in deep learning and machine learning. It only takes into account the first derivative when performing updates on parameters—the stepwise process that moves downhill to reach a local minimum.</p>\n<strong>Summary</strong>\n<p>Gradient descent: Downhill from \\(x\\) to new \\(X = x - s (\\partial F / \\partial x)\\)<br>\nExcellent example: \\(F(x,y) = \\frac{1}{2} (x^2 + by^2)\\)<br>\nIf \\(b\\) is small we take a zig-zag path toward (0, 0).<br>\nEach step multiplies by \\((b - 1)/(b + 1)\\)<br>\nRemarkable function: logarithm of determinant of \\(X\\)</p>\n<p>Related section in textbook: VI.4</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-22-gradient-descent-downhill-to-a-minimum/","content_feature_type":["Lecture Videos"],"content_type":"video","content_title":"Lecture 22: Gradient Descent: Downhill to a Minimum","content_author":null,"content_language":null,"checksum":"616ada7ebce32ddca871180b17342262","image_src":"https://i.ytimg.com/vi/AeRwohPuUHQ/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":"AeRwohPuUHQ"}],"description":"<strong>Description</strong>\n<p>Gradient descent is the most common optimization algorithm in deep learning and machine learning. It only takes into account the first derivative when performing updates on parameters—the stepwise process that moves downhill to reach a local minimum.</p>\n<strong>Summary</strong>\n<p>Gradient descent: Downhill from \\(x\\) to new \\(X = x - s (\\partial F / \\partial x)\\)<br>\nExcellent example: \\(F(x,y) = \\frac{1}{2} (x^2 + by^2)\\)<br>\nIf \\(b\\) is small we take a zig-zag path toward (0, 0).<br>\nEach step multiplies by \\((b - 1)/(b + 1)\\)<br>\nRemarkable function: logarithm of determinant of \\(X\\)</p>\n<p>Related section in textbook: VI.4</p>\n<p><strong>Instructor:</strong> Prof. Gilbert Strang</p>\n","created_on":"2024-03-13T13:00:36.551854Z","readable_id":"AeRwohPuUHQ","title":"Lecture 22: Gradient Descent: Downhill to a Minimum","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\nGradient descent is the most common optimization algorithm in deep learning and machine learning. It only takes into account the first derivative when performing updates on parameters - the stepwise process that moves downhill to reach a local minimum.\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:28:26Z","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-22-gradient-descent-downhill-to-a-minimum/","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}