Page 268 - Ai_C10_Flipbook
P. 268

To open Jupyter Notebook using Anaconda Navigator, follow these steps:

               Step 1   Type Anaconda Navigator in the Search box beside the Start button.
               Step 2   Click on Anaconda Navigator option.
               Step 3    Click on the Launch button of the Jupyter Notebook option in the Anaconda Navigator window opens.

              To open Jupyter Notebook using Anaconda Prompt, follow these steps:
               Step 1   Type Anaconda Prompt in the Search box beside the Start button.

               Step 2   Click on Anaconda Prompt option.
               Step 3   Type the following command and press Enter:

                        jupyter notebook
              All of the above stated ways will open the Jupyter Notebook in the default browser with the URL:  http://
              localhost:8888/tree as shown below:
              The Jupyter Notebook dashboards is used for exploring, editing and creating your notebooks. Click on the New
              button present on the top right corner of the screen and select Python3(ipykernel) option from the given menu.






















              This would open a new notebook with Python3 as a programming language.
              To work with Jupyter Notebook in a virtual environment, it is essential to install a kernel within that environment.

              To install the kernel, open Anaconda Prompt and run the following command:
              conda install jupyter nb_conda ipykernel
                 • Jupyter is an extension for Jupyter Notebook.

                 • Ipykernel  provides an interactive  Python shell and serves as a Jupyter  kernel for running  Python  code in
                 notebooks.

                 • nb_conda is a Jupyter kernel extension that allows kernel selection for notebook execution.
                 Once the installation is complete, use the following command to launch Jupyter Notebook:
                   jupyter notebook
              Jupyter Notebook Interface


              Jupyter Notebook interface supports graphical user interface. This makes it easier for the programmer to manage
              the tools by using a few mouse clicks.
              Some of the components of Jupyter Notebook are:

                 • Notebook: A file created in Jupyter Notebook, saved with the .ipynb extension.

                    266     Artificial Intelligence Play (Ver 1.0)-X
   263   264   265   266   267   268   269   270   271   272   273