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

Future of Plastic Currencies in India

Financial Minister P Chidambaram had announced that the plastic copies of Rs.10 are going to come out soon. Reports indicate that the different countries in the world are also going to follow this path.  This decision is going to bring about a great change in the field of notes. The tradition of using paper for making notes by banks for about 300 years is going to be changed.  Only low value notes like 10Rs will come out first. Only later will the high amount notes will be issued. The opinion of the experts in the financial field is that no hurry is required for the issue of plastic notes. In the present situation of increasing fake note issues there is an opinion of using technology to trace notes that would be more advantageous.

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...