SlideShare a Scribd company logo
1 of 20
Foundation to Machine Learning
Waziri Shebogholo
University of Dodoma
April 10, 2019
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 1 / 20
Truth
Machines don’t learn.
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 2 / 20
Machine Learning
Subfield of computer science that is concerned with
building algorithms, which rely on the collection of
examples of the world problems to become useful.
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 3 / 20
Applications
Text classification
Natural Language Processing
Computer vision tasks, eg. Image recognition, face recognition
Medical diagnosis
Recommendation systems
Games eg. AlphaGo
Speech recognition eg. Siri, Google Home
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 4 / 20
Types of Machine Learning
Machine Learning problems can be:-
1 Supervised Learning
2 Unsupervised Learning
3 Reinforcement Learning
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 5 / 20
Supervised Learning
Terminologies
Example: an object or instance of data used
Dataset: collection of examples
Features: set of attributes, often represented as vector (feature
vector), associated with an object
Labels/Target
1 In classification, category associated with an example
2 In regression, real-valued numbers
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 6 / 20
Supervised Learning
Goal
The goal of Supervised Learning algorithm is to use the dataset to create a
model that takes feature vector as input and output information that
allows to deduce a label for that feature vector.
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 7 / 20
Unsupervised Learning
Unlabeled examples
Goal
The goal of Unsupervised Learning is to create a model that take a feature
vector and either transform it into another vector or a value that can be
used to solve a problem.
Clustering, model return cluster id
Dimensionalty reduction, model return a feature vector that have
fewer features
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 8 / 20
Reinforcement Learning
Think of a machine in a certain environment that is able to perceive the
state of that environment as vector of features. The machine can execute
actions in every state. Different actions brings different rewards and could
also move the machine from one state to another.
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 9 / 20
Goal
The goal of Reinforcement Learning algorithm is to learn a policy.
Policy is a function that takes the feature vector of a state and output an
optimal action to execute in that state.
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 10 / 20
How it works?
Example
Let’s consider a problem in which we want to predict whether a person has
cancer or not.
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 11 / 20
How it works?
1 Let’s frame this as supervised learning problem in which we first start
with gathering data.
2 Data for supervised learning problems is a collection of pairs
inputs, outputs
After having data, we need to choose a Learning algorithm .
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 12 / 20
How it works?
Model
y = wx + b
Goal
The goal of Learning algorithm is to leverage the dataset and find optimal
values of parameters w and b.
How?
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 13 / 20
How it works?
Optimization
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 14 / 20
What you’ll hear the most with regard to a model?
1 Parameters
2 Hyperparameters
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 15 / 20
What you’ll hear the most with regard to a model?
Parameters are variables that define the model learned by the learning
algorithm. They are modified by the learning algorithm based on the
training data. We train models to find these variables.
Hyperparameter is a property of learning algorithm mostly, having a
numerical value. They influence the way the algorithm works.
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 16 / 20
Fundamental Algorithms
1 Linear regression
2 Logistic regression
3 Decision tree
4 Random Forest *
5 Support Vector Machine
6 k-Nearest Neighbors
7 Neural Networks
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 17 / 20
Linear Regression
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 18 / 20
Best practices
Feature Engineering
Learning algorithm selection
Data splitting
Underfitting and overfitting
Regularization
Model performance assesment
Hyperparameter tuning
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 19 / 20
Thank you.
Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 20 / 20

More Related Content

What's hot

Data preprocessing in Machine learning
Data preprocessing in Machine learning Data preprocessing in Machine learning
Data preprocessing in Machine learning pyingkodi maran
 
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
 
Understanding Bagging and Boosting
Understanding Bagging and BoostingUnderstanding Bagging and Boosting
Understanding Bagging and BoostingMohit Rajput
 
Feature selection
Feature selectionFeature selection
Feature selectionDong Guo
 
Machine learning introduction
Machine learning introductionMachine learning introduction
Machine learning introductionAnas Jamil
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree LearningMilind Gokhale
 
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | EdurekaSupervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | EdurekaEdureka!
 
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
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachinePulse
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningRahul Jain
 
ppt on machine learning to deep learning (1).pptx
ppt on machine learning to deep learning (1).pptxppt on machine learning to deep learning (1).pptx
ppt on machine learning to deep learning (1).pptxAnweshaGarima
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learningUmmeSalmaM1
 
Feature selection
Feature selectionFeature selection
Feature selectiondkpawar
 
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...Simplilearn
 
Supervised Machine Learning Techniques
Supervised Machine Learning TechniquesSupervised Machine Learning Techniques
Supervised Machine Learning TechniquesTara ram Goyal
 
Feature Engineering in Machine Learning
Feature Engineering in Machine LearningFeature Engineering in Machine Learning
Feature Engineering in Machine LearningKnoldus Inc.
 
Deep Learning Explained
Deep Learning ExplainedDeep Learning Explained
Deep Learning ExplainedMelanie Swan
 

What's hot (20)

Data preprocessing in Machine learning
Data preprocessing in Machine learning Data preprocessing in Machine learning
Data preprocessing in 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
 
Understanding Bagging and Boosting
Understanding Bagging and BoostingUnderstanding Bagging and Boosting
Understanding Bagging and Boosting
 
Feature selection
Feature selectionFeature selection
Feature selection
 
Machine learning introduction
Machine learning introductionMachine learning introduction
Machine learning introduction
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree Learning
 
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | EdurekaSupervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
 
Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?Lecture 1: What is Machine Learning?
Lecture 1: What is Machine Learning?
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World Applications
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
ppt on machine learning to deep learning (1).pptx
ppt on machine learning to deep learning (1).pptxppt on machine learning to deep learning (1).pptx
ppt on machine learning to deep learning (1).pptx
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learning
 
Feature selection
Feature selectionFeature selection
Feature selection
 
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
 
supervised learning
supervised learningsupervised learning
supervised learning
 
Supervised Machine Learning Techniques
Supervised Machine Learning TechniquesSupervised Machine Learning Techniques
Supervised Machine Learning Techniques
 
Feature Engineering in Machine Learning
Feature Engineering in Machine LearningFeature Engineering in Machine Learning
Feature Engineering in Machine Learning
 
Decision tree
Decision treeDecision tree
Decision tree
 
Machine learning
Machine learning Machine learning
Machine learning
 
Deep Learning Explained
Deep Learning ExplainedDeep Learning Explained
Deep Learning Explained
 

Similar to Foundation of Machine Learning

Mobile Teaching and Learning
Mobile Teaching and LearningMobile Teaching and Learning
Mobile Teaching and LearningJongpil Cheon
 
Case Study1. Review the information in your textbook ( Leveson,.docx
Case Study1. Review the information in your textbook (  Leveson,.docxCase Study1. Review the information in your textbook (  Leveson,.docx
Case Study1. Review the information in your textbook ( Leveson,.docxwendolynhalbert
 
Ai in the Future of Education by Rohit Manglik
Ai in the Future of Education by Rohit ManglikAi in the Future of Education by Rohit Manglik
Ai in the Future of Education by Rohit ManglikRohit Manglik
 
The Cost of Technology: Total Cost of Ownership and Value of Investment - Ri...
The Cost of Technology:  Total Cost of Ownership and Value of Investment - Ri...The Cost of Technology:  Total Cost of Ownership and Value of Investment - Ri...
The Cost of Technology: Total Cost of Ownership and Value of Investment - Ri...SchoolDude Editors
 
Education and the Use of Artificial Intelligence
Education and the Use of Artificial IntelligenceEducation and the Use of Artificial Intelligence
Education and the Use of Artificial IntelligenceIJEACS
 
The Use of Cell Phones in the Classroom
The Use of Cell Phones in the ClassroomThe Use of Cell Phones in the Classroom
The Use of Cell Phones in the Classroomguest553b40
 
Deborah Millar - Preparing for Education 4.0
Deborah Millar - Preparing for Education 4.0Deborah Millar - Preparing for Education 4.0
Deborah Millar - Preparing for Education 4.0Jisc
 
The Effects of Technology Advances on Modern Education
The Effects of Technology Advances on Modern EducationThe Effects of Technology Advances on Modern Education
The Effects of Technology Advances on Modern EducationGreenApexTechnolabs
 
1 Your paper should include the page number in the
1  Your paper should include the page number in the 1  Your paper should include the page number in the
1 Your paper should include the page number in the VannaJoy20
 
What Does the Future of EdTech Look Like?
What Does the Future of EdTech Look Like?What Does the Future of EdTech Look Like?
What Does the Future of EdTech Look Like?Kavika Roy
 
Ting_Yin_ITS_March15_12PM
Ting_Yin_ITS_March15_12PMTing_Yin_ITS_March15_12PM
Ting_Yin_ITS_March15_12PMTing Yin
 
Benefits and use cases of AI in education.pdf
Benefits and use cases of AI in education.pdfBenefits and use cases of AI in education.pdf
Benefits and use cases of AI in education.pdfChristopherTHyatt
 
The Impact of Mobile Apps in Educational Industry.pdf
The Impact of Mobile Apps in Educational Industry.pdfThe Impact of Mobile Apps in Educational Industry.pdf
The Impact of Mobile Apps in Educational Industry.pdfFuGenx Technologies
 
Pitch 1 helena zhao
Pitch 1   helena zhaoPitch 1   helena zhao
Pitch 1 helena zhaoHelenaZhao5
 
Ting yinits march14_6am
Ting yinits march14_6amTing yinits march14_6am
Ting yinits march14_6amTing Yin
 
Using Mobile Applications to Promote English Language Learning
Using Mobile Applications to Promote English Language LearningUsing Mobile Applications to Promote English Language Learning
Using Mobile Applications to Promote English Language LearningAgadir ELT Inspectorate
 
Developing Computational Thinking Practises through Digital Fabrication Activ...
Developing Computational Thinking Practises through Digital Fabrication Activ...Developing Computational Thinking Practises through Digital Fabrication Activ...
Developing Computational Thinking Practises through Digital Fabrication Activ...Jari Laru
 

Similar to Foundation of Machine Learning (20)

Mobile Teaching and Learning
Mobile Teaching and LearningMobile Teaching and Learning
Mobile Teaching and Learning
 
Case Study1. Review the information in your textbook ( Leveson,.docx
Case Study1. Review the information in your textbook (  Leveson,.docxCase Study1. Review the information in your textbook (  Leveson,.docx
Case Study1. Review the information in your textbook ( Leveson,.docx
 
Ampio Drone study at school
Ampio Drone study at schoolAmpio Drone study at school
Ampio Drone study at school
 
Ai in the Future of Education by Rohit Manglik
Ai in the Future of Education by Rohit ManglikAi in the Future of Education by Rohit Manglik
Ai in the Future of Education by Rohit Manglik
 
The Cost of Technology: Total Cost of Ownership and Value of Investment - Ri...
The Cost of Technology:  Total Cost of Ownership and Value of Investment - Ri...The Cost of Technology:  Total Cost of Ownership and Value of Investment - Ri...
The Cost of Technology: Total Cost of Ownership and Value of Investment - Ri...
 
Education and the Use of Artificial Intelligence
Education and the Use of Artificial IntelligenceEducation and the Use of Artificial Intelligence
Education and the Use of Artificial Intelligence
 
The Use of Cell Phones in the Classroom
The Use of Cell Phones in the ClassroomThe Use of Cell Phones in the Classroom
The Use of Cell Phones in the Classroom
 
Deborah Millar - Preparing for Education 4.0
Deborah Millar - Preparing for Education 4.0Deborah Millar - Preparing for Education 4.0
Deborah Millar - Preparing for Education 4.0
 
The Effects of Technology Advances on Modern Education
The Effects of Technology Advances on Modern EducationThe Effects of Technology Advances on Modern Education
The Effects of Technology Advances on Modern Education
 
1 Your paper should include the page number in the
1  Your paper should include the page number in the 1  Your paper should include the page number in the
1 Your paper should include the page number in the
 
What Does the Future of EdTech Look Like?
What Does the Future of EdTech Look Like?What Does the Future of EdTech Look Like?
What Does the Future of EdTech Look Like?
 
Ting_Yin_ITS_March15_12PM
Ting_Yin_ITS_March15_12PMTing_Yin_ITS_March15_12PM
Ting_Yin_ITS_March15_12PM
 
Out 78
Out 78Out 78
Out 78
 
Primjer esej
Primjer esejPrimjer esej
Primjer esej
 
Benefits and use cases of AI in education.pdf
Benefits and use cases of AI in education.pdfBenefits and use cases of AI in education.pdf
Benefits and use cases of AI in education.pdf
 
The Impact of Mobile Apps in Educational Industry.pdf
The Impact of Mobile Apps in Educational Industry.pdfThe Impact of Mobile Apps in Educational Industry.pdf
The Impact of Mobile Apps in Educational Industry.pdf
 
Pitch 1 helena zhao
Pitch 1   helena zhaoPitch 1   helena zhao
Pitch 1 helena zhao
 
Ting yinits march14_6am
Ting yinits march14_6amTing yinits march14_6am
Ting yinits march14_6am
 
Using Mobile Applications to Promote English Language Learning
Using Mobile Applications to Promote English Language LearningUsing Mobile Applications to Promote English Language Learning
Using Mobile Applications to Promote English Language Learning
 
Developing Computational Thinking Practises through Digital Fabrication Activ...
Developing Computational Thinking Practises through Digital Fabrication Activ...Developing Computational Thinking Practises through Digital Fabrication Activ...
Developing Computational Thinking Practises through Digital Fabrication Activ...
 

Recently uploaded

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Recently uploaded (20)

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Foundation of Machine Learning

  • 1. Foundation to Machine Learning Waziri Shebogholo University of Dodoma April 10, 2019 Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 1 / 20
  • 2. Truth Machines don’t learn. Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 2 / 20
  • 3. Machine Learning Subfield of computer science that is concerned with building algorithms, which rely on the collection of examples of the world problems to become useful. Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 3 / 20
  • 4. Applications Text classification Natural Language Processing Computer vision tasks, eg. Image recognition, face recognition Medical diagnosis Recommendation systems Games eg. AlphaGo Speech recognition eg. Siri, Google Home Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 4 / 20
  • 5. Types of Machine Learning Machine Learning problems can be:- 1 Supervised Learning 2 Unsupervised Learning 3 Reinforcement Learning Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 5 / 20
  • 6. Supervised Learning Terminologies Example: an object or instance of data used Dataset: collection of examples Features: set of attributes, often represented as vector (feature vector), associated with an object Labels/Target 1 In classification, category associated with an example 2 In regression, real-valued numbers Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 6 / 20
  • 7. Supervised Learning Goal The goal of Supervised Learning algorithm is to use the dataset to create a model that takes feature vector as input and output information that allows to deduce a label for that feature vector. Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 7 / 20
  • 8. Unsupervised Learning Unlabeled examples Goal The goal of Unsupervised Learning is to create a model that take a feature vector and either transform it into another vector or a value that can be used to solve a problem. Clustering, model return cluster id Dimensionalty reduction, model return a feature vector that have fewer features Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 8 / 20
  • 9. Reinforcement Learning Think of a machine in a certain environment that is able to perceive the state of that environment as vector of features. The machine can execute actions in every state. Different actions brings different rewards and could also move the machine from one state to another. Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 9 / 20
  • 10. Goal The goal of Reinforcement Learning algorithm is to learn a policy. Policy is a function that takes the feature vector of a state and output an optimal action to execute in that state. Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 10 / 20
  • 11. How it works? Example Let’s consider a problem in which we want to predict whether a person has cancer or not. Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 11 / 20
  • 12. How it works? 1 Let’s frame this as supervised learning problem in which we first start with gathering data. 2 Data for supervised learning problems is a collection of pairs inputs, outputs After having data, we need to choose a Learning algorithm . Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 12 / 20
  • 13. How it works? Model y = wx + b Goal The goal of Learning algorithm is to leverage the dataset and find optimal values of parameters w and b. How? Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 13 / 20
  • 14. How it works? Optimization Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 14 / 20
  • 15. What you’ll hear the most with regard to a model? 1 Parameters 2 Hyperparameters Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 15 / 20
  • 16. What you’ll hear the most with regard to a model? Parameters are variables that define the model learned by the learning algorithm. They are modified by the learning algorithm based on the training data. We train models to find these variables. Hyperparameter is a property of learning algorithm mostly, having a numerical value. They influence the way the algorithm works. Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 16 / 20
  • 17. Fundamental Algorithms 1 Linear regression 2 Logistic regression 3 Decision tree 4 Random Forest * 5 Support Vector Machine 6 k-Nearest Neighbors 7 Neural Networks Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 17 / 20
  • 18. Linear Regression Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 18 / 20
  • 19. Best practices Feature Engineering Learning algorithm selection Data splitting Underfitting and overfitting Regularization Model performance assesment Hyperparameter tuning Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 19 / 20
  • 20. Thank you. Waziri Shebogholo (University of Dodoma) Foundation to Machine Learning April 10, 2019 20 / 20