SlideShare une entreprise Scribd logo
1  sur  36
Machine Learning and
A Walk through School Exams!
Introduction to
Artificial Intelligence
SPEAKER IMAGE
Ramsha Siddiqui
Associate Data Scientist (NLP)
i2c inc. Lahore, Pakistan
● 💬 Conversational AI and Dialog Systems.
● 👩💻 Google Developers Group, Lahore.
● 🥇 WTM and WDA Scholar, 2018-2020.
● 🎓 FAST NUCES, Lahore - Spring, 2019.
● ✈️ Global UGRAD Alumnus - UIW, Texas.
● 💼 Co-Founder of Startup - FunKadaa.
What is Machine Learning?
Machine Learning is the application of
Artificial Intelligence that allows machines to
learn and improve from experience, without
being explicitly programmed, to solve almost
any problem in the world.
How do humans learn?
The Life of a Student
1. Gather Knowledge
The Life of a Student
1. Gather Knowledge 2. Extract Concepts
The Life of a Student
2. Extract Concepts
3. Practice Concepts
1. Gather Knowledge
The Life of a Student
3. Practice Concepts 4. Test Yourself
1. Gather Knowledge 2. Extract Concepts
Learning Chess!
3. Practice 4. Compete!
1. Learn Pieces and Moves 2. Understand & Memorize
How do machines learn?
1. Gather Training Data
The initial set of data-points required to learn
about a problem, in order to solve it.
2. Data Preprocessing
Analyzing Data and Extracting or Deriving useful
features from it, in efforts to improve results.
Why is it important?
3. Model Selection / Construction
An algorithm / mathematical derivation
containing variables that can be derived /
learned from Training Data is called a
Machine Learning Model.
The values of the variables are saved after
training to be used for predictions later.
3. Model Selection / Construction
Selecting the right “kind of model” for your
Machine Learning is also important, because
feature-learning / data-understanding is an
internal process for machines, and certain
types of problems are more well-suited for
certain types of algorithms.
Let’s look at the two broadest types!
Supervised
Learning
When a Model’s Expected
Outputs are defined, it’s called a
Supervised Learning Problem. It
mainly has two sub-categories:
● Classification (categorizing
input data into classes)
● Regression (predicting a
continuous / real value instead
of an output class-label)
Example: Facial Recognition
Recognizing people’s faces and its features (eyes, head-pose, etc.)
Example: Facial Recognition
Convolutional Neural Networks (CNNs) have been classically useful for
the task of identifying different components / features of images.
Example: Speech Recognition
Converting Audio Sequences
(Speech) into Text Sequences.
Example: Speech Recognition
Sequence to Sequence Networks (Seq2Seq) have so far shown
promising results for this task (with updated research and
architectures being released almost every day!)
Example: Covid Projection
Predicting the number of Covid-Cases every other day / month.
Example: Covid Projection
Time-Series Forecasting is a common problem in Machine Learning,
and all models used for that task, can be trained here for comparison.
A Note: Some of these problems such as
● Image Classification
● Text Classification, etc.
you’ll find that some Model Architectures are also problem-
favorable, as they’ve shown good results before. It’s always
wise for you to do some Research beforehand to find
good Model Implementations / Datasets on the task you’re
working on, before starting from scratch.
Unsupervised
Learning
When a Model’s Expected
Outputs are undefined, and
input-data only needs to be
clustered or segmented into
somewhat meaningful groups, it’s
called Unsupervised Learning.
Example:
● K-Means Algorithm (Finds
Cluster Centroids based on
the no. of centers defined = K)
Example: Topic Modeling
Training a model to learn the topic of a document based on the correlations of
different words used inside it, without knowing prior what those topics are.
A Note: Know your Problem Domain!
4. Model Training
Feeding your Input Data to your Model for learning - is
called Model Training. Here’s some things you may wanna
do before that:
● Data Folds: Splitting your Training Data into two sets:
One for Training on, and one for Validating
Performance.
● Epochs: The number of times your model sees the
Training Data (revising it).
● Model Parameters: Take out a set of possible
parameter values that you want to tweak in your model.
Example: w1*x1 + w2*x2 + w3*x3 = y
where for every example, we have input-values “x” and model-variables
“w”.
5. Model Testing
Alas, models can’t escape examinations either. After Training a Model, we want
to see Model Predictions, and compare the values that model got with those it
got incorrect, and evaluate overall performance.
Choosing the right performance metric matters and varies per problem!
Task Performance
On average, most humans and models are able
to learn almost any task following this method.
In terms of performance comparisons
however, sometimes we:
● Underachieve
● Overachieve
Underachieving
Reasons:
● Unseen Test Data: If the data in the examination is totally
unrelated to the Train Data, then the model will get confused.
Evenly distribute your data between Train and Test Sets.
● Insufficient Training Data: Perhaps the amount of Training
Data is insufficient / too difficult to learn anything useful
from.
Add more data or try new features.
● Model Architecture: The Model selected for a particular
task may not be the right choice for it.
Overachieving
Reasons:
● Randomness: Sometimes it’s just dumb luck. (Models are
initialized with Random Variable Values).
● Model Pretraining: If your Model was trained on a task
similar to this one before and has a good memory, it may
perform well even if your Training Data was pretty small /
useless.
A lot of research is going into pre-training these days!
Model Predictions
In order to trust that our model’s are working correctly, it’s
always a good idea to provide additional explainability with the
model output like:
● Confidence Score(s)
● Input Features
Let’s quickly Train a Model:
https://teachablemachine.withgoogle.com/
Thank you!
Any questions?
Find me: ramsha@gdglahore.com

Contenu connexe

Tendances

RecSys 2016 Talk: Feature Selection For Human Recommenders
RecSys 2016 Talk: Feature Selection For Human RecommendersRecSys 2016 Talk: Feature Selection For Human Recommenders
RecSys 2016 Talk: Feature Selection For Human RecommendersKatherine Livins
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine LearningAnkit Rai
 
Machine learning overview
Machine learning overviewMachine learning overview
Machine learning overviewprih_yah
 
Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning Aakash Chotrani
 
Types of Machine Learning
Types of Machine LearningTypes of Machine Learning
Types of Machine LearningSamra Shahzadi
 
Unsupervised Machine Learning Ml And How It Works
Unsupervised Machine Learning Ml And How It WorksUnsupervised Machine Learning Ml And How It Works
Unsupervised Machine Learning Ml And How It WorksSlideTeam
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learningZAMANCHBWN
 
Machine learning and types
Machine learning and typesMachine learning and types
Machine learning and typesPadma Metta
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Simplilearn
 
Barcelona ML Meetup - Lessons Learned
Barcelona ML Meetup - Lessons LearnedBarcelona ML Meetup - Lessons Learned
Barcelona ML Meetup - Lessons LearnedXavier Amatriain
 
Guide to end end machine learning projects
Guide to end end machine learning projectsGuide to end end machine learning projects
Guide to end end machine learning projectsSkyl.ai
 
Machine Learning: Applications, Process and Techniques
Machine Learning: Applications, Process and TechniquesMachine Learning: Applications, Process and Techniques
Machine Learning: Applications, Process and TechniquesRui Pedro Paiva
 
Cmpe 255 cross validation
Cmpe 255 cross validationCmpe 255 cross validation
Cmpe 255 cross validationAbraham Kong
 
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...Xavier Amatriain
 

Tendances (20)

RecSys 2016 Talk: Feature Selection For Human Recommenders
RecSys 2016 Talk: Feature Selection For Human RecommendersRecSys 2016 Talk: Feature Selection For Human Recommenders
RecSys 2016 Talk: Feature Selection For Human Recommenders
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine Learning
 
Machine learning overview
Machine learning overviewMachine learning overview
Machine learning overview
 
Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning
 
Types of Machine Learning
Types of Machine LearningTypes of Machine Learning
Types of Machine Learning
 
Unsupervised Machine Learning Ml And How It Works
Unsupervised Machine Learning Ml And How It WorksUnsupervised Machine Learning Ml And How It Works
Unsupervised Machine Learning Ml And How It Works
 
Machine learning
Machine learningMachine learning
Machine learning
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learning
 
Machine learning and types
Machine learning and typesMachine learning and types
Machine learning and types
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
 
Barcelona ML Meetup - Lessons Learned
Barcelona ML Meetup - Lessons LearnedBarcelona ML Meetup - Lessons Learned
Barcelona ML Meetup - Lessons Learned
 
supervised learning
supervised learningsupervised learning
supervised learning
 
Guide to end end machine learning projects
Guide to end end machine learning projectsGuide to end end machine learning projects
Guide to end end machine learning projects
 
Machine Learning
Machine Learning Machine Learning
Machine Learning
 
Supervised learning
  Supervised learning  Supervised learning
Supervised learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine Learning: Applications, Process and Techniques
Machine Learning: Applications, Process and TechniquesMachine Learning: Applications, Process and Techniques
Machine Learning: Applications, Process and Techniques
 
Machine learning
Machine learning Machine learning
Machine learning
 
Cmpe 255 cross validation
Cmpe 255 cross validationCmpe 255 cross validation
Cmpe 255 cross validation
 
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
 

Similaire à Machine learning: A Walk Through School Exams

Andrew NG machine learning
Andrew NG machine learningAndrew NG machine learning
Andrew NG machine learningShareDocView.com
 
Afternoons with Azure - Azure Machine Learning
Afternoons with Azure - Azure Machine Learning Afternoons with Azure - Azure Machine Learning
Afternoons with Azure - Azure Machine Learning CCG
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)SwatiTripathi44
 
Machine-Learning-Overview a statistical approach
Machine-Learning-Overview a statistical approachMachine-Learning-Overview a statistical approach
Machine-Learning-Overview a statistical approachAjit Ghodke
 
Overview of machine learning
Overview of machine learning Overview of machine learning
Overview of machine learning SolivarLabs
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learningJohnson Ubah
 
MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)
MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)
MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)MAHIRA
 
Choosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needChoosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needGibDevs
 
ML crash course
ML crash courseML crash course
ML crash coursemikaelhuss
 
Barga Data Science lecture 2
Barga Data Science lecture 2Barga Data Science lecture 2
Barga Data Science lecture 2Roger Barga
 
Deep learning with tensorflow
Deep learning with tensorflowDeep learning with tensorflow
Deep learning with tensorflowCharmi Chokshi
 
2024-02-24_Session 1 - PMLE_UPDATED.pptx
2024-02-24_Session 1 - PMLE_UPDATED.pptx2024-02-24_Session 1 - PMLE_UPDATED.pptx
2024-02-24_Session 1 - PMLE_UPDATED.pptxgdgsurrey
 
Introduction to Machine learning
Introduction to Machine learningIntroduction to Machine learning
Introduction to Machine learningKnoldus Inc.
 
Machine learning (domingo's paper)
Machine learning (domingo's paper)Machine learning (domingo's paper)
Machine learning (domingo's paper)Akhilesh Joshi
 
Machine Learning vs Decision Optimization comparison
Machine Learning vs Decision Optimization comparisonMachine Learning vs Decision Optimization comparison
Machine Learning vs Decision Optimization comparisonAlain Chabrier
 

Similaire à Machine learning: A Walk Through School Exams (20)

Andrew NG machine learning
Andrew NG machine learningAndrew NG machine learning
Andrew NG machine learning
 
Afternoons with Azure - Azure Machine Learning
Afternoons with Azure - Azure Machine Learning Afternoons with Azure - Azure Machine Learning
Afternoons with Azure - Azure Machine Learning
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
 
Machine-Learning-Overview a statistical approach
Machine-Learning-Overview a statistical approachMachine-Learning-Overview a statistical approach
Machine-Learning-Overview a statistical approach
 
Overview of machine learning
Overview of machine learning Overview of machine learning
Overview of machine learning
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learning
 
MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)
MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)
MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)
 
ML_Module_1.pdf
ML_Module_1.pdfML_Module_1.pdf
ML_Module_1.pdf
 
Choosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needChoosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your need
 
ML crash course
ML crash courseML crash course
ML crash course
 
Barga Data Science lecture 2
Barga Data Science lecture 2Barga Data Science lecture 2
Barga Data Science lecture 2
 
Deep learning with tensorflow
Deep learning with tensorflowDeep learning with tensorflow
Deep learning with tensorflow
 
AI PROJECT CYCLE.pptx
AI PROJECT CYCLE.pptxAI PROJECT CYCLE.pptx
AI PROJECT CYCLE.pptx
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
2024-02-24_Session 1 - PMLE_UPDATED.pptx
2024-02-24_Session 1 - PMLE_UPDATED.pptx2024-02-24_Session 1 - PMLE_UPDATED.pptx
2024-02-24_Session 1 - PMLE_UPDATED.pptx
 
Managing machine learning
Managing machine learningManaging machine learning
Managing machine learning
 
Introduction to Machine learning
Introduction to Machine learningIntroduction to Machine learning
Introduction to Machine learning
 
Machine Learning_Unit 2_Full.ppt.pdf
Machine Learning_Unit 2_Full.ppt.pdfMachine Learning_Unit 2_Full.ppt.pdf
Machine Learning_Unit 2_Full.ppt.pdf
 
Machine learning (domingo's paper)
Machine learning (domingo's paper)Machine learning (domingo's paper)
Machine learning (domingo's paper)
 
Machine Learning vs Decision Optimization comparison
Machine Learning vs Decision Optimization comparisonMachine Learning vs Decision Optimization comparison
Machine Learning vs Decision Optimization comparison
 

Dernier

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 

Dernier (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Machine learning: A Walk Through School Exams

  • 1. Machine Learning and A Walk through School Exams! Introduction to Artificial Intelligence
  • 2. SPEAKER IMAGE Ramsha Siddiqui Associate Data Scientist (NLP) i2c inc. Lahore, Pakistan ● 💬 Conversational AI and Dialog Systems. ● 👩💻 Google Developers Group, Lahore. ● 🥇 WTM and WDA Scholar, 2018-2020. ● 🎓 FAST NUCES, Lahore - Spring, 2019. ● ✈️ Global UGRAD Alumnus - UIW, Texas. ● 💼 Co-Founder of Startup - FunKadaa.
  • 3. What is Machine Learning? Machine Learning is the application of Artificial Intelligence that allows machines to learn and improve from experience, without being explicitly programmed, to solve almost any problem in the world.
  • 4. How do humans learn?
  • 5. The Life of a Student 1. Gather Knowledge
  • 6. The Life of a Student 1. Gather Knowledge 2. Extract Concepts
  • 7. The Life of a Student 2. Extract Concepts 3. Practice Concepts 1. Gather Knowledge
  • 8. The Life of a Student 3. Practice Concepts 4. Test Yourself 1. Gather Knowledge 2. Extract Concepts
  • 9. Learning Chess! 3. Practice 4. Compete! 1. Learn Pieces and Moves 2. Understand & Memorize
  • 10. How do machines learn?
  • 11. 1. Gather Training Data The initial set of data-points required to learn about a problem, in order to solve it.
  • 12. 2. Data Preprocessing Analyzing Data and Extracting or Deriving useful features from it, in efforts to improve results.
  • 13. Why is it important?
  • 14. 3. Model Selection / Construction An algorithm / mathematical derivation containing variables that can be derived / learned from Training Data is called a Machine Learning Model. The values of the variables are saved after training to be used for predictions later.
  • 15. 3. Model Selection / Construction Selecting the right “kind of model” for your Machine Learning is also important, because feature-learning / data-understanding is an internal process for machines, and certain types of problems are more well-suited for certain types of algorithms. Let’s look at the two broadest types!
  • 16. Supervised Learning When a Model’s Expected Outputs are defined, it’s called a Supervised Learning Problem. It mainly has two sub-categories: ● Classification (categorizing input data into classes) ● Regression (predicting a continuous / real value instead of an output class-label)
  • 17. Example: Facial Recognition Recognizing people’s faces and its features (eyes, head-pose, etc.)
  • 18. Example: Facial Recognition Convolutional Neural Networks (CNNs) have been classically useful for the task of identifying different components / features of images.
  • 19. Example: Speech Recognition Converting Audio Sequences (Speech) into Text Sequences.
  • 20. Example: Speech Recognition Sequence to Sequence Networks (Seq2Seq) have so far shown promising results for this task (with updated research and architectures being released almost every day!)
  • 21. Example: Covid Projection Predicting the number of Covid-Cases every other day / month.
  • 22. Example: Covid Projection Time-Series Forecasting is a common problem in Machine Learning, and all models used for that task, can be trained here for comparison.
  • 23. A Note: Some of these problems such as ● Image Classification ● Text Classification, etc. you’ll find that some Model Architectures are also problem- favorable, as they’ve shown good results before. It’s always wise for you to do some Research beforehand to find good Model Implementations / Datasets on the task you’re working on, before starting from scratch.
  • 24. Unsupervised Learning When a Model’s Expected Outputs are undefined, and input-data only needs to be clustered or segmented into somewhat meaningful groups, it’s called Unsupervised Learning. Example: ● K-Means Algorithm (Finds Cluster Centroids based on the no. of centers defined = K)
  • 25. Example: Topic Modeling Training a model to learn the topic of a document based on the correlations of different words used inside it, without knowing prior what those topics are.
  • 26. A Note: Know your Problem Domain!
  • 27. 4. Model Training Feeding your Input Data to your Model for learning - is called Model Training. Here’s some things you may wanna do before that: ● Data Folds: Splitting your Training Data into two sets: One for Training on, and one for Validating Performance. ● Epochs: The number of times your model sees the Training Data (revising it). ● Model Parameters: Take out a set of possible parameter values that you want to tweak in your model.
  • 28. Example: w1*x1 + w2*x2 + w3*x3 = y where for every example, we have input-values “x” and model-variables “w”.
  • 29. 5. Model Testing Alas, models can’t escape examinations either. After Training a Model, we want to see Model Predictions, and compare the values that model got with those it got incorrect, and evaluate overall performance. Choosing the right performance metric matters and varies per problem!
  • 31. On average, most humans and models are able to learn almost any task following this method. In terms of performance comparisons however, sometimes we: ● Underachieve ● Overachieve
  • 32. Underachieving Reasons: ● Unseen Test Data: If the data in the examination is totally unrelated to the Train Data, then the model will get confused. Evenly distribute your data between Train and Test Sets. ● Insufficient Training Data: Perhaps the amount of Training Data is insufficient / too difficult to learn anything useful from. Add more data or try new features. ● Model Architecture: The Model selected for a particular task may not be the right choice for it.
  • 33. Overachieving Reasons: ● Randomness: Sometimes it’s just dumb luck. (Models are initialized with Random Variable Values). ● Model Pretraining: If your Model was trained on a task similar to this one before and has a good memory, it may perform well even if your Training Data was pretty small / useless. A lot of research is going into pre-training these days!
  • 34. Model Predictions In order to trust that our model’s are working correctly, it’s always a good idea to provide additional explainability with the model output like: ● Confidence Score(s) ● Input Features
  • 35. Let’s quickly Train a Model: https://teachablemachine.withgoogle.com/
  • 36. Thank you! Any questions? Find me: ramsha@gdglahore.com