SlideShare a Scribd company logo
Deep Learning
with TensorFlow
Leveraging the Power of Deep Learning Today
Justin Grammens
Lab651, LLC
AppliedAI & Emerging Technologies North 501(c)(3)
What Will We Cover?
We’ll start off by defining TensorFlow, Machine Learning
and Neural Networks. We’ll then jump into the steps and
tools needed to utilize Machine Learning. Finally, we’ll show
examples and techniques to tune TensorFlow to help get
the results you want.
About Me – Justin Grammens
• Serial entrepreneur with a passion for starting businesses and
communities in the areas of emerging technology
• Cofounder of Lab651 – Building connected products for our customers
• Cofounder of IoT Fuse – Conference on IoT hosting 1000+ people
• Owner IoT Weekly News – Publication covering trends in the IoT
• Adjunct Professor – Teaching graduate level course on IoT the
University of Saint Thomas in Saint Paul, MN
• Cofounder of Emerging Tech North & Applied AI – 501(c)(3) non-profit
to advance and grow the Emerging Technologies and AI
What is TensorFlow
TensorFlow is an end-to-end open source platform for machine learning. It has a
comprehensive, flexible ecosystem of tools, libraries and community resources that
lets researchers push the state-of-the-art in ML and developers easily build and
deploy ML powered applications.
Source: TensorFlow.org
What is a Tensor
TensorFlow derives its name from performing operations on multidimensional data arrays
Source: Edureka.co
Deep Learning with TensorFlow
Deep Learning with TensorFlow
Deep Learning with TensorFlow
Deep Learning with TensorFlow
Deep Learning with TensorFlow
It’s a wild and
crazy world out
there….
Source: https://towardsdatascience.com
Machine Learning Steps
Datasets
• Training Dataset
• Sample of data used to fit the model
• Validation Dataset
• Sample of data used to provide an unbiased evaluation of a model fit on the training
dataset while tuning model hyperparameters.
• Test Dataset
• Sample of data used to provide an unbiased evaluation of a final model fit on the
training dataset.
Deep Learning with TensorFlow
Source: https://www.toptal.com/resume/alan-reiner
What is are Jupyter Notebooks?
• An open-source web application that
allows you to create and share documents
that contain live code, equations,
visualizations and narrative text.
• Supports over 40 programming
languages, including Python, R, Julia, and
Scala.
What is Google Colab?
• Product from Google Research
• Allows anybody to write and execute
arbitrary python code through the browser
• Colab is a hosted Jupyter notebook service
that requires no setup to use, while
providing free access to computing
resources including GPUs
What is Keras
• A deep learning API written in Python
• The high-level API of TensorFlow 2
• Focus is on enabling fast
experimentation
• Accessed using the tf.keras package
Example
• Train a model to do Celsius to Fahrenheit conversion
• Train a model to recognize clothing from the Fashion MNIST dataset
General Guide To Improve Performance
• Increase or decrease the hidden layers or number of neurons
• Watch out for overfitting!
• Change the loss function
• Change the optimizer ( Adam .01 values )
• Get more training data
• Augment the data you have (skew, flip, rotate images)
• Evaluate a different model
What Did We Cover?
Defined TensorFlow, Machine Learning and Neural
Networks. We jumped into the steps and tools needed to
utilize Machine Learning. Finally, we showed examples and
techniques to tune TensorFlow to help get the results you
want.
Thank You!
Justin Grammens
justin@lab651.com
Links/Resources:
https://lab651.com
https://EmtechNorth.org
https://AppliedAI.mn
https://podcast.AppliedAI.mn

More Related Content

PPTX
Speaking at John Carrol University on the Internet of Things
PDF
This Time, It’s Personal: Why Security and the IoT Is Different
PPTX
NDC Minnesota 2019 - Fundamentals of Azure IoT
PDF
Harness the Power of Microsoft Azure
 
PDF
Visualizing NoSQL databases as networks
PDF
Supercharged graph visualization for cyber security
PDF
How cloud native is adopted and what’s coming next
PDF
Patterns and challenges of cloud native adoption
Speaking at John Carrol University on the Internet of Things
This Time, It’s Personal: Why Security and the IoT Is Different
NDC Minnesota 2019 - Fundamentals of Azure IoT
Harness the Power of Microsoft Azure
 
Visualizing NoSQL databases as networks
Supercharged graph visualization for cyber security
How cloud native is adopted and what’s coming next
Patterns and challenges of cloud native adoption

What's hot (20)

PDF
A Pragmatic Reference Architecture for The Internet of Things
PPTX
Integrals and its applications
PPTX
IoT introduction
PPTX
Employ the Cloud for Efficient Content Analytics - 10 november 2011
PPTX
Visualizing the neo4j graph database with key lines
PDF
IoT and Its Application
PDF
How would AI shape Future Integrations?
PDF
Intel Lightning Talk
PPTX
Data, Big Data and real time analytics for Connected Devices
PDF
Cisco Paris DevNet Hackathon slideshow - Intro
PDF
Machine Learning for the Sensored Internet of Things
PDF
FAU Bluemix Hackathon
PDF
Insights into the Internet of Things
PPTX
Software defined networking - huawei - Networkshop44
PPTX
Programatori cu capul in nori
PPTX
IoT World - creating a secure robust IoT reference architecture
PPTX
Demystifying the Cloud by ScrivenerJam
PDF
Flare - tech-intro-for-paris-hackathon
PDF
IPv6 and Internet of Things: A Nice Couple
PDF
2016 iot summit_guy_bieber9
A Pragmatic Reference Architecture for The Internet of Things
Integrals and its applications
IoT introduction
Employ the Cloud for Efficient Content Analytics - 10 november 2011
Visualizing the neo4j graph database with key lines
IoT and Its Application
How would AI shape Future Integrations?
Intel Lightning Talk
Data, Big Data and real time analytics for Connected Devices
Cisco Paris DevNet Hackathon slideshow - Intro
Machine Learning for the Sensored Internet of Things
FAU Bluemix Hackathon
Insights into the Internet of Things
Software defined networking - huawei - Networkshop44
Programatori cu capul in nori
IoT World - creating a secure robust IoT reference architecture
Demystifying the Cloud by ScrivenerJam
Flare - tech-intro-for-paris-hackathon
IPv6 and Internet of Things: A Nice Couple
2016 iot summit_guy_bieber9
Ad

Similar to Deep Learning with TensorFlow (20)

PDF
Neural Networks from Scratch - TensorFlow 101
PDF
Introduction to TensorFlow
PDF
Introducing TensorFlow: The game changer in building "intelligent" applications
PDF
Machine Learning with TensorFlow 2
PDF
DyCode Engineering - Machine Learning with TensorFlow
PDF
TensorFlow and Keras: An Overview
PDF
The Flow of TensorFlow
PDF
Large Scale Deep Learning with TensorFlow
PDF
Tensorflow 2.0 and Coral Edge TPU
PPTX
GDSC BPIT ML Campaign.pptx
PDF
GDSC Machine Learning Session Presentation
PDF
OpenPOWER Workshop in Silicon Valley
PPTX
Final training course
PPTX
Demystifying-AI-Frameworks-TensorFlow-PyTorch-JAX-and-More (1).pptx
PDF
Deep learning with TensorFlow
PDF
1645 goldenberg using our laptop
PPTX
Deep learning with TensorFlow
PPTX
Training course lect1
PPTX
Keras on tensorflow in R & Python
Neural Networks from Scratch - TensorFlow 101
Introduction to TensorFlow
Introducing TensorFlow: The game changer in building "intelligent" applications
Machine Learning with TensorFlow 2
DyCode Engineering - Machine Learning with TensorFlow
TensorFlow and Keras: An Overview
The Flow of TensorFlow
Large Scale Deep Learning with TensorFlow
Tensorflow 2.0 and Coral Edge TPU
GDSC BPIT ML Campaign.pptx
GDSC Machine Learning Session Presentation
OpenPOWER Workshop in Silicon Valley
Final training course
Demystifying-AI-Frameworks-TensorFlow-PyTorch-JAX-and-More (1).pptx
Deep learning with TensorFlow
1645 goldenberg using our laptop
Deep learning with TensorFlow
Training course lect1
Keras on tensorflow in R & Python
Ad

More from Justin Grammens (16)

PDF
Scope Creep - Damned if I Do, Damned if I Don't
PDF
Looking into the Future: Using Google's Prediction API
PDF
The Internet of Things - What It Is, Where Its Headed and Its Applications
PDF
Internet of Things: What It Is, Where's Headed and Its Applications
PDF
Collaborative Learning - The Role Communities Play in IoT
PDF
Internet of Things: What it is, where it is going and how it is being applied.
PDF
Arduino, Open Source and The Internet of Things Landscape
PDF
Gobot Meets IoT : Using the Go Programming Language to Control The “Things” A...
PDF
Physical Computing Using Go and Arduino
PDF
The State of Arduino and IoT
PDF
Android Minnebar
PDF
Android TCJUG
PDF
Voice Enabled Applications
PDF
Android Intro
PDF
Adhearsion and Telegraph Framework Presentation
PDF
Asterisk-Java Framework Presentation
Scope Creep - Damned if I Do, Damned if I Don't
Looking into the Future: Using Google's Prediction API
The Internet of Things - What It Is, Where Its Headed and Its Applications
Internet of Things: What It Is, Where's Headed and Its Applications
Collaborative Learning - The Role Communities Play in IoT
Internet of Things: What it is, where it is going and how it is being applied.
Arduino, Open Source and The Internet of Things Landscape
Gobot Meets IoT : Using the Go Programming Language to Control The “Things” A...
Physical Computing Using Go and Arduino
The State of Arduino and IoT
Android Minnebar
Android TCJUG
Voice Enabled Applications
Android Intro
Adhearsion and Telegraph Framework Presentation
Asterisk-Java Framework Presentation

Recently uploaded (20)

PPTX
history of c programming in notes for students .pptx
PPTX
ai tools demonstartion for schools and inter college
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
medical staffing services at VALiNTRY
PDF
System and Network Administraation Chapter 3
PPTX
Transform Your Business with a Software ERP System
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Digital Strategies for Manufacturing Companies
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Essential Infomation Tech presentation.pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
history of c programming in notes for students .pptx
ai tools demonstartion for schools and inter college
Understanding Forklifts - TECH EHS Solution
Odoo POS Development Services by CandidRoot Solutions
How to Migrate SBCGlobal Email to Yahoo Easily
Odoo Companies in India – Driving Business Transformation.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
wealthsignaloriginal-com-DS-text-... (1).pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
CHAPTER 2 - PM Management and IT Context
medical staffing services at VALiNTRY
System and Network Administraation Chapter 3
Transform Your Business with a Software ERP System
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Digital Strategies for Manufacturing Companies
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Essential Infomation Tech presentation.pptx
Operating system designcfffgfgggggggvggggggggg

Deep Learning with TensorFlow

  • 1. Deep Learning with TensorFlow Leveraging the Power of Deep Learning Today Justin Grammens Lab651, LLC AppliedAI & Emerging Technologies North 501(c)(3)
  • 2. What Will We Cover? We’ll start off by defining TensorFlow, Machine Learning and Neural Networks. We’ll then jump into the steps and tools needed to utilize Machine Learning. Finally, we’ll show examples and techniques to tune TensorFlow to help get the results you want.
  • 3. About Me – Justin Grammens • Serial entrepreneur with a passion for starting businesses and communities in the areas of emerging technology • Cofounder of Lab651 – Building connected products for our customers • Cofounder of IoT Fuse – Conference on IoT hosting 1000+ people • Owner IoT Weekly News – Publication covering trends in the IoT • Adjunct Professor – Teaching graduate level course on IoT the University of Saint Thomas in Saint Paul, MN • Cofounder of Emerging Tech North & Applied AI – 501(c)(3) non-profit to advance and grow the Emerging Technologies and AI
  • 4. What is TensorFlow TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML powered applications. Source: TensorFlow.org
  • 5. What is a Tensor TensorFlow derives its name from performing operations on multidimensional data arrays
  • 12. It’s a wild and crazy world out there…. Source: https://towardsdatascience.com
  • 14. Datasets • Training Dataset • Sample of data used to fit the model • Validation Dataset • Sample of data used to provide an unbiased evaluation of a model fit on the training dataset while tuning model hyperparameters. • Test Dataset • Sample of data used to provide an unbiased evaluation of a final model fit on the training dataset.
  • 17. What is are Jupyter Notebooks? • An open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. • Supports over 40 programming languages, including Python, R, Julia, and Scala.
  • 18. What is Google Colab? • Product from Google Research • Allows anybody to write and execute arbitrary python code through the browser • Colab is a hosted Jupyter notebook service that requires no setup to use, while providing free access to computing resources including GPUs
  • 19. What is Keras • A deep learning API written in Python • The high-level API of TensorFlow 2 • Focus is on enabling fast experimentation • Accessed using the tf.keras package
  • 20. Example • Train a model to do Celsius to Fahrenheit conversion • Train a model to recognize clothing from the Fashion MNIST dataset
  • 21. General Guide To Improve Performance • Increase or decrease the hidden layers or number of neurons • Watch out for overfitting! • Change the loss function • Change the optimizer ( Adam .01 values ) • Get more training data • Augment the data you have (skew, flip, rotate images) • Evaluate a different model
  • 22. What Did We Cover? Defined TensorFlow, Machine Learning and Neural Networks. We jumped into the steps and tools needed to utilize Machine Learning. Finally, we showed examples and techniques to tune TensorFlow to help get the results you want.

Editor's Notes

  • #2: March Open Source North Speakers series. Be sure to register for Open Source North Conference on May 20th
  • #4: Connect with me on linkedin – podcast as well
  • #6: Tensors are a type of data structure stored as multi-dimensional arrays. Scalar is one number, vector is list of numbers, matrix is a 2-dimentional array, tensor is a multidimentional array. 0-rank, 1-rank, 2-rank, 3 dimensions or more are typically Tensors. Computation on arrays is what is going on inside neural networks
  • #8: Choose your own adventure Supervised learning labeled.
  • #11: When the neural network is initialized, weights are set for its individual elements, called neurons. Inputs are loaded, they are passed through the network of neurons, and the network provides an output for each one, given the initial weights.
  • #14: ANN – only fed forward, does not propagate backward to improve the accuracy, CNN has back propagation and good for data that doesn’t change over time, RNN better for time series or cases in which the next word an depend on words that are 3 or 4 in the past. Experiment with various options. We’ll be focused on CNN’s for our examples. Long Short-Term Memory (LSTM) networks are a type of recurrent neural network capable of learning order dependence in sequence prediction problems.
  • #15: Backpropagation is really about determining how changing the weights impact the overall cost of the neural network.
  • #16: Gathering training data can often be the most difficult part, one you have it then preparing/cleaning it can present challenge. Most importantly – you are looking for the most optimal solution that is not over filling the data.
  • #17: Over filling occurs when you have data that is too close in the test to the training
  • #18: Always keep this in mind: deep learning models tend to be good at fitting to the training data, but the real challenge is generalization, not fitting.
  • #21: Tools