Professional Documents
Culture Documents
Practical 3
Practical 3.1
https://www.anaconda.com/download/#windows
PEN: -200840131505
Step 5: - Select installation type “Just Me” unless you’re installing it for allusers (which
require Windows Administrator privileges) and clickon Next.
PEN: -200840131505
Step 6: -Select a destination folder to install Anaconda and click the “Next” button.
Practical:-3.2
Aim:- Working with Jupyter Notebook.
Step 1:- Clicking on the Jupyter Notebook App in the Start Menu .
Step 3:- You will know that Jupyter Notebook opened correctly if you see a page similar to this
one open in your browser.
Step 4:- Navigate through your folders until you get to the directory you want to save your
scripts in.
PAN:-200840131505
Step 5:- . You can navigate through by clicking on the name of the Folder.
Created directory:-
Step 7:- Open a new Notebook file by clicking on the “New” menu on the upper right.
PAN:-200840131505
Step 8:- Open a previously saved Notebook file by clicking on the name of the file.
• The extension for a Jupyter Notebook file is “.ipynb”, which is short for “interactive
python notebook”.
Step 10:- It’s good practice to start your script by importing libraries you will need.
If there is a number here, then the cell has been evaluated! This means that the code
written in that cell has been run. A cell is evaluated by either clicking “Run” or by typing
Shift+Return.
PAN:-200840131505
Step 2:- Click “New” and go “More” option and go”Connect to other app”.
PAN:-200840131505
Step5:-Sign up .
Step 6:-
PAN:-200840131505
Practical:-3.3
Aim:- Performing Common Tasks.
Creating code cells
o A new cell can be created by clicking on ‘+’ sign or you can also create from the click on
insert menu.
o Whenever you create a new cell in the jupyter notebook then by default it was a code cell.
PAN:-200840131505
o Raw NBCovert type of cells used for the special purpose.it will be converted in a way
specific to output such has HTML
PAN:-200840131505
Practical:-3.4
Aim:- Understanding the following datasets with its code.
This book uses a number of datasets, all of which appear in the Scikit-learn
library. These dataset demonstrate various ways in which you can interact with
data, and you use them in the examples to perform a variety of tasks. The
following list provides a quick overview of the function used to import each of
the datasets into your Python code:
Download it if necessary.
PAN:-200840131505
Load the filenames and data from the 20 newsgroups dataset (classification).
Download it if necessary.