SlideShare a Scribd company logo
Intro to Machine Learning
By: Hesham Gowaily
Agenda
- Introduction to AI.
- What is Machine Learning.
- Types of Machine Learning.
- ML Case Studies.
- How to study ML.
Introduction to AI
AI Applications
• Face Recognition
• handwriting analysis
• Automatic Captioning
• Object Tracking
• Image Styling
• Machine Translation
• Sentiment Analysis
• Chatbots
• Automatic Text
Generation
• Virtual Assistants
• Voice Search
• Speech generation
• Medical Diagnosis
• Personalized Medicine
• Early detection
• Trading bots
• Stock predictions
• Fraud Detection
• Personalized Ads
• Product
Recommendations
• Autonomous cars
• Robotic Surgery
History of AI
The Big Data Era
Data
• Large volumes
of data is
produced
everyday.
• Everyone has a
phone packed
with several
sensors.
Infrastructure
• The computing
power of GPUs
has increased
dramatically.
• Cloud providers
offer online
computing
(IaaS).
Services
• User
applications:
YouTube, Gmail,
Facebook,
Twitter.
• Online storage
available for
free or low cost.
Notable AI Achievements
ImageNet is a database
of 14 million images with
over 20,000 categories.
GPT-3 is a language
model with 175 billion
learning parameters.
AI Jargon
Overlapping AI Related Terminology
• Artificial Intelligence (AI)
Trying to simulate human intelligence.
• Machine Learning (ML)
Learn by example from experience and historic
data.
• Deep Learning (DL)
Learn patterns using multi-layered data
processors.
• Data Science (DS)
Uses a variety of scientific methods, processes
and systems to solve problems involving data.
• Big Data
Analyze data sets that are too large or complex.
Artificial
Intelligence
Machine
Learning Data
Science
Deep
Learning
Big Data
What is Machine Learning
What is Machine Learning
The subfield of computer science that “gives computers the ability to
learn without being explicitly programmed”.(Arthur Samuel, 1959)
Using previous data for answering future questions
Historic may contain answers or may not contain answers
Training Prediction
Labeled Unlabeled
Machine Learning vs. Traditional Programming
Traditional
Programming
Machine
Learning
Data
Rules
Answers
Data
Answers
Rules
Traditional Programming:
• Business requirements and data are analyzed.
• A set of hard-coded rules are programmed and
tested.
• Program process new data based on the coded
rules.
Machine Learning:
• Data and their labels (answers) are fed into a
model.
• Model “learns” useful features and frequent
patterns to predict answers.
• Trained model is used to “predict” answers for
new data.
• Traditional Approach:
Price = 1.2 x Area + 0.7 x # Bedrooms +
0.3 x # Bathrooms
Pricing formula is known
beforehand and is explicitly hard-
coded. The formula can be
deducted by manual analysis or
SME domain experience.
• Machine Learning:
Price = A x Area + B x # Bedrooms + C
x # Bathrooms
Pricing Formula is unknown at
the beginning and would need
the model to be trained to
“Learn” the formula attributes
A,B and C.
HOUSING PRICES
Estimate housing prices based on 3 features (properties):
Area of the House, Number of Bedrooms, Number of Bathrooms
Housing Prices
Area #Bedrooms #Bathrooms Price
130 3 1 1,200
160 3 2 1,500
90 2 1 900
…
Model
Hyperp
aramet
ers
Optimiz
ation
Price = A x Area + B x # Bedrooms
+ C x # Bathrooms
A = 1.247
B = 0.682
C = 0.319
Input Dataset:
Contains prepared
historic data of
actual house sales.
Model:
Model Learns appropriate
“Parameters” to “Fit” the
input data.
Output:
Parameters that completes the
formula and can be generalized to
predict unsold houses.
Types of Machine Learning
Types of Learning
•Supervised Learning
•Unsupervised Learning
•Semi-supervised Learning
•Reinforcement Learning
Supervised Learning
• Learn through examples collected from historic data.
• Examples contain the desired output (labels) that
will be predicted for future data.
• Is this a cat or a dog?
• Is this email a spam or not?
• What is the market value of a house given its area and
number of bedrooms?
Supervised
Unsupervised
Semi-
Supervised
Reinforcement
Supervised Learning
Output is continuous. Predicts
numerical values such as prices or
temperature.
Supervised
Unsupervised
Semi-
Supervised
Reinforcement
Regression
Classification
Output is discrete. Predicts
categorical labels such as: Cat or
Dog.
Unsupervised Learning
• Using historic data that has no labels.
• Discovers the intrinsic links of data.
• Group photos into 20 groups based on their metadata.
• Segment customer profiles based on their demographics
and purchase behavior.
• Find an anomaly in credit card usage patterns.
Supervised
Unsupervised
Semi-
Supervised
Reinforcement
Unsupervised Learning
• Useful for learning structure in the data (clustering)
or detecting outliers (anomaly).
Supervised
Unsupervised
Semi-
Supervised
Reinforcement Anomaly
Semi-Supervised Learning
• Historic data has a small amount of labeled data,
and a large amount of unlabeled data.
• The cost of manually labeling all data is prohibitive.
• The problem is initially treated as Unsupervised to group
data to different structure.
• After that, available labels are used to label entire
clusters.
Supervised
Unsupervised
Semi-
Supervised
Reinforcement
Reinforcement Learning
• An agent interacts with an environment and watches
the result of the interaction.
• Environment gives feedback via a positive or
negative reward signal.
• The agent learns to optimize its interactions to
maximize the reward.
• An autonomous vehicle learns to put safety first, minimize
ride time, and obey the rules of law.
• An stock trading agent can decide to buy, sell or hold
based on market status and transactions profit/loss.
Supervised
Unsupervised
Semi-
Supervised
Reinforcement
ML Case Studies.
ML Productizing
AI-First AI-Inside
Actionable
Insights
AI tech is at the center and
is essential to the product
function. Examples: Virtual
assistants, Chatbots, self-
driving cars.
AI adds a useful function
that enhances user
experience. Example:
Recommendation engines,
process automation, Fraud
detection
AI leveraging data that you
collect to make informed
decisions.
Examples: Sales forecast,
Churn analysis
Case Study: Netflix Recommendation
Personalized recommendation using
Collaborative filtering
Scale:
• Volume: 13,612 titles (2019)
• Subs: 159 million (2020)
Results:
• High engagement rate, Low churn
• Personalization and recommendations
save Netflix more than $1Billion per
year.
Case Study: Infervision Cancer Diagnosis
Predominantly used in early-stage lung
cancer screening. Employs more than 50
deep learning algorithms to determine
each diagnosis
Scale:
• Trained using over 200,000 scans in
trials at 20 hospitals.
Results:
• Helped reduce the rate of missed cancer
diagnoses by 50 percent.
Case Study: Amazon Inventory Optimization
ML-powered inventory optimization
ensures that inventory preemptively
caters for forecast demands.
Scale:
• ship an average of 10 million packages
per day.
Results:
• Store 40% more inventory.
• Fulfill 1 and 2 days shipping on time.
How To Study ML
Study Pre-requisites
Math Programming Tools/Concepts
Probability and
Statistics
Python Modern IDE’s
Linear Algebra R Data tools
Calculus
Mathematics Study tips
• Probability Book
A First Course In Probability 9th ed.
• Mathematics for Machine Learning
3Blue1Brown
• Coursera: Mathematics for Machine Learning, by Imperial College of London
https://www.coursera.org/specializations/mathematics-machine-learning
• Book: Mathematics for Machine Learning
https://mml-book.github.io/
• Coursera: Machine Learning, offered by Stanford
https://www.coursera.org/learn/machine-learning
• YouTube: Stanford CS 229 – Machine Learning (Math focused)
https://www.youtube.com/playlist?list=PLoROMvodv4rMiGQp3WXShtMGgzqpfVfbU
• Book: Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd
Edition
https://www.oreilly.com/library/view/hands-on-machine-learning/9781492032632/
Machine Learning Study tips
QUESTIONS
Website
Datapartz.com
YouTube
Data Partz
LinkedIn
http://linkedin.com/in/heshamgowaily
Twitter
@heshamgowaily
Email
heshamgowaily@gmail.com
Phone
+20 (106) 700-5566
Thank You

More Related Content

What's hot

The fundamentals of Machine Learning
The fundamentals of Machine LearningThe fundamentals of Machine Learning
The fundamentals of Machine Learning
Hichem Felouat
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Vivek Garg
 
Applications in Machine Learning
Applications in Machine LearningApplications in Machine Learning
Applications in Machine Learning
Joel Graff
 
Machine learning
Machine learningMachine learning
Machine learning
eonx_32
 
Machine learning
Machine learningMachine learning
Machine learning
Dr Geetha Mohan
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Shrey Malik
 
Performance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsPerformance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning Algorithms
Kush Kulshrestha
 
Basics of Machine Learning
Basics of Machine LearningBasics of Machine Learning
Basics of Machine Learningbutest
 
Machine learning
Machine learning Machine learning
Machine learning
Saurabh Agrawal
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
Rahul Jain
 
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Tutori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Tutori...Machine Learning Algorithms | Machine Learning Tutorial | Data Science Tutori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Tutori...
Edureka!
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
Sujit Pal
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
Marina Santini
 
Overfitting & Underfitting
Overfitting & UnderfittingOverfitting & Underfitting
Overfitting & Underfitting
SOUMIT KAR
 
Machine-Learning-A-Z-Course-Downloadable-Slides-V1.5.pdf
Machine-Learning-A-Z-Course-Downloadable-Slides-V1.5.pdfMachine-Learning-A-Z-Course-Downloadable-Slides-V1.5.pdf
Machine-Learning-A-Z-Course-Downloadable-Slides-V1.5.pdf
Maris R
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learning
UmmeSalmaM1
 
Machine learning
Machine learningMachine learning
Machine learning
Sandeep Singh
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Sajitha Burvin
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Rahul Kumar
 
Adaptive Machine Learning for Credit Card Fraud Detection
Adaptive Machine Learning for Credit Card Fraud DetectionAdaptive Machine Learning for Credit Card Fraud Detection
Adaptive Machine Learning for Credit Card Fraud Detection
Andrea Dal Pozzolo
 

What's hot (20)

The fundamentals of Machine Learning
The fundamentals of Machine LearningThe fundamentals of Machine Learning
The fundamentals of Machine Learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Applications in Machine Learning
Applications in Machine LearningApplications in Machine Learning
Applications in Machine Learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Performance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsPerformance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning Algorithms
 
Basics of Machine Learning
Basics of Machine LearningBasics of Machine Learning
Basics of Machine Learning
 
Machine learning
Machine learning Machine learning
Machine learning
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Tutori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Tutori...Machine Learning Algorithms | Machine Learning Tutorial | Data Science Tutori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Tutori...
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
 
Overfitting & Underfitting
Overfitting & UnderfittingOverfitting & Underfitting
Overfitting & Underfitting
 
Machine-Learning-A-Z-Course-Downloadable-Slides-V1.5.pdf
Machine-Learning-A-Z-Course-Downloadable-Slides-V1.5.pdfMachine-Learning-A-Z-Course-Downloadable-Slides-V1.5.pdf
Machine-Learning-A-Z-Course-Downloadable-Slides-V1.5.pdf
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Adaptive Machine Learning for Credit Card Fraud Detection
Adaptive Machine Learning for Credit Card Fraud DetectionAdaptive Machine Learning for Credit Card Fraud Detection
Adaptive Machine Learning for Credit Card Fraud Detection
 

Similar to Intro to machine learning

predictive analysis and usage in procurement ppt 2017
predictive analysis and usage in procurement  ppt 2017predictive analysis and usage in procurement  ppt 2017
predictive analysis and usage in procurement ppt 2017
Prashant Bhatmule
 
H2O World - Machine Learning for non-data scientists
H2O World - Machine Learning for non-data scientistsH2O World - Machine Learning for non-data scientists
H2O World - Machine Learning for non-data scientists
Sri Ambati
 
Knowledge Discovery
Knowledge DiscoveryKnowledge Discovery
Knowledge Discovery
André Karpištšenko
 
AI and Data Science.pdf
AI and Data Science.pdfAI and Data Science.pdf
AI and Data Science.pdf
MohammadMuzammilAnsa2
 
IBM i & Data Science in the AI era.
IBM i & Data Science in the AI era.  IBM i & Data Science in the AI era.
IBM i & Data Science in the AI era.
Benoit Marolleau
 
AI/ML Week: Support Fraud Analytics & Risk Management
AI/ML Week: Support Fraud Analytics & Risk ManagementAI/ML Week: Support Fraud Analytics & Risk Management
AI/ML Week: Support Fraud Analytics & Risk Management
Amazon Web Services
 
Barga Galvanize Sept 2015
Barga Galvanize Sept 2015Barga Galvanize Sept 2015
Barga Galvanize Sept 2015
Roger Barga
 
Ai and analytics for business
Ai and analytics for businessAi and analytics for business
Ai and analytics for business
Jenny Midwinter
 
Intro to machine learning for web folks @ BlendWebMix
Intro to machine learning for web folks @ BlendWebMixIntro to machine learning for web folks @ BlendWebMix
Intro to machine learning for web folks @ BlendWebMix
Louis Dorard
 
Essential concepts for machine learning
Essential concepts for machine learning Essential concepts for machine learning
Essential concepts for machine learning
pyingkodi maran
 
Whats Next for Machine Learning
Whats Next for Machine LearningWhats Next for Machine Learning
Whats Next for Machine Learning
Ogilvy Consulting
 
What is Machine Learning.pptx
What is Machine Learning.pptxWhat is Machine Learning.pptx
What is Machine Learning.pptx
kprasad8
 
Machine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional ManagersMachine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional Managers
Albert Y. C. Chen
 
Machine Learning in Cyber Security
Machine Learning in Cyber SecurityMachine Learning in Cyber Security
Machine Learning in Cyber Security
Rishi Kant
 
How Machine Learning Can Transform The Customer Experience
How Machine Learning Can Transform The Customer ExperienceHow Machine Learning Can Transform The Customer Experience
How Machine Learning Can Transform The Customer Experience
Product School
 
Scaling Training Data for AI Applications
Scaling Training Data for AI ApplicationsScaling Training Data for AI Applications
Scaling Training Data for AI Applications
Applause
 
Machine learning ppt
Machine learning ppt Machine learning ppt
Machine learning ppt
Poojamanic
 
Five FinTech Trends in 2018
Five FinTech Trends in 2018Five FinTech Trends in 2018
Five FinTech Trends in 2018
PortfolioQuest
 
How to Wrangle Data for Machine Learning on AWS
 How to Wrangle Data for Machine Learning on AWS How to Wrangle Data for Machine Learning on AWS
How to Wrangle Data for Machine Learning on AWS
Amazon Web Services
 

Similar to Intro to machine learning (20)

predictive analysis and usage in procurement ppt 2017
predictive analysis and usage in procurement  ppt 2017predictive analysis and usage in procurement  ppt 2017
predictive analysis and usage in procurement ppt 2017
 
H2O World - Machine Learning for non-data scientists
H2O World - Machine Learning for non-data scientistsH2O World - Machine Learning for non-data scientists
H2O World - Machine Learning for non-data scientists
 
Knowledge Discovery
Knowledge DiscoveryKnowledge Discovery
Knowledge Discovery
 
AI and Data Science.pdf
AI and Data Science.pdfAI and Data Science.pdf
AI and Data Science.pdf
 
IBM i & Data Science in the AI era.
IBM i & Data Science in the AI era.  IBM i & Data Science in the AI era.
IBM i & Data Science in the AI era.
 
AI/ML Week: Support Fraud Analytics & Risk Management
AI/ML Week: Support Fraud Analytics & Risk ManagementAI/ML Week: Support Fraud Analytics & Risk Management
AI/ML Week: Support Fraud Analytics & Risk Management
 
Barga Galvanize Sept 2015
Barga Galvanize Sept 2015Barga Galvanize Sept 2015
Barga Galvanize Sept 2015
 
Data mining
Data miningData mining
Data mining
 
Ai and analytics for business
Ai and analytics for businessAi and analytics for business
Ai and analytics for business
 
Intro to machine learning for web folks @ BlendWebMix
Intro to machine learning for web folks @ BlendWebMixIntro to machine learning for web folks @ BlendWebMix
Intro to machine learning for web folks @ BlendWebMix
 
Essential concepts for machine learning
Essential concepts for machine learning Essential concepts for machine learning
Essential concepts for machine learning
 
Whats Next for Machine Learning
Whats Next for Machine LearningWhats Next for Machine Learning
Whats Next for Machine Learning
 
What is Machine Learning.pptx
What is Machine Learning.pptxWhat is Machine Learning.pptx
What is Machine Learning.pptx
 
Machine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional ManagersMachine Learning Foundations for Professional Managers
Machine Learning Foundations for Professional Managers
 
Machine Learning in Cyber Security
Machine Learning in Cyber SecurityMachine Learning in Cyber Security
Machine Learning in Cyber Security
 
How Machine Learning Can Transform The Customer Experience
How Machine Learning Can Transform The Customer ExperienceHow Machine Learning Can Transform The Customer Experience
How Machine Learning Can Transform The Customer Experience
 
Scaling Training Data for AI Applications
Scaling Training Data for AI ApplicationsScaling Training Data for AI Applications
Scaling Training Data for AI Applications
 
Machine learning ppt
Machine learning ppt Machine learning ppt
Machine learning ppt
 
Five FinTech Trends in 2018
Five FinTech Trends in 2018Five FinTech Trends in 2018
Five FinTech Trends in 2018
 
How to Wrangle Data for Machine Learning on AWS
 How to Wrangle Data for Machine Learning on AWS How to Wrangle Data for Machine Learning on AWS
How to Wrangle Data for Machine Learning on AWS
 

More from Tamir Taha

What does-a-ba-do-on-an-agile-project
What does-a-ba-do-on-an-agile-projectWhat does-a-ba-do-on-an-agile-project
What does-a-ba-do-on-an-agile-project
Tamir Taha
 
Procure to-pay suites
Procure to-pay suitesProcure to-pay suites
Procure to-pay suites
Tamir Taha
 
ادارة المستودعات
ادارة المستودعاتادارة المستودعات
ادارة المستودعات
Tamir Taha
 
الفروقات بين نظامي المنافسات والمشتريات الحكومية.
الفروقات بين نظامي المنافسات والمشتريات الحكومية.الفروقات بين نظامي المنافسات والمشتريات الحكومية.
الفروقات بين نظامي المنافسات والمشتريات الحكومية.
Tamir Taha
 
Atos dig. transformation
Atos dig. transformationAtos dig. transformation
Atos dig. transformation
Tamir Taha
 
Law management budget_finance nice layout for presentation
Law management budget_finance nice layout for presentationLaw management budget_finance nice layout for presentation
Law management budget_finance nice layout for presentation
Tamir Taha
 
Study for-a-uk-qualification-in-your-own-country-undergraduate
Study for-a-uk-qualification-in-your-own-country-undergraduateStudy for-a-uk-qualification-in-your-own-country-undergraduate
Study for-a-uk-qualification-in-your-own-country-undergraduateTamir Taha
 
2.oracle purchasing
2.oracle purchasing2.oracle purchasing
2.oracle purchasingTamir Taha
 

More from Tamir Taha (8)

What does-a-ba-do-on-an-agile-project
What does-a-ba-do-on-an-agile-projectWhat does-a-ba-do-on-an-agile-project
What does-a-ba-do-on-an-agile-project
 
Procure to-pay suites
Procure to-pay suitesProcure to-pay suites
Procure to-pay suites
 
ادارة المستودعات
ادارة المستودعاتادارة المستودعات
ادارة المستودعات
 
الفروقات بين نظامي المنافسات والمشتريات الحكومية.
الفروقات بين نظامي المنافسات والمشتريات الحكومية.الفروقات بين نظامي المنافسات والمشتريات الحكومية.
الفروقات بين نظامي المنافسات والمشتريات الحكومية.
 
Atos dig. transformation
Atos dig. transformationAtos dig. transformation
Atos dig. transformation
 
Law management budget_finance nice layout for presentation
Law management budget_finance nice layout for presentationLaw management budget_finance nice layout for presentation
Law management budget_finance nice layout for presentation
 
Study for-a-uk-qualification-in-your-own-country-undergraduate
Study for-a-uk-qualification-in-your-own-country-undergraduateStudy for-a-uk-qualification-in-your-own-country-undergraduate
Study for-a-uk-qualification-in-your-own-country-undergraduate
 
2.oracle purchasing
2.oracle purchasing2.oracle purchasing
2.oracle purchasing
 

Recently uploaded

How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 

Recently uploaded (20)

How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 

Intro to machine learning

  • 1. Intro to Machine Learning By: Hesham Gowaily
  • 2. Agenda - Introduction to AI. - What is Machine Learning. - Types of Machine Learning. - ML Case Studies. - How to study ML.
  • 4. AI Applications • Face Recognition • handwriting analysis • Automatic Captioning • Object Tracking • Image Styling • Machine Translation • Sentiment Analysis • Chatbots • Automatic Text Generation • Virtual Assistants • Voice Search • Speech generation • Medical Diagnosis • Personalized Medicine • Early detection • Trading bots • Stock predictions • Fraud Detection • Personalized Ads • Product Recommendations • Autonomous cars • Robotic Surgery
  • 6. The Big Data Era Data • Large volumes of data is produced everyday. • Everyone has a phone packed with several sensors. Infrastructure • The computing power of GPUs has increased dramatically. • Cloud providers offer online computing (IaaS). Services • User applications: YouTube, Gmail, Facebook, Twitter. • Online storage available for free or low cost.
  • 7. Notable AI Achievements ImageNet is a database of 14 million images with over 20,000 categories. GPT-3 is a language model with 175 billion learning parameters.
  • 9. Overlapping AI Related Terminology • Artificial Intelligence (AI) Trying to simulate human intelligence. • Machine Learning (ML) Learn by example from experience and historic data. • Deep Learning (DL) Learn patterns using multi-layered data processors. • Data Science (DS) Uses a variety of scientific methods, processes and systems to solve problems involving data. • Big Data Analyze data sets that are too large or complex. Artificial Intelligence Machine Learning Data Science Deep Learning Big Data
  • 10. What is Machine Learning
  • 11. What is Machine Learning The subfield of computer science that “gives computers the ability to learn without being explicitly programmed”.(Arthur Samuel, 1959) Using previous data for answering future questions Historic may contain answers or may not contain answers Training Prediction Labeled Unlabeled
  • 12. Machine Learning vs. Traditional Programming Traditional Programming Machine Learning Data Rules Answers Data Answers Rules Traditional Programming: • Business requirements and data are analyzed. • A set of hard-coded rules are programmed and tested. • Program process new data based on the coded rules. Machine Learning: • Data and their labels (answers) are fed into a model. • Model “learns” useful features and frequent patterns to predict answers. • Trained model is used to “predict” answers for new data.
  • 13. • Traditional Approach: Price = 1.2 x Area + 0.7 x # Bedrooms + 0.3 x # Bathrooms Pricing formula is known beforehand and is explicitly hard- coded. The formula can be deducted by manual analysis or SME domain experience. • Machine Learning: Price = A x Area + B x # Bedrooms + C x # Bathrooms Pricing Formula is unknown at the beginning and would need the model to be trained to “Learn” the formula attributes A,B and C. HOUSING PRICES Estimate housing prices based on 3 features (properties): Area of the House, Number of Bedrooms, Number of Bathrooms
  • 14. Housing Prices Area #Bedrooms #Bathrooms Price 130 3 1 1,200 160 3 2 1,500 90 2 1 900 … Model Hyperp aramet ers Optimiz ation Price = A x Area + B x # Bedrooms + C x # Bathrooms A = 1.247 B = 0.682 C = 0.319 Input Dataset: Contains prepared historic data of actual house sales. Model: Model Learns appropriate “Parameters” to “Fit” the input data. Output: Parameters that completes the formula and can be generalized to predict unsold houses.
  • 15. Types of Machine Learning
  • 16. Types of Learning •Supervised Learning •Unsupervised Learning •Semi-supervised Learning •Reinforcement Learning
  • 17. Supervised Learning • Learn through examples collected from historic data. • Examples contain the desired output (labels) that will be predicted for future data. • Is this a cat or a dog? • Is this email a spam or not? • What is the market value of a house given its area and number of bedrooms? Supervised Unsupervised Semi- Supervised Reinforcement
  • 18. Supervised Learning Output is continuous. Predicts numerical values such as prices or temperature. Supervised Unsupervised Semi- Supervised Reinforcement Regression Classification Output is discrete. Predicts categorical labels such as: Cat or Dog.
  • 19. Unsupervised Learning • Using historic data that has no labels. • Discovers the intrinsic links of data. • Group photos into 20 groups based on their metadata. • Segment customer profiles based on their demographics and purchase behavior. • Find an anomaly in credit card usage patterns. Supervised Unsupervised Semi- Supervised Reinforcement
  • 20. Unsupervised Learning • Useful for learning structure in the data (clustering) or detecting outliers (anomaly). Supervised Unsupervised Semi- Supervised Reinforcement Anomaly
  • 21. Semi-Supervised Learning • Historic data has a small amount of labeled data, and a large amount of unlabeled data. • The cost of manually labeling all data is prohibitive. • The problem is initially treated as Unsupervised to group data to different structure. • After that, available labels are used to label entire clusters. Supervised Unsupervised Semi- Supervised Reinforcement
  • 22. Reinforcement Learning • An agent interacts with an environment and watches the result of the interaction. • Environment gives feedback via a positive or negative reward signal. • The agent learns to optimize its interactions to maximize the reward. • An autonomous vehicle learns to put safety first, minimize ride time, and obey the rules of law. • An stock trading agent can decide to buy, sell or hold based on market status and transactions profit/loss. Supervised Unsupervised Semi- Supervised Reinforcement
  • 24. ML Productizing AI-First AI-Inside Actionable Insights AI tech is at the center and is essential to the product function. Examples: Virtual assistants, Chatbots, self- driving cars. AI adds a useful function that enhances user experience. Example: Recommendation engines, process automation, Fraud detection AI leveraging data that you collect to make informed decisions. Examples: Sales forecast, Churn analysis
  • 25. Case Study: Netflix Recommendation Personalized recommendation using Collaborative filtering Scale: • Volume: 13,612 titles (2019) • Subs: 159 million (2020) Results: • High engagement rate, Low churn • Personalization and recommendations save Netflix more than $1Billion per year.
  • 26. Case Study: Infervision Cancer Diagnosis Predominantly used in early-stage lung cancer screening. Employs more than 50 deep learning algorithms to determine each diagnosis Scale: • Trained using over 200,000 scans in trials at 20 hospitals. Results: • Helped reduce the rate of missed cancer diagnoses by 50 percent.
  • 27. Case Study: Amazon Inventory Optimization ML-powered inventory optimization ensures that inventory preemptively caters for forecast demands. Scale: • ship an average of 10 million packages per day. Results: • Store 40% more inventory. • Fulfill 1 and 2 days shipping on time.
  • 29. Study Pre-requisites Math Programming Tools/Concepts Probability and Statistics Python Modern IDE’s Linear Algebra R Data tools Calculus
  • 30. Mathematics Study tips • Probability Book A First Course In Probability 9th ed. • Mathematics for Machine Learning 3Blue1Brown • Coursera: Mathematics for Machine Learning, by Imperial College of London https://www.coursera.org/specializations/mathematics-machine-learning • Book: Mathematics for Machine Learning https://mml-book.github.io/
  • 31. • Coursera: Machine Learning, offered by Stanford https://www.coursera.org/learn/machine-learning • YouTube: Stanford CS 229 – Machine Learning (Math focused) https://www.youtube.com/playlist?list=PLoROMvodv4rMiGQp3WXShtMGgzqpfVfbU • Book: Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd Edition https://www.oreilly.com/library/view/hands-on-machine-learning/9781492032632/ Machine Learning Study tips