SlideShare a Scribd company logo
Machine Learning with
TensorFlow
Machine Learning
Machine Learning is the science of getting computers to
learn and act like humans do, and improve their learning
over time in autonomous fashion, by feeding them data
and information in the form of observations and real-
world interactions [1]
Machine Learning Categories
Source: MathWorks
Machine Learning
Algorithms
Source: MathWorks
Let's focus on supervised learning
TensorFlow
TensorFlow is fast, flexible, and scalable open-source
machine learning library for research and production.
Key Concepts
•TensorFlow bases its data management in tensors
•Tensors are manipulated using operations
•Each operations are executed in computational graph
•Computational graph are executed with CPU, GPU or TPU
Simple Computation with TF
Guess the output!
Now, try this
What Happened?
•Computational graph is not immediately evaluated when
they are declared
•The graph is executed with tf.Session's run function
Linear Regression
•Predict continuous values from previously acquired data
•We try to find linear equation that minimizes the
distance between data points and modeled line
Linear Regression
Image source: [2]
Demo
Artificial Neural Network
•ANN consists of artificial neuron, a mathematical
function modeled after a real biological neuron
•It receives one or more inputs, and sums them to
produce an output
•Additionaly, the sums are normally weighted and the
sum is passed to a nonlinear function (activation
function or transfer function)
Perceptron
Image source: [2]
Multilayer Perceptron
Image source: [2]
Convolution Neural Network
•Part of many of most advanched models currently being
employed.
•Used in numerous fields, but mainly used in image
classifications
Convolution
•Introducing kernel, a m x n-dimensional matrix and is
usualy a square matrix (m = n)
•Convolution process consist of multiplying the
corresponding pixels with the kernel and summing the
values for assigning to the central pixel
Convolution
Image source: [2]
Convolution
The images illustrates how the change
to parameters affect the output
Image source: [2]
Subsampling - pooling
•Reduce the quantity and complexity of information while
retaining the most important information elements
•Well known pooling operations are max pool and average
pool
Subsampling - pooling
Image source: [2]
CNN Architecture: LeNet5
Image source: [2]
Demo
Implementing simple CNN with TensorFlow
Alternatives to TensorFlow
•Theano
•tf.learn
•tf.keras / keras
Demo
Implementing simple CNN with Keras with TensorFlow as
Keras' backend
The Tools
•Anaconda (Python interpreter + libraries for scientific
computing)
•Jupyter Notebook (comes with Anaconda)
Hi, TensorFlow.js
js.tensorflow.org
TensorFlow.js
•Available for Node.js and browsers!
•High-level APIs similar to Keras!
References
[1] https://www.techemergence.com/what-is-machine-learning/
[2] Bonnin, Rodolfo. Building Machine Learning Projecs with TensorFlow. Packt
Publishing, 2016.
[3] McClure, Nick. TensorFlow Machine Learning Cookbook. Packt Publishing, 2017.

More Related Content

What's hot (20)

PDF
[딥논읽] Meta-Transfer Learning for Zero-Shot Super-Resolution paper review
taeseon ryu
 
PDF
Tensorflowv5.0
Sanjib Basak
 
PPTX
Image classification using CNN
Noura Hussein
 
PDF
Efficient Neural Architecture Search via Parameter Sharing
Jinwon Lee
 
PDF
201907 AutoML and Neural Architecture Search
DaeJin Kim
 
PDF
Dual Learning for Machine Translation (NIPS 2016)
Toru Fujino
 
PPTX
Introduction to CNN
Shuai Zhang
 
PDF
Deep learning
Rouyun Pan
 
PDF
Switch Transformers: Scaling to Trillion Parameter Models with Simple and Eff...
taeseon ryu
 
PDF
Andrew Musselman, Committer and PMC Member, Apache Mahout, at MLconf Seattle ...
MLconf
 
PDF
PR-155: Exploring Randomly Wired Neural Networks for Image Recognition
Jinwon Lee
 
PPTX
Teach a neural network to read handwriting
Vipul Kaushal
 
PDF
Convolutional Neural Networks : Popular Architectures
ananth
 
PDF
Restricting the Flow: Information Bottlenecks for Attribution
taeseon ryu
 
PPTX
Machine Learning - Introduction to Convolutional Neural Networks
Andrew Ferlitsch
 
PPTX
Convolutional neural networks
Mohammad Imran
 
PDF
PR-231: A Simple Framework for Contrastive Learning of Visual Representations
Jinwon Lee
 
PDF
N ns 1
Thy Selaroth
 
PDF
Dueling Network Architectures for Deep Reinforcement Learning
Yoonho Lee
 
PDF
Interaction Networks for Learning about Objects, Relations and Physics
Ken Kuroki
 
[딥논읽] Meta-Transfer Learning for Zero-Shot Super-Resolution paper review
taeseon ryu
 
Tensorflowv5.0
Sanjib Basak
 
Image classification using CNN
Noura Hussein
 
Efficient Neural Architecture Search via Parameter Sharing
Jinwon Lee
 
201907 AutoML and Neural Architecture Search
DaeJin Kim
 
Dual Learning for Machine Translation (NIPS 2016)
Toru Fujino
 
Introduction to CNN
Shuai Zhang
 
Deep learning
Rouyun Pan
 
Switch Transformers: Scaling to Trillion Parameter Models with Simple and Eff...
taeseon ryu
 
Andrew Musselman, Committer and PMC Member, Apache Mahout, at MLconf Seattle ...
MLconf
 
PR-155: Exploring Randomly Wired Neural Networks for Image Recognition
Jinwon Lee
 
Teach a neural network to read handwriting
Vipul Kaushal
 
Convolutional Neural Networks : Popular Architectures
ananth
 
Restricting the Flow: Information Bottlenecks for Attribution
taeseon ryu
 
Machine Learning - Introduction to Convolutional Neural Networks
Andrew Ferlitsch
 
Convolutional neural networks
Mohammad Imran
 
PR-231: A Simple Framework for Contrastive Learning of Visual Representations
Jinwon Lee
 
N ns 1
Thy Selaroth
 
Dueling Network Architectures for Deep Reinforcement Learning
Yoonho Lee
 
Interaction Networks for Learning about Objects, Relations and Physics
Ken Kuroki
 

Similar to DyCode Engineering - Machine Learning with TensorFlow (20)

PDF
Machine Learning with TensorFlow 2
Sarah Stemmler
 
PPTX
Neural Networks with Google TensorFlow
Darshan Patel
 
PPTX
TensorFlow.pptx
Jayesh Patil
 
PDF
TensorFlow and Keras: An Overview
Poo Kuan Hoong
 
PPTX
Deep Learning, Keras, and TensorFlow
Oswald Campesato
 
PPTX
Build a Neural Network for ITSM with TensorFlow
Entrepreneur / Startup
 
PPTX
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
Simplilearn
 
PPTX
Introduction to machine learning november 25, 2017
Manish Panchmatia
 
PPTX
GDSC BPIT ML Campaign.pptx
khushbooGupta928250
 
PDF
GDSC Machine Learning Session Presentation
gdsclavasa
 
PPTX
Automatic Attendace using convolutional neural network Face Recognition
vatsal199567
 
PPTX
H2 o berkeleydltf
Oswald Campesato
 
PPTX
Introduction to Deep Learning, Keras, and Tensorflow
Oswald Campesato
 
PDF
Introduction to Deep Learning, Keras, and TensorFlow
Sri Ambati
 
PPTX
Introduction to Machine Learning with TensorFlow
Paolo Tomeo
 
PPTX
Tensor flow
Nikhil Krishna Nair
 
PPTX
Deep Learning with TensorFlow: Understanding Tensors, Computations Graphs, Im...
Altoros
 
PDF
1645 goldenberg using our laptop
Rising Media, Inc.
 
PPTX
Deep Learning in your Browser: powered by WebGL
Oswald Campesato
 
PPTX
Introduction to Tensor Flow-v1.pptx
Janagi Raman S
 
Machine Learning with TensorFlow 2
Sarah Stemmler
 
Neural Networks with Google TensorFlow
Darshan Patel
 
TensorFlow.pptx
Jayesh Patil
 
TensorFlow and Keras: An Overview
Poo Kuan Hoong
 
Deep Learning, Keras, and TensorFlow
Oswald Campesato
 
Build a Neural Network for ITSM with TensorFlow
Entrepreneur / Startup
 
What is TensorFlow? | Introduction to TensorFlow | TensorFlow Tutorial For Be...
Simplilearn
 
Introduction to machine learning november 25, 2017
Manish Panchmatia
 
GDSC BPIT ML Campaign.pptx
khushbooGupta928250
 
GDSC Machine Learning Session Presentation
gdsclavasa
 
Automatic Attendace using convolutional neural network Face Recognition
vatsal199567
 
H2 o berkeleydltf
Oswald Campesato
 
Introduction to Deep Learning, Keras, and Tensorflow
Oswald Campesato
 
Introduction to Deep Learning, Keras, and TensorFlow
Sri Ambati
 
Introduction to Machine Learning with TensorFlow
Paolo Tomeo
 
Tensor flow
Nikhil Krishna Nair
 
Deep Learning with TensorFlow: Understanding Tensors, Computations Graphs, Im...
Altoros
 
1645 goldenberg using our laptop
Rising Media, Inc.
 
Deep Learning in your Browser: powered by WebGL
Oswald Campesato
 
Introduction to Tensor Flow-v1.pptx
Janagi Raman S
 
Ad

More from Alwin Arrasyid (11)

PDF
Global Azure Bootcamp 2019 - Bandung - Microsoft Azure as Complete Solutions ...
Alwin Arrasyid
 
PDF
TIA DevTalk Lampung - How IoT can Reshape the Future of Digital Products
Alwin Arrasyid
 
PDF
Devcember Fest 2018 - IoT feat. JavaScript
Alwin Arrasyid
 
PDF
Republic of IoT 2018 - ESPectro32 and NB-IoT Workshop
Alwin Arrasyid
 
PDF
GDG Meetup Jakarta - Low Power IoT
Alwin Arrasyid
 
PDF
Global Azure Bootcamp 2018 Bandung - Easy Deployment with Azure Container Ser...
Alwin Arrasyid
 
PDF
ISHOT 2.0 - Easy Life with Internet of Things
Alwin Arrasyid
 
PDF
PyCon ID 2017 - Connecting the Unconnected with Python: an IoT Software Engin...
Alwin Arrasyid
 
PDF
Republic of IoT - Hackathon Hardware Kits Hands-on Labs
Alwin Arrasyid
 
PDF
Introduction to RIoT Hardware Kits & ESP32 Programming [Road to RIoT 2017]
Alwin Arrasyid
 
PDF
Introduction to ESP32 Programming [Road to RIoT 2017]
Alwin Arrasyid
 
Global Azure Bootcamp 2019 - Bandung - Microsoft Azure as Complete Solutions ...
Alwin Arrasyid
 
TIA DevTalk Lampung - How IoT can Reshape the Future of Digital Products
Alwin Arrasyid
 
Devcember Fest 2018 - IoT feat. JavaScript
Alwin Arrasyid
 
Republic of IoT 2018 - ESPectro32 and NB-IoT Workshop
Alwin Arrasyid
 
GDG Meetup Jakarta - Low Power IoT
Alwin Arrasyid
 
Global Azure Bootcamp 2018 Bandung - Easy Deployment with Azure Container Ser...
Alwin Arrasyid
 
ISHOT 2.0 - Easy Life with Internet of Things
Alwin Arrasyid
 
PyCon ID 2017 - Connecting the Unconnected with Python: an IoT Software Engin...
Alwin Arrasyid
 
Republic of IoT - Hackathon Hardware Kits Hands-on Labs
Alwin Arrasyid
 
Introduction to RIoT Hardware Kits & ESP32 Programming [Road to RIoT 2017]
Alwin Arrasyid
 
Introduction to ESP32 Programming [Road to RIoT 2017]
Alwin Arrasyid
 
Ad

Recently uploaded (20)

PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PPTX
Introduction to Design of Machine Elements
PradeepKumarS27
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPT
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
Introduction to Design of Machine Elements
PradeepKumarS27
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
MRRS Strength and Durability of Concrete
CivilMythili
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 

DyCode Engineering - Machine Learning with TensorFlow