Line 4: |
Line 4: |
| | | |
| <u><b>The following are some useful YouTube videos:</b></u> | | <u><b>The following are some useful YouTube videos:</b></u> |
| + | |
| === <u>Part 1</u> === | | === <u>Part 1</u> === |
| <font><i>A run down of what SVMs are and what they can be used for. All of the necessary background to get started with using SVMs.</i></font> <br> | | <font><i>A run down of what SVMs are and what they can be used for. All of the necessary background to get started with using SVMs.</i></font> <br> |
− |
| |
| <html> | | <html> |
| <head> | | <head> |
Line 13: |
Line 13: |
| <body> | | <body> |
| <div id="video-container"> | | <div id="video-container"> |
− | <button onclick="loadVideo()">SVM: Main Ideas</button> | + | <button onclick="loadVideo('efR1C6CvhmE')">SVM: Main Ideas</button> |
| </div> | | </div> |
| | | |
| <script> | | <script> |
− | function loadVideo() { | + | function loadVideo(videoId) { |
| var container = document.getElementById('video-container'); | | var container = document.getElementById('video-container'); |
− | var videoUrl = 'https://www.youtube.com/embed/efR1C6CvhmE'; | + | var videoUrl = 'https://www.youtube.com/embed/' + videoId; |
| | | |
| var iframe = document.createElement('iframe'); | | var iframe = document.createElement('iframe'); |
Line 38: |
Line 38: |
| === <u>Part 2</u> === | | === <u>Part 2</u> === |
| <font><i>A mathematical description of the Polynomial Kernel and how SVMs use this type of kernel to classify data. This video describes how the Polynomial Kernel classifies data in a set number of dimensions.</i></font> <br> | | <font><i>A mathematical description of the Polynomial Kernel and how SVMs use this type of kernel to classify data. This video describes how the Polynomial Kernel classifies data in a set number of dimensions.</i></font> <br> |
− |
| |
| <html> | | <html> |
| <head> | | <head> |
Line 45: |
Line 44: |
| <body> | | <body> |
| <div id="video-container"> | | <div id="video-container"> |
− | <button onclick="loadVideo()">SVM: The Polynomial Kernel</button> | + | <button onclick="loadVideo('Toet3EiSFcM')">SVM: The Polynomial Kernel</button> |
| </div> | | </div> |
| | | |
| <script> | | <script> |
− | function loadVideo() { | + | function loadVideo(videoId) { |
| var container = document.getElementById('video-container'); | | var container = document.getElementById('video-container'); |
− | var videoUrl = 'https://www.youtube.com/watch?v=Toet3EiSFcM'; | + | var videoUrl = 'https://www.youtube.com/embed/' + videoId; |
| | | |
| var iframe = document.createElement('iframe'); | | var iframe = document.createElement('iframe'); |
Line 76: |
Line 75: |
| <body> | | <body> |
| <div id="video-container"> | | <div id="video-container"> |
− | <button onclick="loadVideo()">SVM: The Radial (RBF) Kernel</button> | + | <button onclick="loadVideo('Qc5IyLW_hns')">SVM: The Radial (RBF) Kernel</button> |
| </div> | | </div> |
| | | |
| <script> | | <script> |
− | function loadVideo() { | + | function loadVideo(videoId) { |
| var container = document.getElementById('video-container'); | | var container = document.getElementById('video-container'); |
− | var videoUrl = 'https://www.youtube.com/watch?v=Qc5IyLW'; | + | var videoUrl = 'https://www.youtube.com/embed/' + videoId; |
| | | |
| var iframe = document.createElement('iframe'); | | var iframe = document.createElement('iframe'); |