Line 3: |
Line 3: |
| | | |
| | | |
− | <u><b>The following are some useful YouTube videos:</b></u> <br> | + | <u><b>The following are some useful YouTube videos:</b></u> |
− | | |
| <html> | | <html> |
| <head> | | <head> |
Line 11: |
Line 10: |
| <body> | | <body> |
| <div id="video-container"> | | <div id="video-container"> |
− | <button onclick="loadVideo('efR1C6CvhmE')">Click to Play</button>
| |
| </div> | | </div> |
| | | |
Line 30: |
Line 28: |
| </body> | | </body> |
| </html> | | </html> |
− |
| |
− |
| |
| | | |
| === <u>Part 1</u> === | | === <u>Part 1</u> === |
Line 41: |
Line 37: |
| <body> | | <body> |
| <div id="video-container"> | | <div id="video-container"> |
− | <button onclick="loadVideo('efR1C6CvhmE')">SVM: Main Ideas</button> | + | <button onclick="loadVideo('efR1C6CvhmE')">SVM: Main Ideas</button> <font size="1" color="blue">← Click-to-play</font> |
| </div> | | </div> |
− |
| |
− | <script>
| |
− | function loadVideo(videoId) {
| |
− | var container = document.getElementById('video-container');
| |
− | var videoUrl = 'https://www.youtube.com/embed/' + videoId;
| |
− |
| |
− | var iframe = document.createElement('iframe');
| |
− | iframe.src = videoUrl;
| |
− | iframe.width = 960;
| |
− | iframe.height = 540;
| |
− | iframe.setAttribute('allow', 'autoplay');
| |
− | container.innerHTML = ''; // Clear existing content
| |
− | container.appendChild(iframe);
| |
− | }
| |
− | </script>
| |
| </body> | | </body> |
| </html> | | </html> |
| [https://www.youtube.com/watch?v=efR1C6CvhmE Support Vector Machines Main Ideas] <br> | | [https://www.youtube.com/watch?v=efR1C6CvhmE Support Vector Machines Main Ideas] <br> |
− | <br>
| |
| | | |
| | | |
Line 72: |
Line 52: |
| <body> | | <body> |
| <div id="video-container"> | | <div id="video-container"> |
− | <button onclick="loadVideo('Toet3EiSFcM')">SVM: The Polynomial Kernel</button> | + | <button onclick="loadVideo('Toet3EiSFcM')">SVM: The Polynomial Kernel</button> <font size="1" color="blue">← Click-to-play</font> |
| </div> | | </div> |
| | | |
Line 92: |
Line 72: |
| </html> | | </html> |
| [https://www.youtube.com/watch?v=Toet3EiSFcM The Polynomial Kernel] <br> | | [https://www.youtube.com/watch?v=Toet3EiSFcM The Polynomial Kernel] <br> |
− | <br>
| |
| | | |
| | | |
Line 103: |
Line 82: |
| <body> | | <body> |
| <div id="video-container"> | | <div id="video-container"> |
− | <button onclick="loadVideo('Qc5IyLW_hns')">SVM: The Radial (RBF) Kernel</button> | + | <button onclick="loadVideo('Qc5IyLW_hns')">SVM: The Radial (RBF) Kernel</button> <font size="1" color="blue">← Click-to-play</font> |
| </div> | | </div> |
| | | |