Placeholder Image

Subtitles section Play video

  • So far in the videos, you've seen supervised learning and unsupervised learning, and also examples of both.

  • For you to more deeply understand these concepts, I'd like to invite you in this class to see, run, and maybe later write code yourself to implement these concepts.

  • The most widely used tool by machine learning and data science practitioners today is the Jupyter Notebook.

  • This is a default environment that a lot of us use to code up and experiment and try things out.

  • So in this class, right here in your web browser, you'll be able to use a Jupyter Notebook environment to test out some of these ideas for yourself as well.

  • This is not some made up simplified environment.

  • This is the exact same environment, the exact same tool, the Jupyter Notebook that developers are using in many large companies right now.

  • One type of lab that you see throughout this class are optional labs, which are ones you can open and run one line at a time, with usually not needing to write any code yourself.

  • So optional labs are designed to be very easy, and I can guarantee you will get full marks for every single one of them, because there are no marks.

  • All you need to do is open it up and just run the code we've provided.

  • By reading through and running the code in the optional labs, you see how machine learning code runs.

  • You should be able to complete them relatively quickly, just by running it one line at a time from top to bottom.

  • Optional labs are completely optional, so you don't have to do them at all if you don't want to.

  • But I hope you will take a look, because running through them will give you a deeper feel, give you a little bit more experience with what's machine learning algorithms, what machine learning code actually looks like.

  • Starting next week, there'll also be some practice labs, which will give you an opportunity to write some of that code yourself.

  • But we'll get to that next week, so don't worry about it for now, and I hope you just go through the next optional lab, and get through the rest of the content for this week.

  • So let's take a look at an example of a notebook.

  • Here's what you see when you go to the first optional lab.

  • Feel free to scroll up and down, and browse, and mouse over the different menus, and take a look at the different options here.

  • You might notice that there are two types of these blocks, also called cells in the notebook, and there are two types of cells.

  • One is what's called a markdown cell, which means basically a bunch of text.

  • Here, you can actually edit the text if you don't like the text that we wrote.

  • But this is text that describes the code.

  • Then there's a second type of block or cell, which looks like this, which is a code cell.

  • Here, we've already provided the code, and if you want to run this code cell, hitting Shift Enter will run the code in this code cell.

  • By the way, if you click on the markdown cell, so it's showing all this formatting, go ahead and hit Shift Enter on your keyboard as well, and that will also convert it back to this nicely formatted text.

  • This optional lab shows some common Python code, so you can go ahead and run this afterwards in your own Jupyter Notebook.

  • When you jump into this notebook yourself, what I'd like you to do is select the cells and hit Shift Enter.

  • Well, read through the code, see if it makes sense.

  • Try to make a prediction about what you think this code will do, and then hit Shift Enter, and then see what the code actually does.

  • If you feel like it, feel free to go in and edit the code.

  • Change the code and then run it and see what happens.

  • If you haven't played in a Jupyter Notebook environment before, I hope you become more familiar with Python in a Jupyter Notebook.

  • I spend a lot of hours playing around in Jupyter Notebooks, and so I hope you have fun with them too.

  • After that, I look forward to seeing you in the next video, where we'll take the supervised learning problem and start to flesh out our first supervised learning algorithm.

  • I hope that'll be fun too and look forward to seeing you there.

So far in the videos, you've seen supervised learning and unsupervised learning, and also examples of both.

Subtitles and vocabulary

Click the word to look it up Click the word to find further inforamtion about it