Skip to main content

Installing Jupyter Notebook

Jupyter notebook allows you to work on different languages on a single paltform. Here We will see how to install jupyter using python commands. One of the advantage I have noticed in the notebook is that you don't have to keep all the required modules for your program in the system. You can just import it in the notebook itselg. For example, 'import numpy, will allow you to use the package directly from the notebook.

How to use IPython Notebook or Jupiter Notebook

First install ipython using the following command from shell :
pip install ipython
Next install Jupiter notebook as :
pip install jupyter
Open jupyter notebook from user (not from root) :
jupyter notebook
it showed some permission denied error like :
IOError: [Errno 13] Permission denied: '/run/user/6138/jupyter/notebook_cookie_secret'
I googled so much and the following fixed the code :
Run the command below
 export XDG_RUNTIME_DIR=""
Then again type
jupyter notebook
It will now open your default browser
And it will show all projects or works you have in system in the browser
If you want to run one new python file please click 'New' in the right side and from there select Python.
Here you can type your code and execute it either using 'shift'+'enter' or the Cells--> Run cells option
Now you can play with jupyter notebook !!!
Have a nice Day guys

Comments

Popular posts from this blog

Coursera Course 3 Structuring Machine Learning Projects

Week One - Video One - Why ML STrategy Why we should learn care about ML Strategy Here when we try to improve the performance of the system we should consider about a lot of things . They are: -Amount of data - Amount of diverse data - Train algorithm longer with gradient descent -use another optimization algorithm like Adam -  use bigger network or smaller network depending out requirement -  use drop out - add l2 regularization - network architecture parameters like number of hidden units, Activation function etc. Second Video - Orthogonalization Orthogonalization means in a deep learning network we can change/tune so many things for eg. hyper parameters to get a more performance in the network . So most effective people know what to tune in order to achieve a particular effect. For every set of problem there is a separate solution. Don't mix up the problems and solutions. For that, first we should find out where is the problem , whether it is with training ...

A Rule Based Question Answering System in Malayalam corpus Using Vibhakthi and POS Tag Analysis

INTRODUCTION The main goal of Question Answering system is to process requests in natural language form and to provide the accurate short answers to them. Most of the web Browsers we are using today handles QA tasks as information retrieval. So instead of retrieving the precise answers we get all documents similar to our query. Rather than keyword based queries natural language expressions would be processed by efficient QA systems. Mainly there are two types of QA systems: closed domain question answering systems and open domain question answering system . Also questions can be of different forms: factoid, list, definition, description . Here we focus on factoid type question answering. In Malayalam no efficient question answering systems exist now. Other than keyword processing we need natural language processing techniques for the QA system in Malayalam. Hence this work is important in Malayalam NLP related works. Importance of Karaka Thoery and Vibhakthis for Indian Language ...