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

List of Computer Vision APIs

Computer Vision APIs Different computer vision tools and APIs are : Google CV Watson VR Amazon R Microsoft CV Clarif.ai Cloudsight Scale https://www.scaleapi.com/image-annotation Imagga vize.ai https://vize.ai/ http://www.recognize.im/ Moodstocks ( http://www.moodstocks.com/pricing/ ) * Kooaba ( http://www.kooaba.com/en/plans_a... ) * IQ Engines ( https://www.iqengines.com/pricing/ ) * LTU technologies ( http://www.ltutech.com/ ) Camfind - Image recognition back-end for the popular app CamFind. Take advantage of the leading image recognition platform through an easy to use web API. Recognize API | Mashape - Vufind Recognize is a real-time image recognition API for classification and monetization of photos and videos. Recognize uses object recognition to uncover meaning and metadata of photos and videos for contextual image commerce and advertising. Kooaba - Our cloud-based image recognition solutions mak...

Cat Vs Dog Classification Using TensorFlow CNN

This code is copy of - https://www.kaggle.com/sentdex/full-classification-example-with-convnet/notebook - work.  I have tried this code and executed successfully. Description: The data set (training and test) are taken from Kaggle Dog vs Cat competition.  https://www.kaggle.com/c/dogs-vs-cats-redux-kernels-edition/data In this the training data is encoded into an array containing the feature of each image plus its corresponding label. Functions used for this are : label_img() and create_training_data() . Similarly preprocessing is done for test data set also. The test data set images are stored as numpy array with its corresponding IDs. Function used is :process_test_data Numpy is used for preprocessing the image data into arrays. Using Tensorflow '- tflearn a DNN model is created. Here it has six convolutional layers followed by maxpool layers . Activation function used is 'RELU'. Then One fully connected layer with drop out and then softmax regression is also ...