SlideShare une entreprise Scribd logo
1  sur  48
Télécharger pour lire hors ligne
Marwa Ayad Mohmed
Team Lead Software Engineer
WTM/GDG
Engmarwaayad@gmail.com || @ayad_marwa
2017 ArabWIC Conference on Arab Women in Computing
Machine Learning with Google Tools
Marwa Ayad Mohamed
• WTM lead Cairo.
• +8 year experience in software
field.
• Graduation Faculty of Engineering
Ain Shams University.
• Master Degree “Cloud Computing
and CPU, GPU integration”.
• Researcher in Machine Learning.
• Public Speaker and Project
monitor.
• Founder of YourChildCode.
AI & ML & DL
ArtificialIntelligence
• AI or artificial intelligence : is the simulation of human
intelligence processes by machines, especially
computer systems.
• These processes include learning (the information
and rules for using the information).
• reasoning (using the rules to reach approximate or
definite conclusions).
Machine learning
• Machine learning is a type of artificial intelligence (AI)
that provides computers with the ability to learn
without being explicitly programmed.
• Machine learning focuses on
the development of computer
programs that can change
when exposed to new data.
Machine learning
• Supervised learning
• Unsupervised learning
• Machine learning technics that use multiple learning
algorithm to have the applet to extract the useful
information from input data.
• Machine learning involves machines self-developing
models to process data and make predictions
Machine learning
Deep Learning
• Deep Learning is a new area of Machine Learning
research, which has been introduced with the
objective of moving Machine Learning closer to one of
its original goals
• that is concerned with emulating the learning
approach that human beings use to gain certain types
of knowledge.
Why
would we need this
Complexity ?
Image Recognition
Object recognition
Smart Email Reply
Voice recognition
Self- driving
Know all people
surround you
Google Assistant
Text Recognition
Translation
For
The
Developers ?
TensorFlow
• TensorFlow™ is an open source software library for
numerical computation and machine learning.
• Especially useful for Deep learning
• For research and production
• Developed by Google Brain Team
TensorFlow Story
• TensorFlow was originally developed by researchers and
engineers working on the Google Brain Team within
Google's Machine Intelligence research organization for
the purposes of conducting machine learning and deep
neural networks research.
• Most Most popular machine learning library.
o Over 32,000 downlowds
Tensorflow Model
• Big idea: Express a numeric computation as a graph.
• Nodes = Mathematical Operations
o Nodes in the graph represent mathematical operations,
• Data Edges = Multi-Dimensional Arrays
(Tensor)
o communicated between them
• Data (Tensors) flow through the graph
Data flow graphs
• Computation is defined
as directed a cyclic graph (GDA)
o Optimize an objective function.
• Graph is defined in high-level
Language (python, C++,Go)
• Graph is compiled and optimized
• Graph is executed (parts or fully)
On level devices (CPU, GPU).
Architecture
• Core in C++
• Front end code python and C++.
• The flexible architecture allows you to deploy
computation to one or more CPUs or GPUs
Portable & scalable
• deploy computation in a desktop, server, or mobile
device with a single API
Programming model
Programming model
1.Build a graph
2.Initialize a session
3.Fetch and feed data with Session.run
Programming model
(Build a graph)
• Variables are 0-ary stateful
nodes which output their
current value.
• Placeholders are 0-ary
nodes whose value is fed in at
execution time.
• Mathematical operations:
o MatMul: Multiply two matrix
values.
o Add: Add elementwise (with
broadcasting).
o ReLU: Activate with elementwise
rectified linear function.
Programming model
(Build a graph)
• import tensorflow as tf
b = tf.Variable(tf.zeros((100,)))
W=tf.Variable(tf.random_uniform((784,
100), -1, 1))
x = tf.placeholder(tf.float32, (None,
784))
h_i = tf.nn.relu(tf.matmul(x, W) + b)
Programming model
(Initialize & Run session)
• a session: a binding to a particular execution context
sess.run(fetches, feeds)
Fetches: List of graph nodes. Return the outputs of these
nodes.
Feeds: Dictionary mapping from graph nodes to concrete
values. Specifies the value of each graph node given in
the dictionary.
Programming model
(Build a graph)
import numpy as np
import tensorflow as tf
b = tf.Variable(tf.zeros((100,)))
W = tf.Variable(tf.random_uniform((784, 100),
-1, 1))
x = tf.placeholder(tf.float32, (None, 784))
h_i = tf.nn.relu(tf.matmul(x, W) + b)
-----Initial and Run Session-------
sess = tf.Session()
sess.run(tf.initialize_all_variables())
sess.run(h_i, {x: np.random.random(64, 784)})
DEMO
Software tools requirement
and Steps
• Software tools requirement
o Python 3.5.x.
o Microsoft Visual C++ 2015 Redistributable.
• Installing python
• Installing TensorFlow on Windows
• Hello, TensorFlow!
• TensorFlow Image Recognition Demo
Installing TensorFlow on Windows
• Determine which TensorFlow to install.
o TensorFlow with CPU support only. If your system does not
have a NVIDIA® GPU
o TensorFlow with GPU support.
• the mechanism by which you install TensorFlow.
o "native" pip (Recommended )
• Native pip installs TensorFlow directly on your system without going
through a virtual environment.
o Anaconda (not officially supported)
• you may use conda to create a virtual environment.
• https://www.tensorflow.org/install/install_windows
Installing TensorFlow
(Installing with native pip)
Validate your installation
(Hello, TensorFlow!)
1. Start a terminal.
2. Inside that terminal, invoke python:
o C:> python
3. Enter the following short program inside the python
interactive shell:
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
4. Hello, TensorFlow!
Installing TensorFlow on Windows
(Installing with native pip)
Image Recognition
DEMO
• We're now taking the next step by releasing code for
running image recognition on our latest model, Inception-
v3.
• Inception-v3 is trained for the ImageNet Large Visual
Recognition Challenge using the data from 2012.
• The models try to classify entire images into 1000
classes,
like "Zebra", "Dalmatian", and "Dishwasher".
Image Recognition
DEMO
• https://github.com/tensorflow/models
• git clone https://github.com/tensorflow/models
Image Recognition
DEMO
• Usage with Python API
• python classify_image.py
Image Recognition
DEMO
• If you wish to supply other JPEG images, you may do so
by editing the --image_fileargument.
• If you download the model data to a different directory,
you will need to point --model_dir to the directory used.
Image Recognition
DEMO
Companies using
TensorFlow
Contact me
Engmarwaayad@gmail.com
https://eg.linkedin.com/in/marwa-ayad-mohamed-0a405215
https://www.facebook.com/WTM.Cairo/
https://www.facebook.com/YourChildCode

Contenu connexe

Tendances

Introduction to Machine Learning with TensorFlow
Introduction to Machine Learning with TensorFlowIntroduction to Machine Learning with TensorFlow
Introduction to Machine Learning with TensorFlowPaolo Tomeo
 
TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Par...
TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Par...TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Par...
TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Par...Big Data Spain
 
Your first TensorFlow programming with Jupyter
Your first TensorFlow programming with JupyterYour first TensorFlow programming with Jupyter
Your first TensorFlow programming with JupyterEtsuji Nakai
 
Machine learning at scale with Google Cloud Platform
Machine learning at scale with Google Cloud PlatformMachine learning at scale with Google Cloud Platform
Machine learning at scale with Google Cloud PlatformMatthias Feys
 
Neural networks and google tensor flow
Neural networks and google tensor flowNeural networks and google tensor flow
Neural networks and google tensor flowShannon McCormick
 
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...Edureka!
 
Tensorflow presentation
Tensorflow presentationTensorflow presentation
Tensorflow presentationAhmed rebai
 
Spark Meetup TensorFrames
Spark Meetup TensorFramesSpark Meetup TensorFrames
Spark Meetup TensorFramesJen Aman
 
Tensorflow for Beginners
Tensorflow for BeginnersTensorflow for Beginners
Tensorflow for BeginnersSam Dias
 
On the necessity and inapplicability of python
On the necessity and inapplicability of pythonOn the necessity and inapplicability of python
On the necessity and inapplicability of pythonYung-Yu Chen
 
On the Necessity and Inapplicability of Python
On the Necessity and Inapplicability of PythonOn the Necessity and Inapplicability of Python
On the Necessity and Inapplicability of PythonTakeshi Akutsu
 
TensorFlow and Keras: An Overview
TensorFlow and Keras: An OverviewTensorFlow and Keras: An Overview
TensorFlow and Keras: An OverviewPoo Kuan Hoong
 
TensorFrames: Google Tensorflow on Apache Spark
TensorFrames: Google Tensorflow on Apache SparkTensorFrames: Google Tensorflow on Apache Spark
TensorFrames: Google Tensorflow on Apache SparkDatabricks
 
Deep learning with tensorflow
Deep learning with tensorflowDeep learning with tensorflow
Deep learning with tensorflowCharmi Chokshi
 
Neural Networks with Google TensorFlow
Neural Networks with Google TensorFlowNeural Networks with Google TensorFlow
Neural Networks with Google TensorFlowDarshan Patel
 
An Introduction to TensorFlow architecture
An Introduction to TensorFlow architectureAn Introduction to TensorFlow architecture
An Introduction to TensorFlow architectureMani Goswami
 
Rajat Monga, Engineering Director, TensorFlow, Google at MLconf 2016
Rajat Monga, Engineering Director, TensorFlow, Google at MLconf 2016Rajat Monga, Engineering Director, TensorFlow, Google at MLconf 2016
Rajat Monga, Engineering Director, TensorFlow, Google at MLconf 2016MLconf
 

Tendances (19)

Intro to Python
Intro to PythonIntro to Python
Intro to Python
 
Introduction to Machine Learning with TensorFlow
Introduction to Machine Learning with TensorFlowIntroduction to Machine Learning with TensorFlow
Introduction to Machine Learning with TensorFlow
 
TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Par...
TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Par...TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Par...
TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Par...
 
Your first TensorFlow programming with Jupyter
Your first TensorFlow programming with JupyterYour first TensorFlow programming with Jupyter
Your first TensorFlow programming with Jupyter
 
Machine learning at scale with Google Cloud Platform
Machine learning at scale with Google Cloud PlatformMachine learning at scale with Google Cloud Platform
Machine learning at scale with Google Cloud Platform
 
Neural networks and google tensor flow
Neural networks and google tensor flowNeural networks and google tensor flow
Neural networks and google tensor flow
 
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
 
Tensorflow presentation
Tensorflow presentationTensorflow presentation
Tensorflow presentation
 
Tensor flow
Tensor flowTensor flow
Tensor flow
 
Spark Meetup TensorFrames
Spark Meetup TensorFramesSpark Meetup TensorFrames
Spark Meetup TensorFrames
 
Tensorflow for Beginners
Tensorflow for BeginnersTensorflow for Beginners
Tensorflow for Beginners
 
On the necessity and inapplicability of python
On the necessity and inapplicability of pythonOn the necessity and inapplicability of python
On the necessity and inapplicability of python
 
On the Necessity and Inapplicability of Python
On the Necessity and Inapplicability of PythonOn the Necessity and Inapplicability of Python
On the Necessity and Inapplicability of Python
 
TensorFlow and Keras: An Overview
TensorFlow and Keras: An OverviewTensorFlow and Keras: An Overview
TensorFlow and Keras: An Overview
 
TensorFrames: Google Tensorflow on Apache Spark
TensorFrames: Google Tensorflow on Apache SparkTensorFrames: Google Tensorflow on Apache Spark
TensorFrames: Google Tensorflow on Apache Spark
 
Deep learning with tensorflow
Deep learning with tensorflowDeep learning with tensorflow
Deep learning with tensorflow
 
Neural Networks with Google TensorFlow
Neural Networks with Google TensorFlowNeural Networks with Google TensorFlow
Neural Networks with Google TensorFlow
 
An Introduction to TensorFlow architecture
An Introduction to TensorFlow architectureAn Introduction to TensorFlow architecture
An Introduction to TensorFlow architecture
 
Rajat Monga, Engineering Director, TensorFlow, Google at MLconf 2016
Rajat Monga, Engineering Director, TensorFlow, Google at MLconf 2016Rajat Monga, Engineering Director, TensorFlow, Google at MLconf 2016
Rajat Monga, Engineering Director, TensorFlow, Google at MLconf 2016
 

Similaire à 2017 arab wic marwa ayad machine learning

Large Scale Deep Learning with TensorFlow
Large Scale Deep Learning with TensorFlow Large Scale Deep Learning with TensorFlow
Large Scale Deep Learning with TensorFlow Jen Aman
 
Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2Sarah Stemmler
 
Introduction to Tensor Flow-v1.pptx
Introduction to Tensor Flow-v1.pptxIntroduction to Tensor Flow-v1.pptx
Introduction to Tensor Flow-v1.pptxJanagi Raman S
 
ML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.jsML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.jsC4Media
 
Build a Neural Network for ITSM with TensorFlow
Build a Neural Network for ITSM with TensorFlowBuild a Neural Network for ITSM with TensorFlow
Build a Neural Network for ITSM with TensorFlowEntrepreneur / Startup
 
Deep learning with TensorFlow
Deep learning with TensorFlowDeep learning with TensorFlow
Deep learning with TensorFlowNdjido Ardo BAR
 
Machine learning presentation (gdg beja)
Machine learning presentation (gdg beja)Machine learning presentation (gdg beja)
Machine learning presentation (gdg beja)Ahmed rebai
 
Machine learning presentation (gdg beja)
Machine learning presentation (gdg beja)Machine learning presentation (gdg beja)
Machine learning presentation (gdg beja)Ahmed rebai
 
Autonomous Machines with Project Bonsai
Autonomous Machines with Project BonsaiAutonomous Machines with Project Bonsai
Autonomous Machines with Project BonsaiIvo Andreev
 
Google Big Data Expo
Google Big Data ExpoGoogle Big Data Expo
Google Big Data ExpoBigDataExpo
 
2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in AzureBruno Capuano
 
Designing Artificial Intelligence
Designing Artificial IntelligenceDesigning Artificial Intelligence
Designing Artificial IntelligenceDavid Chou
 
Machine Learning Infrastructure
Machine Learning InfrastructureMachine Learning Infrastructure
Machine Learning InfrastructureSigOpt
 

Similaire à 2017 arab wic marwa ayad machine learning (20)

Tensorflow
TensorflowTensorflow
Tensorflow
 
Large Scale Deep Learning with TensorFlow
Large Scale Deep Learning with TensorFlow Large Scale Deep Learning with TensorFlow
Large Scale Deep Learning with TensorFlow
 
Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2
 
Introduction to Tensor Flow-v1.pptx
Introduction to Tensor Flow-v1.pptxIntroduction to Tensor Flow-v1.pptx
Introduction to Tensor Flow-v1.pptx
 
ML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.jsML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.js
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Build a Neural Network for ITSM with TensorFlow
Build a Neural Network for ITSM with TensorFlowBuild a Neural Network for ITSM with TensorFlow
Build a Neural Network for ITSM with TensorFlow
 
Deep learning with TensorFlow
Deep learning with TensorFlowDeep learning with TensorFlow
Deep learning with TensorFlow
 
Machine learning presentation (gdg beja)
Machine learning presentation (gdg beja)Machine learning presentation (gdg beja)
Machine learning presentation (gdg beja)
 
Machine learning presentation (gdg beja)
Machine learning presentation (gdg beja)Machine learning presentation (gdg beja)
Machine learning presentation (gdg beja)
 
Autonomous Machines with Project Bonsai
Autonomous Machines with Project BonsaiAutonomous Machines with Project Bonsai
Autonomous Machines with Project Bonsai
 
Google Big Data Expo
Google Big Data ExpoGoogle Big Data Expo
Google Big Data Expo
 
2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure
 
Designing Artificial Intelligence
Designing Artificial IntelligenceDesigning Artificial Intelligence
Designing Artificial Intelligence
 
Introduction to ML.NET
Introduction to ML.NETIntroduction to ML.NET
Introduction to ML.NET
 
Artificial Intelligence = ML + DL with Tensor Flow
Artificial Intelligence = ML + DL with Tensor FlowArtificial Intelligence = ML + DL with Tensor Flow
Artificial Intelligence = ML + DL with Tensor Flow
 
Machine learning workshop
Machine learning workshopMachine learning workshop
Machine learning workshop
 
Persian MNIST in 5 Minutes
Persian MNIST in 5 MinutesPersian MNIST in 5 Minutes
Persian MNIST in 5 Minutes
 
DIY Java Profiling
DIY Java ProfilingDIY Java Profiling
DIY Java Profiling
 
Machine Learning Infrastructure
Machine Learning InfrastructureMachine Learning Infrastructure
Machine Learning Infrastructure
 

Plus de marwa Ayad Mohamed

Plus de marwa Ayad Mohamed (7)

Google ar
Google arGoogle ar
Google ar
 
software testing
software testing software testing
software testing
 
Front end development gurant
Front end development gurantFront end development gurant
Front end development gurant
 
Front end development session1
Front end development session1Front end development session1
Front end development session1
 
Mobile gpu cloud computing
Mobile gpu cloud computing Mobile gpu cloud computing
Mobile gpu cloud computing
 
Create first-web application-googleappengine
Create first-web application-googleappengineCreate first-web application-googleappengine
Create first-web application-googleappengine
 
 Introduction google cloud platform
 Introduction google cloud platform Introduction google cloud platform
 Introduction google cloud platform
 

Dernier

22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...KrishnaveniKrishnara1
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosVictor Morales
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organizationchnrketan
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHSneha Padhiar
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSneha Padhiar
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 

Dernier (20)

22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitos
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organization
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
ASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductosASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductos
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 

2017 arab wic marwa ayad machine learning

  • 1. Marwa Ayad Mohmed Team Lead Software Engineer WTM/GDG Engmarwaayad@gmail.com || @ayad_marwa 2017 ArabWIC Conference on Arab Women in Computing Machine Learning with Google Tools
  • 2.
  • 3. Marwa Ayad Mohamed • WTM lead Cairo. • +8 year experience in software field. • Graduation Faculty of Engineering Ain Shams University. • Master Degree “Cloud Computing and CPU, GPU integration”. • Researcher in Machine Learning. • Public Speaker and Project monitor. • Founder of YourChildCode.
  • 4.
  • 5. AI & ML & DL
  • 6. ArtificialIntelligence • AI or artificial intelligence : is the simulation of human intelligence processes by machines, especially computer systems. • These processes include learning (the information and rules for using the information). • reasoning (using the rules to reach approximate or definite conclusions).
  • 7. Machine learning • Machine learning is a type of artificial intelligence (AI) that provides computers with the ability to learn without being explicitly programmed. • Machine learning focuses on the development of computer programs that can change when exposed to new data.
  • 8. Machine learning • Supervised learning • Unsupervised learning • Machine learning technics that use multiple learning algorithm to have the applet to extract the useful information from input data. • Machine learning involves machines self-developing models to process data and make predictions
  • 10. Deep Learning • Deep Learning is a new area of Machine Learning research, which has been introduced with the objective of moving Machine Learning closer to one of its original goals • that is concerned with emulating the learning approach that human beings use to gain certain types of knowledge.
  • 11.
  • 12. Why would we need this Complexity ?
  • 22.
  • 23. TensorFlow • TensorFlow™ is an open source software library for numerical computation and machine learning. • Especially useful for Deep learning • For research and production • Developed by Google Brain Team
  • 24. TensorFlow Story • TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research. • Most Most popular machine learning library. o Over 32,000 downlowds
  • 25. Tensorflow Model • Big idea: Express a numeric computation as a graph. • Nodes = Mathematical Operations o Nodes in the graph represent mathematical operations, • Data Edges = Multi-Dimensional Arrays (Tensor) o communicated between them • Data (Tensors) flow through the graph
  • 26. Data flow graphs • Computation is defined as directed a cyclic graph (GDA) o Optimize an objective function. • Graph is defined in high-level Language (python, C++,Go) • Graph is compiled and optimized • Graph is executed (parts or fully) On level devices (CPU, GPU).
  • 27. Architecture • Core in C++ • Front end code python and C++. • The flexible architecture allows you to deploy computation to one or more CPUs or GPUs
  • 28. Portable & scalable • deploy computation in a desktop, server, or mobile device with a single API
  • 30. Programming model 1.Build a graph 2.Initialize a session 3.Fetch and feed data with Session.run
  • 31. Programming model (Build a graph) • Variables are 0-ary stateful nodes which output their current value. • Placeholders are 0-ary nodes whose value is fed in at execution time. • Mathematical operations: o MatMul: Multiply two matrix values. o Add: Add elementwise (with broadcasting). o ReLU: Activate with elementwise rectified linear function.
  • 32. Programming model (Build a graph) • import tensorflow as tf b = tf.Variable(tf.zeros((100,))) W=tf.Variable(tf.random_uniform((784, 100), -1, 1)) x = tf.placeholder(tf.float32, (None, 784)) h_i = tf.nn.relu(tf.matmul(x, W) + b)
  • 33. Programming model (Initialize & Run session) • a session: a binding to a particular execution context sess.run(fetches, feeds) Fetches: List of graph nodes. Return the outputs of these nodes. Feeds: Dictionary mapping from graph nodes to concrete values. Specifies the value of each graph node given in the dictionary.
  • 34. Programming model (Build a graph) import numpy as np import tensorflow as tf b = tf.Variable(tf.zeros((100,))) W = tf.Variable(tf.random_uniform((784, 100), -1, 1)) x = tf.placeholder(tf.float32, (None, 784)) h_i = tf.nn.relu(tf.matmul(x, W) + b) -----Initial and Run Session------- sess = tf.Session() sess.run(tf.initialize_all_variables()) sess.run(h_i, {x: np.random.random(64, 784)})
  • 35. DEMO
  • 36. Software tools requirement and Steps • Software tools requirement o Python 3.5.x. o Microsoft Visual C++ 2015 Redistributable. • Installing python • Installing TensorFlow on Windows • Hello, TensorFlow! • TensorFlow Image Recognition Demo
  • 37. Installing TensorFlow on Windows • Determine which TensorFlow to install. o TensorFlow with CPU support only. If your system does not have a NVIDIA® GPU o TensorFlow with GPU support. • the mechanism by which you install TensorFlow. o "native" pip (Recommended ) • Native pip installs TensorFlow directly on your system without going through a virtual environment. o Anaconda (not officially supported) • you may use conda to create a virtual environment. • https://www.tensorflow.org/install/install_windows
  • 39. Validate your installation (Hello, TensorFlow!) 1. Start a terminal. 2. Inside that terminal, invoke python: o C:> python 3. Enter the following short program inside the python interactive shell: >>> import tensorflow as tf >>> hello = tf.constant('Hello, TensorFlow!') >>> sess = tf.Session() >>> print(sess.run(hello)) 4. Hello, TensorFlow!
  • 40. Installing TensorFlow on Windows (Installing with native pip)
  • 41. Image Recognition DEMO • We're now taking the next step by releasing code for running image recognition on our latest model, Inception- v3. • Inception-v3 is trained for the ImageNet Large Visual Recognition Challenge using the data from 2012. • The models try to classify entire images into 1000 classes, like "Zebra", "Dalmatian", and "Dishwasher".
  • 42. Image Recognition DEMO • https://github.com/tensorflow/models • git clone https://github.com/tensorflow/models
  • 43. Image Recognition DEMO • Usage with Python API • python classify_image.py
  • 44. Image Recognition DEMO • If you wish to supply other JPEG images, you may do so by editing the --image_fileargument. • If you download the model data to a different directory, you will need to point --model_dir to the directory used.
  • 47.