Friday, 17 February 2017

Dual Booting GPU/ROG/Asus G752VS

Almost all GPU, by default have Windows Operating System pre-installed on them, and you as a Data Scientist who wants Deep Learning needs a Linux Box.

I had gone through several error in installing finally compiling all processes in all.
We will target xUbuntu 14 and Ubuntu 16 for installation, both have almost similar steps, and where they would vary I will point it out.

Saturday, 4 February 2017

Installing NVIDIA Graphic Driver on G752VS xUbuntu

  1. 1)     Firstly, make sure that you use the correct compatible version of Ubuntu (xUbuntu), use a LTS version.
    2)     Make sure you have disabled the Secure Boot in BIOS. Press F2 and F12 to enter BIOS while powering on GPU.
    a.      Enter in BIOS > Security > Secure Boot and then disable.
    b.      Press F10 to save & exit.

    3)     If the system is new, know the password of root.
    a.      From the local terminal shell type in
    b.     sudo -i
    c.      passwd
    d.      enter your password
    e.      Press Ctrl + d to logout & return to local user.

Sunday, 15 January 2017

Cheet Sheat for Jupyter Command Line



jupyter notebook                                           


run the jupyter notebook with pwd as default location for Notebook different parameters that can be passed.


--notebook-dir=”PATH                                
pass this with default command to change the default location of Notebooks

--ip=”IP_ADDRESS                                        
pass this with default command to change the IP address, as some time, the default loopback address  
is busy.

--no-mathjax                                                   
 Disable MathJax

--port <<PORT_NUMBER>>                          
Specify the port number as default is 8888

--config <<PATH_OF_CONF_FILE>>             
Specify the config file, the default is /home/<<username>>/.jupyter/jupyter_notebook_config.py

--pylab                                                               
by default it is disabled, this same as using %matplotlib and %pylab

https://github.com/shivam-kotwalia/jupyter-settings/blob/master/Jupyter%20Settings%20Notebook.ipynb

Cheet Sheet Jupyter Notebook




In Edit Mode (press Enter to enable)

Tab

code completion or indent
Shift-Tab
tooltip
Ctrl-]
indent
Ctrl-[
dedent

Monday, 5 September 2016

Running R on Notebooks

Sometime you have a particular task which requires both R and Python.
Running them, on different IDE's becomes tedious.

So, today lets learn to run R on jupyter notebook. There are two options to achieve this

1. Simple but not a Data Scientist way
a. Install minconda from Anaconda, from http://conda.pydata.org/miniconda.html
    NOTE: - You need to have Python3 running on your system for this.

Running both version of Python on Notebooks


Some time you wan to run both the Python Kernel to work on iPython Notebook.

Assuming that you have Anaconda (Python + Jupyter Notebook + Data Science Library).
For those are amateur like me
1. Download the Anaconda Installer from
     Windows: - https://www.continuum.io/downloads#windows
     OS X: - https://www.continuum.io/downloads#osx
     Linux: - https://www.continuum.io/downloads#linux