Wednesday, January 9, 2019

Deep Learning Using TensorFlow

Deep Learning Using TensorFlow


What is Deep Learning?

As we saw in our previous blog AI - Machine Learning & Deep Learning that deep learning is a subfield of machine learning. While both fall under the broad category of artificial intelligence, deep learning is what powers the most human-like artificial intelligence.

In this blog we will make an attempt to learn the basics about Google's deep learning framework using TensorFlow and Python.

What is TensorFlow


In order to implement Machine Learning, TensorFlow provides software libraries to create computational graph. I selected TensorFlow mainly because of my love for open source. You can get more information on TensorFlow from its website.

This is my step by step guide to installing TensorFlow on macOS Mojave.

Requisites
    Hardware
Model Name: MacBook Pro 
Model Identifier: MacBookPro15,1 
Processor Name: Intel Core i9 
Processor Speed: 2.9 GHz 
Number of Processors: 1 
Total Number of Cores: 6 
L2 Cache (per Core): 256 KB 
L3 Cache: 12 MB 
Memory: 32 GB 
OS: macOS 10.14.3 (18D32a) 
    Software
Package Manager: Home Brew 
Big Data: Hadoop 
Cluster Computing Framework: Apache Spark 2.0.0 
Installation
    Install Xcode 8.0.
                    Xcode can be updated from 
https://developer.apple.com/xcode/downloads/ 
If 8.0 is installed, you may need to: 
sudo xcode-select --switch /path/to/Xcode-beta.app 

bash-3.2$ sudo xcode-select --switch /Applications/Xcode-beta.app 
    Install Home Brew

Install Tensor flow
Open a terminal in MAC.
CMD + Space & type Terminal or open terminal from launcher

$ brew install tensorflow
==> Downloading https://homebrew.bintray.com/bottles/libtensorflow-1.12.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtensorflow-1.12.0.mojave.bottle.tar.gz

🍺  /usr/local/Cellar/libtensorflow/1.12.0: 9 files, 158.7MB


-
Kinshuk Dutta
New York

No comments:

Post a Comment

Scala & Spark for Managing & Analyzing Big Data (Using Machine Learning)

Managing & Analyzing Big Data using Apache Scala & Apache Spark In this blog we will see how to use Scala and Spark to analyze Big D...