Skip to main content

Step by Step Procedure for configuring Deep Learning Packages in Python

Deep learning is getting popular with the data scientists. Here,  Im sharing my first-hand experience with the TensorFlow and Theano.  It was started to help the MTech Students from MG university. All Credits to goes to Noufal Salim who helped me to understand the configuration of different python deep learning environments.  Let us explore deep learning !!!


Before starting the installation guide, let us familiar with the technical terms and tools.
Anaconda is the leading open data science platform powered by Python

Keras is an open source neural network library written in Python

TensorFlow is an open source software library for machine learning  developed by Google 

Theano is a numerical computation library for Python 


Configuration Prerequisite: Python 2.7 , 64Bit
 

Step 1 : Download Anaconda 64 bit installer for Python 2.7 from continuum website  - Link

Step 2Bash Anaconda - Goto corresponding download directory in Terminal  and In your terminal window type the below  instruction:

bash Anaconda2-4.3.1-Linux-x86_64.sh 
Iti will ask your permission for installing and preferred installation directory . It will create default environment . It will ask

" Do you wish the installer to prepend the Anaconda2 install location to PATH in your /home/prem/.bashrc ? [yes|no] "

>>> yes

Prepending PATH=/home/prem/anaconda2/bin to PATH in /home/prem/.bashrc
A backup will be made to: /home/prem/.bashrc-anaconda2.bak [default]

For this change to become active, you have to open a new terminal.

Step 3 : Add PATH

Add this line to the file .bashrc in your home directory:
 export PATH="/home/username/anaconda/bin:$PATH"

Type the following in new terminal


Step4:  >>conda update conda
Step5 : >>conda install Theano
Step6 : >>conda install tensorflow
Step7 : >>conda install keras


Step 8 : Activate the Anaconda Python by activating the corresponding path.

>>source activate PATH
In this , PATH is /home/prem/Anaconda2/

Step 9 :Run the program python filename.py

You can see lot of sample deep learning programs in Internet sites. Try it !!!  

Few resources are 

  1. http://machinelearningmastery.com/time-series-prediction-with-deep-learning-in-python-with-keras/
 

Comments

Popular posts from this blog

Technological Solutions for Political Management

India's oldest political parties too are turning to technology . In India there is rising demand for technology tools that provide information to voters and help politicians reach out to middle-class voters. Social Media is a great medium to build a personal branding and provides an opportunity for political candidates to reach their audience . Companies are working on campaigns for political parties or developing platforms that help voters choose the right candidate and charge candidates if they want to communicate messages to voters online. . Check these Smarter Portals Voterite . in, an online platform that collates the track record of political candidates in all 543 parliamentary constituencies.The portal will display their assets, education and criminal history Social Hues. com launched to do exactly that by curating content and proactively engage a Twitter audience for any candidate. It will also offer a dashboard to easily track online influence on Twitte...

Social Reputation Management - Vistas of the Future

We always use the word 'reputed' in general conversations ,"reputed college", " reputed brand" , "reputed personality " etc.  But  in this technology -driven era ,digital reputation is trending to become a capital asset .  Significance of    Social Reputation Management  In fact the reputation management has been rapidly growing for some time now.  Before we going watch a movie or buy a mobile , we read online reviews , to make sure they’re worth buying.  But today we influenced by reviews and opinions of our social media friends and followers , our decisions are influenced by opinion leaders in social media.  Social proof is the measure of our worth based on quantity and quality of social media followers.  when thousands or millions of people use social media to say a product the best, it become viral !!! Personal Reputation in Professional Growth If you are applying for marketing job ,the HR managers check out you...

Future of Wireless Charging Standard -Qi.

Charging your smartphone while driving could become a simple process within 2014 by using a special wireless charging standard known as Qi. Japanese auto giant Toyota plans to introduce the system for mobile devices in 2013 in its new cars.It will be popular within 2014 .The wireless charging option will be a part of "technology innovations"  of additional features in cars . How It works A person will simply have to place the cellphone on the car dashboard , though the handset has to have an integrated Qi protocol in order to be charged. Qi works via magnetic induction that involves transmitting energy over a magnetic field. Qi wireless charging is currently supported by 34 mobile phone models and there are also add-on systems for other smartphones. They have  built in inductive charger which has wireless charging capabilities from a distance of 1-2 meters from the charger base. History of Qi Inductive charging plates have been around for several ye...