Making Data Science Great Again – Applications of Deep learning Using Tensorflow
The 2nd revolution in machine learning came in the form of powerful algorithms such as random forest, boosting machines and ensemble methods.
But the problems being solved were still the same prediction ones. With advent of deep learning we have entered into the 3rd revolution enabling us to solve problems such as automating support functions through chatbots, powerful NLP and image recognition which open doors to an entire range of possibilities like self-driving cars for instance. In this talk we’ll explore these possibilities with deep learning and tensorflow.
25. Copyright 2016 RESTRICTED CIRCULATION ‹#›
Preparing VM instance for tensor flow
• Install cuda ( Lets you use GPUS)
• go to VM and launch using SSH on browser
sudo apt-get install python3-pip
sudo pip3 install jupyter
sudo jupyter notebook --ip 0.0.0.0 --port 8888 --allow-root
• Go to your_external_ip_for_vm:8888 (on chrome
preferably )
• create an Nvidia Developer account , download cudnn
version 6 for cuda 8 for linux
• upload the file to your VM using upload feature of jupyter
27. Copyright 2016 RESTRICTED CIRCULATION ‹#›
Last thing for the unfortunates ( Me)
jupyter notebook --generate-config
jupyter --config-dir
• Go to the file with nano file_with_path
• Add things mentioned below
• Reboot your VM
import os
c = get_config()
os.environ['LD_LIBRARY_PATH'] = '/usr/local/cuda/lib64:usr/local/cuda/
lib64/libcudnn.so.6'
c.Spawner.env.update('LD_LIBRARY_PATH')
c.Spawner.env_keep.append('LD_LIBRARY_PATH')
35. Copyright 2016 RESTRICTED CIRCULATION ‹#›
LSTM
• Gates in each unit change/preserve states(memory) from
previous occurrences in the sequence
• Used in sequence modelling : next word , market forecast
• Can also be used with other kind of sequential data such as
music, speech etc