Getting started with python and Jupyter notebook

To get started with machine learning we need to start with Jupyter notebook. You can also see this under our YouTube channel Arvin Education.

What is Jupyter notebook?

Jupyter notebook is an open-source web application which allows you to write code, use visualizations, write narrations, and write equations.

Now let us see how to work with Jupyter notebook. I will provide a screenshot for each step on how to start anaconda navigator to how to navigate Jupyter notebook and what are the features that are available in Jupyter notebook.

In windows start menu select Anaconda3 (64-bit) > Anaconda Navigator (Anaconda3) see previous posts to install Anaconda Distribution

Once you’ve clicked Anaconda Navigator you will see a windows that looks like the screenshot below

Click the launch button in the notebook section. see the screenshot above. Once you click the launch button Jupyter notebook will open in your default web browser ( Mozilla Firefox or Google Chrome).

This is the file explorer section in Jupyter. If you already have a notebook file you can browse and open it from here. The extension of the notebook is .ipynb.

Select the folder in which you want the new notebook file to be created.

In the new option, select python 3 under notebook it will open a new notebook with python 3 as the kernel.

In the screenshot above the different options are marked by red arrows and the functions of it are specified below. you can also see some useful shortcuts

Now let us write a small python program and check. Copy the below program and paste in the cell and press shift+enter to execute the current cell.

print('hello world')

you will see the result as below

In the next posts we will saw some basics of python like variables, functions, machine learning specific packages like NumPy, Pandas, Sklearn, Tensorflow, Kares, etc. This post is also available in Tamil in the below blog. Be sure to follow this blog if you want to learn machine learning in Tamil.

Blog address