SlideShare a Scribd company logo
1 of 25
Download to read offline
2
Machine Learning
AGENDA
- Machine Learning
- Neural Networks
- Types and Tasks
– Practical Example
- Classification
- Tools Used
- Data Preparation
- Training
- Neural Network Architecture
4
MACHINE
LEARNING
Machine learning is not just HYPE.
It is much more, and currently is a technology that is being used more and more
often.
5
MACHINE LEARNING
In its most basic conception, it allows a generic algorithm to solve a problem
where the input information is not exactly as expected.
It gives a program the ability to interpret new information and understand its
meaning.
6
DIFFERENT WAYS TO LEARN
Supervised
The model is built
upon previous
data. This data,
used for learning is
already known.
The computer works
out the relationship
between input -
output.
Task driven.
Unsupervised
There is no previous
information in this
model.
The algorithm must
be able to extract
valid (useful)
information from
the data presented.
Data driven.
Reinforcement
Interaction with a
dynamic
environment
(constantly
changing) provides
information as
feedback to the
Machine Learning
algorithm.
The feedback takes
the form of
“rewards” and
“punishments”.
SUPERVISED LEARNING
APPLICATIONS
• Database Marketing
• Handwriting Recognition
• Object Recognition
• OCR
• Spam Detection
• Pattern Recognition
• Speech Recognition
7
UNSUPERVISED LEARNING
APPLICATIONS
• Cluster Analysis
• Anomaly Detection
• Multivariate Analysis
8
REINFORCEMENT LEARNING
APPLICATIONS
• Game Theory and Multi-Agent Interaction
• Robotics
• Computer Networking
• Vehicular Navigation
• Industrial Logistic
9
10
NEURAL
NETWORKS
NEURAL NETWORKS
What is a Neural Network?
A neural network is a set of connected nodes (grouped in one or more layers).
Each node can take a set of inputs, applies weight to them and calculate an
output value.
These output values are the input for the next layer of nodes.
What we call “nodes” are in reality large matrices being kept in memory.
A layer is a collection of matrices.
11
DIFFERENT MODELS OF
NETWORKS
Stateless
The algorithm has no memory,
there is no effectivity to
respond to patterns over time.
Stateful
The algorithm saves a set of the
internal calculation, and this is
re-used the next time as part
of the input.
It has memory. It can produce a
result based not only on
current data but also on
previously computed data.
12
MACHINE LEARNING TASKS
Classification
The output is a classification (i.e.
Spam or Not Spam).
This is an example of Supervised
learning, the classes are all
known beforehand.
Dimensionality Reduction
Reduces the dimensions of the input
data, in order to simplify a
problem, and to filter out outliers
and random variables (Variables
that are not functional to the
statistical solution of the problem).
Regression
The output is a continuous
value, a probability value
(0 to 1) for each input
class.
Naturally, the sum of all
probabilities must
amount to 1.
13
Clustering
Grouping of information.
Similar to Classification,
but on an Unsupervised
network. Information is
grouped in classes,
unknown at the start of
the process.
14
CLASSIFICATION
15
Sure, easy GIS lookup, give me a few hours!
When a user takes a photo, the APP should
check whether they are in a National Park …
… and check whether the photo is of a bird.
I will need a research team and five years.
Ref: https://xkcd.com/1425/
16
CLASSIFICATION
SIMPLIFIED MODEL
17
Example:
COINS
IDENTIFICATION
25
1
10
2
?
50
2
1
50
2
25
2
10
10
TOOLS
OpenCV
Computer Vision.
• Edge detection.
• Image transformations
(depth, size, shape, etc.)
• Accessing camera feeds.
• Filtering images (applying all
types of filters)
It has implementations for
c++, Java, Python, Android
and IOS.
Also there is a component
called Emgu, which is a port
for .NET applications.
Scipy
Open Source python
ecosystem of software for
mathematics, science and
engineering.
Tensorflow
Google Deep Learning library.
It provides method for
handling Data input /
output, construct a ML
model (with many different
options) and adding all kinds
of configurable layers.
18
TFLearn
Python wrapper around
Tensorflow. Exposes a
simplified library allowing
easier scripting and
modeling of Neural
Networks, handling data
sets, etc.
Python
Powerful scripting Language.
Supports multithreading, 64
bits, etc.
Anaconda
Anaconda provides work
environment isolation and
package management for
Python.
Multiple environments can be
defined, each one with a
different Python version and
modules loaded.
Tensorbox
Java desktop application that
enables monitoring training of
the Neural Networks in real
time.
MODEL SELECTED
Learning Type : Supervised Learning
Clear classification, known beforehand. The only result expected is a
classification whithin a restricted universe (Just three classes). There are
no other classes allowed.
Learning Task : Regression
Having a probability value allows for thresholding of the final result (fine
tunning). The final user could decide to adjust the value for reducing either
“false positives” or “true negatives”.
19
DATA PREPARATION
Images of both sides of One Peso and Two Pesos current Arengentine coins
(Most ordinary, not special editions).
All images where converted to 128x128 size and also to 24 Bits Per Pixel
(this is important, it will determine the dimensions of the matrices in the
Tensorflow Vectors).
So, ten classes (Two for each denomination, side A and B), with a total of
451 images.
Each image is rotated every 15 degrees, and each resultant image is
augmented in brightness 4 times (So each image, results in 96 images).
Final data set, 43296 images. 30 % of this set is used for validation.
20
SUMMARY - Training
21
Neural Network Model
Convolutional Neural Network Architecture
• 1st Layer: Convolutional, Max Pooling, Relu
• 2nd Layer: Convolutional, Max Pooling, Relu
• 3rd Layer: Convolutional, Max Pooling, Relu
• Layer Flattening
• Fully Connected Layer
• Fully Connected Layer (With Number of Nodes = Number of Classes)
• Softmax
22
DETECTION APP
23
Circle detection is done
using OpenCV
HoughCircles function.
1
2
The image to compare to
the trained model has to
be as similar as those used
to train the model in the
first place.
1 2
REFERENCES
LINKS:
OpenCV : http://opencv.org
Tensorflow: https://tensorflow.org
TFLearn: http://tflearn.org
Anaconda:
https://anaconda.org/anaconda/python
Scipy: https://www.scipy.org
Emgu: http://www.emgu.com
24
Thanks…
http://www.xgem.com.ar
@JuanCarniglia

More Related Content

What's hot

Machine learning - AI
Machine learning - AIMachine learning - AI
Machine learning - AIWitekio
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachinePulse
 
Data Science Interview Questions | Data Science Interview Questions And Answe...
Data Science Interview Questions | Data Science Interview Questions And Answe...Data Science Interview Questions | Data Science Interview Questions And Answe...
Data Science Interview Questions | Data Science Interview Questions And Answe...Simplilearn
 
A Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningA Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningHaptik
 
Machine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersMachine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersSatyam Jaiswal
 
Understanding Basics of Machine Learning
Understanding Basics of Machine LearningUnderstanding Basics of Machine Learning
Understanding Basics of Machine LearningPranav Ainavolu
 
Unsupervised learning
Unsupervised learningUnsupervised learning
Unsupervised learningamalalhait
 
Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Usama Fayyaz
 
Feature extraction for classifying students based on theirac ademic performance
Feature extraction for classifying students based on theirac ademic performanceFeature extraction for classifying students based on theirac ademic performance
Feature extraction for classifying students based on theirac ademic performanceVenkat Projects
 
DagdelenSiriwardaneY..
DagdelenSiriwardaneY..DagdelenSiriwardaneY..
DagdelenSiriwardaneY..butest
 
Computation graphs - Tensorflow & CNTK
Computation graphs - Tensorflow & CNTKComputation graphs - Tensorflow & CNTK
Computation graphs - Tensorflow & CNTKA H M Forhadul Islam
 
Student intervention detection using deep learning technique
Student intervention detection using deep learning techniqueStudent intervention detection using deep learning technique
Student intervention detection using deep learning techniqueVenkat Projects
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning BasicsSuresh Arora
 
Machine learning
Machine learningMachine learning
Machine learningAbrar ali
 

What's hot (19)

Machine learning - AI
Machine learning - AIMachine learning - AI
Machine learning - AI
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World Applications
 
Applications of Machine Learning
Applications of Machine LearningApplications of Machine Learning
Applications of Machine Learning
 
Data Science Interview Questions | Data Science Interview Questions And Answe...
Data Science Interview Questions | Data Science Interview Questions And Answe...Data Science Interview Questions | Data Science Interview Questions And Answe...
Data Science Interview Questions | Data Science Interview Questions And Answe...
 
A Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningA Friendly Introduction to Machine Learning
A Friendly Introduction to Machine Learning
 
Machine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersMachine Learning Interview Questions and Answers
Machine Learning Interview Questions and Answers
 
Understanding Basics of Machine Learning
Understanding Basics of Machine LearningUnderstanding Basics of Machine Learning
Understanding Basics of Machine Learning
 
Unsupervised learning
Unsupervised learningUnsupervised learning
Unsupervised learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning
 
What is Machine Learning
What is Machine LearningWhat is Machine Learning
What is Machine Learning
 
Tree pruning
Tree pruningTree pruning
Tree pruning
 
Feature extraction for classifying students based on theirac ademic performance
Feature extraction for classifying students based on theirac ademic performanceFeature extraction for classifying students based on theirac ademic performance
Feature extraction for classifying students based on theirac ademic performance
 
DagdelenSiriwardaneY..
DagdelenSiriwardaneY..DagdelenSiriwardaneY..
DagdelenSiriwardaneY..
 
Computation graphs - Tensorflow & CNTK
Computation graphs - Tensorflow & CNTKComputation graphs - Tensorflow & CNTK
Computation graphs - Tensorflow & CNTK
 
Machine Learning for Dummies
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
 
Student intervention detection using deep learning technique
Student intervention detection using deep learning techniqueStudent intervention detection using deep learning technique
Student intervention detection using deep learning technique
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning Basics
 
Machine learning
Machine learningMachine learning
Machine learning
 

Similar to xGem Machine Learning

Getting started with Machine Learning
Getting started with Machine LearningGetting started with Machine Learning
Getting started with Machine LearningGaurav Bhalotia
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learningJohnson Ubah
 
A Platform for Accelerating Machine Learning Applications
 A Platform for Accelerating Machine Learning Applications A Platform for Accelerating Machine Learning Applications
A Platform for Accelerating Machine Learning ApplicationsNVIDIA Taiwan
 
Intro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationIntro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationAnkit Gupta
 
notes as .ppt
notes as .pptnotes as .ppt
notes as .pptbutest
 
Gans - Generative Adversarial Nets
Gans - Generative Adversarial NetsGans - Generative Adversarial Nets
Gans - Generative Adversarial NetsSajalRastogi8
 
deepnet-lourentzou.ppt
deepnet-lourentzou.pptdeepnet-lourentzou.ppt
deepnet-lourentzou.pptyang947066
 
Machine learning in science and industry — day 4
Machine learning in science and industry — day 4Machine learning in science and industry — day 4
Machine learning in science and industry — day 4arogozhnikov
 
Accelerating stochastic gradient descent using adaptive mini batch size3
Accelerating stochastic gradient descent using adaptive mini batch size3Accelerating stochastic gradient descent using adaptive mini batch size3
Accelerating stochastic gradient descent using adaptive mini batch size3muayyad alsadi
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.pptARVIND SARDAR
 
Facial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional FaceFacial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional FaceTakrim Ul Islam Laskar
 
Separating Hype from Reality in Deep Learning with Sameer Farooqui
 Separating Hype from Reality in Deep Learning with Sameer Farooqui Separating Hype from Reality in Deep Learning with Sameer Farooqui
Separating Hype from Reality in Deep Learning with Sameer FarooquiDatabricks
 
Course Title CS591-Advance Artificial Intelligence
Course Title CS591-Advance Artificial Intelligence           Course Title CS591-Advance Artificial Intelligence
Course Title CS591-Advance Artificial Intelligence CruzIbarra161
 
machinecanthink-160226155704.pdf
machinecanthink-160226155704.pdfmachinecanthink-160226155704.pdf
machinecanthink-160226155704.pdfPranavPatil822557
 

Similar to xGem Machine Learning (20)

Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Getting started with Machine Learning
Getting started with Machine LearningGetting started with Machine Learning
Getting started with Machine Learning
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptx
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learning
 
Human Emotion Recognition
Human Emotion RecognitionHuman Emotion Recognition
Human Emotion Recognition
 
Occurrence Prediction_NLP
Occurrence Prediction_NLPOccurrence Prediction_NLP
Occurrence Prediction_NLP
 
A Platform for Accelerating Machine Learning Applications
 A Platform for Accelerating Machine Learning Applications A Platform for Accelerating Machine Learning Applications
A Platform for Accelerating Machine Learning Applications
 
Intro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationIntro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning Presentation
 
notes as .ppt
notes as .pptnotes as .ppt
notes as .ppt
 
Gans - Generative Adversarial Nets
Gans - Generative Adversarial NetsGans - Generative Adversarial Nets
Gans - Generative Adversarial Nets
 
deepnet-lourentzou.ppt
deepnet-lourentzou.pptdeepnet-lourentzou.ppt
deepnet-lourentzou.ppt
 
Machine learning in science and industry — day 4
Machine learning in science and industry — day 4Machine learning in science and industry — day 4
Machine learning in science and industry — day 4
 
Accelerating stochastic gradient descent using adaptive mini batch size3
Accelerating stochastic gradient descent using adaptive mini batch size3Accelerating stochastic gradient descent using adaptive mini batch size3
Accelerating stochastic gradient descent using adaptive mini batch size3
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.ppt
 
Machine learning
 Machine learning Machine learning
Machine learning
 
Facial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional FaceFacial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional Face
 
Separating Hype from Reality in Deep Learning with Sameer Farooqui
 Separating Hype from Reality in Deep Learning with Sameer Farooqui Separating Hype from Reality in Deep Learning with Sameer Farooqui
Separating Hype from Reality in Deep Learning with Sameer Farooqui
 
Machine Can Think
Machine Can ThinkMachine Can Think
Machine Can Think
 
Course Title CS591-Advance Artificial Intelligence
Course Title CS591-Advance Artificial Intelligence           Course Title CS591-Advance Artificial Intelligence
Course Title CS591-Advance Artificial Intelligence
 
machinecanthink-160226155704.pdf
machinecanthink-160226155704.pdfmachinecanthink-160226155704.pdf
machinecanthink-160226155704.pdf
 

Recently uploaded

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 

xGem Machine Learning

  • 1.
  • 3. AGENDA - Machine Learning - Neural Networks - Types and Tasks – Practical Example - Classification - Tools Used - Data Preparation - Training - Neural Network Architecture
  • 5. Machine learning is not just HYPE. It is much more, and currently is a technology that is being used more and more often. 5 MACHINE LEARNING In its most basic conception, it allows a generic algorithm to solve a problem where the input information is not exactly as expected. It gives a program the ability to interpret new information and understand its meaning.
  • 6. 6 DIFFERENT WAYS TO LEARN Supervised The model is built upon previous data. This data, used for learning is already known. The computer works out the relationship between input - output. Task driven. Unsupervised There is no previous information in this model. The algorithm must be able to extract valid (useful) information from the data presented. Data driven. Reinforcement Interaction with a dynamic environment (constantly changing) provides information as feedback to the Machine Learning algorithm. The feedback takes the form of “rewards” and “punishments”.
  • 7. SUPERVISED LEARNING APPLICATIONS • Database Marketing • Handwriting Recognition • Object Recognition • OCR • Spam Detection • Pattern Recognition • Speech Recognition 7
  • 8. UNSUPERVISED LEARNING APPLICATIONS • Cluster Analysis • Anomaly Detection • Multivariate Analysis 8
  • 9. REINFORCEMENT LEARNING APPLICATIONS • Game Theory and Multi-Agent Interaction • Robotics • Computer Networking • Vehicular Navigation • Industrial Logistic 9
  • 11. NEURAL NETWORKS What is a Neural Network? A neural network is a set of connected nodes (grouped in one or more layers). Each node can take a set of inputs, applies weight to them and calculate an output value. These output values are the input for the next layer of nodes. What we call “nodes” are in reality large matrices being kept in memory. A layer is a collection of matrices. 11
  • 12. DIFFERENT MODELS OF NETWORKS Stateless The algorithm has no memory, there is no effectivity to respond to patterns over time. Stateful The algorithm saves a set of the internal calculation, and this is re-used the next time as part of the input. It has memory. It can produce a result based not only on current data but also on previously computed data. 12
  • 13. MACHINE LEARNING TASKS Classification The output is a classification (i.e. Spam or Not Spam). This is an example of Supervised learning, the classes are all known beforehand. Dimensionality Reduction Reduces the dimensions of the input data, in order to simplify a problem, and to filter out outliers and random variables (Variables that are not functional to the statistical solution of the problem). Regression The output is a continuous value, a probability value (0 to 1) for each input class. Naturally, the sum of all probabilities must amount to 1. 13 Clustering Grouping of information. Similar to Classification, but on an Unsupervised network. Information is grouped in classes, unknown at the start of the process.
  • 15. 15 Sure, easy GIS lookup, give me a few hours! When a user takes a photo, the APP should check whether they are in a National Park … … and check whether the photo is of a bird. I will need a research team and five years. Ref: https://xkcd.com/1425/
  • 18. TOOLS OpenCV Computer Vision. • Edge detection. • Image transformations (depth, size, shape, etc.) • Accessing camera feeds. • Filtering images (applying all types of filters) It has implementations for c++, Java, Python, Android and IOS. Also there is a component called Emgu, which is a port for .NET applications. Scipy Open Source python ecosystem of software for mathematics, science and engineering. Tensorflow Google Deep Learning library. It provides method for handling Data input / output, construct a ML model (with many different options) and adding all kinds of configurable layers. 18 TFLearn Python wrapper around Tensorflow. Exposes a simplified library allowing easier scripting and modeling of Neural Networks, handling data sets, etc. Python Powerful scripting Language. Supports multithreading, 64 bits, etc. Anaconda Anaconda provides work environment isolation and package management for Python. Multiple environments can be defined, each one with a different Python version and modules loaded. Tensorbox Java desktop application that enables monitoring training of the Neural Networks in real time.
  • 19. MODEL SELECTED Learning Type : Supervised Learning Clear classification, known beforehand. The only result expected is a classification whithin a restricted universe (Just three classes). There are no other classes allowed. Learning Task : Regression Having a probability value allows for thresholding of the final result (fine tunning). The final user could decide to adjust the value for reducing either “false positives” or “true negatives”. 19
  • 20. DATA PREPARATION Images of both sides of One Peso and Two Pesos current Arengentine coins (Most ordinary, not special editions). All images where converted to 128x128 size and also to 24 Bits Per Pixel (this is important, it will determine the dimensions of the matrices in the Tensorflow Vectors). So, ten classes (Two for each denomination, side A and B), with a total of 451 images. Each image is rotated every 15 degrees, and each resultant image is augmented in brightness 4 times (So each image, results in 96 images). Final data set, 43296 images. 30 % of this set is used for validation. 20
  • 22. Neural Network Model Convolutional Neural Network Architecture • 1st Layer: Convolutional, Max Pooling, Relu • 2nd Layer: Convolutional, Max Pooling, Relu • 3rd Layer: Convolutional, Max Pooling, Relu • Layer Flattening • Fully Connected Layer • Fully Connected Layer (With Number of Nodes = Number of Classes) • Softmax 22
  • 23. DETECTION APP 23 Circle detection is done using OpenCV HoughCircles function. 1 2 The image to compare to the trained model has to be as similar as those used to train the model in the first place. 1 2
  • 24. REFERENCES LINKS: OpenCV : http://opencv.org Tensorflow: https://tensorflow.org TFLearn: http://tflearn.org Anaconda: https://anaconda.org/anaconda/python Scipy: https://www.scipy.org Emgu: http://www.emgu.com 24