SlideShare uma empresa Scribd logo
1 de 25
Machine Learning
Lunch & Learn - Session 4
Luis Borbon
11/07/2017
Table of contents
1. Recap
2. Generalization in Machine Learning
3. Overfitting and Underfitting
4. Algorithms by Similarity
5. Real Application
6. People to follow
Recap
Recap
● Training, validation and test data sets.
● Learning Style
○ Supervised
○ Unsupervised
○ Semi-Supervised Learning.
● Similarity
○ Regression Algorithms
○ Instance-based Algorithms
○ Regularization Algorithms
○ Decision Tree Algorithms
Recap
Decision trees
Possible applications in PlantMiner:
For a searcher: Based on previous quotes,
identify an item that usually is being hired along
other.
● Suggest the item.
● Offer a discount to add the suggested
item.
For a supplier: Identify suppliers that would
crunch on the next subscription renewal.
Generalization in Machine Learning
Induction and deduction
Induction refers to learning general concepts
from specific examples which is exactly the
problem that supervised machine learning
problems aim to solve.
This is different from deduction that is the other
way around and seeks to learn specific concepts
from general rules.
Induction and deduction
The goal of a good machine learning model is to
generalize well from the training data to any data
from the problem domain.
This allows us to make predictions in the future
on data the model has never seen.
Overfitting and Underfitting
Overfitting
In machine learning, one of the most common
tasks is to fit a "model" to a set of training data,
so as to be able to make reliable predictions on
general untrained data.
In overfitting, a statistical model describes
random error or noise instead of the underlying
relationship.
The green line represents an overfitted model and the black line
represents a regularised model. While the green line best follows
the training data, it is too dependent on it and it is likely to have a
higher error rate on new unseen data, compared to the black
line.
Overfitting
A model that has been overfit has poor
predictive performance, as it overreacts to minor
fluctuations in the training data.
Noisy (roughly linear) data is fitted to both linear and polynomial
functions. Although the polynomial function is a perfect fit, the
linear version can be expected to generalize better. In other
words, if the two functions were used to extrapolate the data
beyond the fit data, the linear function would make better
predictions.
Overfitting
Overfitting occurs when a model is excessively
complex, such as having too many parameters
relative to the number of observations.
Overfitting/overtraining in supervised learning (e.g., neural
network). Training error is shown in blue, validation error in red,
both as a function of the number of training cycles. If the
validation error increases(positive slope) while the training error
steadily decreases(negative slope) then a situation of overfitting
may have occurred. The best predictive and fitted model would
be where the validation error has its global minimum.
Underfitting
Underfitting occurs when a statistical model or machine
learning algorithm cannot capture the underlying trend of
the data.
It occurs when the model or algorithm does not fit the data
enough. Underfitting occurs if the model or algorithm
shows low variance but high bias (to contrast the opposite,
overfitting from high variance and low bias). It is often a
result of an excessively simple model.
Underfitting would occur, for example, when fitting a linear
model to non-linear data.
Such a model would have poor predictive performance.
Underfitting
There are two important techniques that you can use
when evaluating machine learning algorithms to limit
overfitting:
● Use a resampling technique to estimate model
accuracy.
● Hold back a validation dataset.
Underfitting
Resampling
The most popular resampling technique is k-fold cross validation. It allows you to train and test your
model k-times on different subsets of training data and build up an estimate of the performance of a
machine learning model on unseen data.
Validation dataset
A validation dataset is simply a subset of your training data that you hold back from your machine
learning algorithms until the very end of your project. After you have selected and tuned your
machine learning algorithms on your training dataset you can evaluate the learned models on the
validation dataset to get a final objective idea of how the models might perform on unseen data.
Algorithms by Similarity (cont…)
Bayesian Algorithms
Bayesian methods are those that explicitly apply
Bayes’ Theorem for problems such as
classification and regression.
With appropriate pre-processing, it is competitive
in this domain with more advanced methods
including support vector machines.
It also finds application in automatic medical
diagnosis.
Document classification, based on word
frequencies. e.g. SPAM.
Bayesian Algorithms
The most popular Bayesian algorithms are:
● Naive Bayes
● Gaussian Naive Bayes
● Multinomial Naive Bayes
● Averaged One-Dependence Estimators
(AODE)
● Bayesian Belief Network (BBN)
● Bayesian Network (BN)
Real Application
DoseMe.com.au
Bayesian dosing uses patient data and
laboratory results to estimate a patient's ability to
absorb, process, and clear a drug from their
system. Using a published population model,
DoseMe's algorithms adjusts the
pharmacokinetic and/or pharmacodynamic
parameters so that a patient-specific,
individualised drug model is built. This individual
model is then used to provide a patient-specific
dosing recommendation to reach a therapeutic
target.
People to Follow
Fei-Fei Li
Fei-Fei Li, who publishes under the name Li Fei-Fei, is an
Associate Professor of Computer Science at Stanford
University. She is the director of the Stanford Artificial
Intelligence Lab and the Stanford Vision Lab.
● Born: 1976, Beijing, China
● Spouse: Silvio Savarese
● Education: California Institute of Technology (2005)
● Residence: United States of America
● Books: Computer Vision: From 3D Reconstruction to
Visual Recognition, more
● Doctoral advisors: Pietro Perona, Christof Koch
● http://vision.stanford.edu/feifeili/
● @drfeifei
Andrej Karpathy
Director of AI at Tesla, currently focused on perception for the
Autopilot.
Previously, I was a Research Scientist at OpenAI working on
Deep Learning in Computer Vision, Generative Modeling and
Reinforcement Learning.
PhD from Stanford, where I worked with Fei-Fei Li on
Convolutional/Recurrent Neural Network architectures and
their applications in Computer Vision, Natural Language
Processing and their intersection.
● http://cs.stanford.edu/people/karpathy/
● @karpathy
OpenAI Gym
Founded: December 11, 2015
Founders: Elon Musk, Sam Altman, and others
Type: 501(c)(3) Nonprofit organization
Location: San Francisco, California, USA
Products: OpenAI Gym
Mission: Friendly artificial intelligence
● https://www.openai.com/
● @OpenAI

Mais conteúdo relacionado

Mais procurados

Short Story Submission on Meta Learning
Short Story Submission on Meta LearningShort Story Submission on Meta Learning
Short Story Submission on Meta Learningatulshah16
 
Machine learning overview
Machine learning overviewMachine learning overview
Machine learning overviewprih_yah
 
Machine learning - AI
Machine learning - AIMachine learning - AI
Machine learning - AIWitekio
 
Machine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersMachine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersSatyam Jaiswal
 
Machine learning ppt.
Machine learning ppt.Machine learning ppt.
Machine learning ppt.ASHOK KUMAR
 
Using machine learning in anti money laundering part 2
Using machine learning in anti money laundering   part 2Using machine learning in anti money laundering   part 2
Using machine learning in anti money laundering part 2Naveen Grover
 
Machine learning ppt
Machine learning ppt Machine learning ppt
Machine learning ppt Poojamanic
 
supervised and unsupervised learning
supervised and unsupervised learningsupervised and unsupervised learning
supervised and unsupervised learningshivani saluja
 
Machine learning and types
Machine learning and typesMachine learning and types
Machine learning and typesPadma Metta
 
Using Machine Learning in Anti Money Laundering - Part 1
Using Machine Learning in Anti Money Laundering - Part 1Using Machine Learning in Anti Money Laundering - Part 1
Using Machine Learning in Anti Money Laundering - Part 1Naveen Grover
 
Supervised Machine Learning Techniques
Supervised Machine Learning TechniquesSupervised Machine Learning Techniques
Supervised Machine Learning TechniquesTara ram Goyal
 
Supervised Machine Learning Techniques common algorithms and its application
Supervised Machine Learning Techniques common algorithms and its applicationSupervised Machine Learning Techniques common algorithms and its application
Supervised Machine Learning Techniques common algorithms and its applicationTara ram Goyal
 
Handling Imbalanced Data: SMOTE vs. Random Undersampling
Handling Imbalanced Data: SMOTE vs. Random UndersamplingHandling Imbalanced Data: SMOTE vs. Random Undersampling
Handling Imbalanced Data: SMOTE vs. Random UndersamplingIRJET Journal
 
Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning Aakash Chotrani
 
Machine Learning Interview Questions
Machine Learning Interview QuestionsMachine Learning Interview Questions
Machine Learning Interview QuestionsRock Interview
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningMridula Akella
 
Data Analytics, Machine Learning, and HPC in Today’s Changing Application Env...
Data Analytics, Machine Learning, and HPC in Today’s Changing Application Env...Data Analytics, Machine Learning, and HPC in Today’s Changing Application Env...
Data Analytics, Machine Learning, and HPC in Today’s Changing Application Env...Intel® Software
 

Mais procurados (20)

Short Story Submission on Meta Learning
Short Story Submission on Meta LearningShort Story Submission on Meta Learning
Short Story Submission on Meta Learning
 
Machine learning overview
Machine learning overviewMachine learning overview
Machine learning overview
 
Machine learning - AI
Machine learning - AIMachine learning - AI
Machine learning - AI
 
supervised learning
supervised learningsupervised learning
supervised learning
 
Machine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersMachine Learning Interview Questions and Answers
Machine Learning Interview Questions and Answers
 
Machine learning ppt.
Machine learning ppt.Machine learning ppt.
Machine learning ppt.
 
Machine Learning
Machine Learning Machine Learning
Machine Learning
 
Using machine learning in anti money laundering part 2
Using machine learning in anti money laundering   part 2Using machine learning in anti money laundering   part 2
Using machine learning in anti money laundering part 2
 
Machine learning ppt
Machine learning ppt Machine learning ppt
Machine learning ppt
 
supervised and unsupervised learning
supervised and unsupervised learningsupervised and unsupervised learning
supervised and unsupervised learning
 
Machine learning and types
Machine learning and typesMachine learning and types
Machine learning and types
 
Using Machine Learning in Anti Money Laundering - Part 1
Using Machine Learning in Anti Money Laundering - Part 1Using Machine Learning in Anti Money Laundering - Part 1
Using Machine Learning in Anti Money Laundering - Part 1
 
Supervised Machine Learning Techniques
Supervised Machine Learning TechniquesSupervised Machine Learning Techniques
Supervised Machine Learning Techniques
 
Supervised Machine Learning Techniques common algorithms and its application
Supervised Machine Learning Techniques common algorithms and its applicationSupervised Machine Learning Techniques common algorithms and its application
Supervised Machine Learning Techniques common algorithms and its application
 
Handling Imbalanced Data: SMOTE vs. Random Undersampling
Handling Imbalanced Data: SMOTE vs. Random UndersamplingHandling Imbalanced Data: SMOTE vs. Random Undersampling
Handling Imbalanced Data: SMOTE vs. Random Undersampling
 
Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning Supervised Unsupervised and Reinforcement Learning
Supervised Unsupervised and Reinforcement Learning
 
Machine Learning Interview Questions
Machine Learning Interview QuestionsMachine Learning Interview Questions
Machine Learning Interview Questions
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Data Analytics, Machine Learning, and HPC in Today’s Changing Application Env...
Data Analytics, Machine Learning, and HPC in Today’s Changing Application Env...Data Analytics, Machine Learning, and HPC in Today’s Changing Application Env...
Data Analytics, Machine Learning, and HPC in Today’s Changing Application Env...
 
Machine learning
Machine learningMachine learning
Machine learning
 

Semelhante a Machine learning - session 4

Top 20 Data Science Interview Questions and Answers in 2023.pdf
Top 20 Data Science Interview Questions and Answers in 2023.pdfTop 20 Data Science Interview Questions and Answers in 2023.pdf
Top 20 Data Science Interview Questions and Answers in 2023.pdfAnanthReddy38
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3Luis Borbon
 
Post Graduate Admission Prediction System
Post Graduate Admission Prediction SystemPost Graduate Admission Prediction System
Post Graduate Admission Prediction SystemIRJET Journal
 
Statistical Learning and Model Selection module 2.pptx
Statistical Learning and Model Selection module 2.pptxStatistical Learning and Model Selection module 2.pptx
Statistical Learning and Model Selection module 2.pptxnagarajan740445
 
Supervised learning techniques and applications
Supervised learning techniques and applicationsSupervised learning techniques and applications
Supervised learning techniques and applicationsBenjaminlapid1
 
Pharmacokinetic pharmacodynamic modeling
Pharmacokinetic pharmacodynamic modelingPharmacokinetic pharmacodynamic modeling
Pharmacokinetic pharmacodynamic modelingMeghana Gowda
 
Module 4: Model Selection and Evaluation
Module 4: Model Selection and EvaluationModule 4: Model Selection and Evaluation
Module 4: Model Selection and EvaluationSara Hooker
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learningJohnson Ubah
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learningTonmoy Bhagawati
 
Machine Learning with Python- Methods for Machine Learning.pptx
Machine Learning with Python- Methods for Machine Learning.pptxMachine Learning with Python- Methods for Machine Learning.pptx
Machine Learning with Python- Methods for Machine Learning.pptxiaeronlineexm
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptxnarmeen11
 
Machine learning interview questions and answers
Machine learning interview questions and answersMachine learning interview questions and answers
Machine learning interview questions and answerskavinilavuG
 
Applied Artificial Intelligence Unit 3 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 3 Semester 3 MSc IT Part 2 Mumbai Univer...Applied Artificial Intelligence Unit 3 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 3 Semester 3 MSc IT Part 2 Mumbai Univer...Madhav Mishra
 
Top 20 Data Science Interview Questions and Answers in 2023.pptx
Top 20 Data Science Interview Questions and Answers in 2023.pptxTop 20 Data Science Interview Questions and Answers in 2023.pptx
Top 20 Data Science Interview Questions and Answers in 2023.pptxAnanthReddy38
 

Semelhante a Machine learning - session 4 (20)

Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Top 20 Data Science Interview Questions and Answers in 2023.pdf
Top 20 Data Science Interview Questions and Answers in 2023.pdfTop 20 Data Science Interview Questions and Answers in 2023.pdf
Top 20 Data Science Interview Questions and Answers in 2023.pdf
 
Machine Learning - Deep Learning
Machine Learning - Deep LearningMachine Learning - Deep Learning
Machine Learning - Deep Learning
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3
 
Post Graduate Admission Prediction System
Post Graduate Admission Prediction SystemPost Graduate Admission Prediction System
Post Graduate Admission Prediction System
 
Statistical Learning and Model Selection module 2.pptx
Statistical Learning and Model Selection module 2.pptxStatistical Learning and Model Selection module 2.pptx
Statistical Learning and Model Selection module 2.pptx
 
Supervised learning techniques and applications
Supervised learning techniques and applicationsSupervised learning techniques and applications
Supervised learning techniques and applications
 
Pharmacokinetic pharmacodynamic modeling
Pharmacokinetic pharmacodynamic modelingPharmacokinetic pharmacodynamic modeling
Pharmacokinetic pharmacodynamic modeling
 
Module 4: Model Selection and Evaluation
Module 4: Model Selection and EvaluationModule 4: Model Selection and Evaluation
Module 4: Model Selection and Evaluation
 
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
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learning
 
Machine Learning with Python- Methods for Machine Learning.pptx
Machine Learning with Python- Methods for Machine Learning.pptxMachine Learning with Python- Methods for Machine Learning.pptx
Machine Learning with Python- Methods for Machine Learning.pptx
 
AI.pdf
AI.pdfAI.pdf
AI.pdf
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Endsem AI merged.pdf
Endsem AI merged.pdfEndsem AI merged.pdf
Endsem AI merged.pdf
 
Machine learning interview questions and answers
Machine learning interview questions and answersMachine learning interview questions and answers
Machine learning interview questions and answers
 
Applied Artificial Intelligence Unit 3 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 3 Semester 3 MSc IT Part 2 Mumbai Univer...Applied Artificial Intelligence Unit 3 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 3 Semester 3 MSc IT Part 2 Mumbai Univer...
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptx
 
Top 20 Data Science Interview Questions and Answers in 2023.pptx
Top 20 Data Science Interview Questions and Answers in 2023.pptxTop 20 Data Science Interview Questions and Answers in 2023.pptx
Top 20 Data Science Interview Questions and Answers in 2023.pptx
 

Mais de Luis Borbon

Python for web development
Python for web developmentPython for web development
Python for web developmentLuis Borbon
 
Information literacy
Information literacyInformation literacy
Information literacyLuis Borbon
 
Unit test and continuous deployment
Unit test and continuous deploymentUnit test and continuous deployment
Unit test and continuous deploymentLuis Borbon
 
Machine learning - session 8
Machine learning - session 8Machine learning - session 8
Machine learning - session 8Luis Borbon
 
Machine learning - session 7
Machine learning - session 7Machine learning - session 7
Machine learning - session 7Luis Borbon
 
Machine learning session 6
Machine learning   session 6Machine learning   session 6
Machine learning session 6Luis Borbon
 
Machine learning - session 5
Machine learning - session 5Machine learning - session 5
Machine learning - session 5Luis Borbon
 
Machine learning - session 2
Machine learning - session 2Machine learning - session 2
Machine learning - session 2Luis Borbon
 
Machine learning - session 1
Machine learning - session 1Machine learning - session 1
Machine learning - session 1Luis Borbon
 
Docker swarm workshop
Docker swarm workshopDocker swarm workshop
Docker swarm workshopLuis Borbon
 

Mais de Luis Borbon (11)

Python for web development
Python for web developmentPython for web development
Python for web development
 
Big data
Big dataBig data
Big data
 
Information literacy
Information literacyInformation literacy
Information literacy
 
Unit test and continuous deployment
Unit test and continuous deploymentUnit test and continuous deployment
Unit test and continuous deployment
 
Machine learning - session 8
Machine learning - session 8Machine learning - session 8
Machine learning - session 8
 
Machine learning - session 7
Machine learning - session 7Machine learning - session 7
Machine learning - session 7
 
Machine learning session 6
Machine learning   session 6Machine learning   session 6
Machine learning session 6
 
Machine learning - session 5
Machine learning - session 5Machine learning - session 5
Machine learning - session 5
 
Machine learning - session 2
Machine learning - session 2Machine learning - session 2
Machine learning - session 2
 
Machine learning - session 1
Machine learning - session 1Machine learning - session 1
Machine learning - session 1
 
Docker swarm workshop
Docker swarm workshopDocker swarm workshop
Docker swarm workshop
 

Último

ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxolyaivanovalion
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 

Último (20)

ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 

Machine learning - session 4

  • 1. Machine Learning Lunch & Learn - Session 4 Luis Borbon 11/07/2017
  • 2. Table of contents 1. Recap 2. Generalization in Machine Learning 3. Overfitting and Underfitting 4. Algorithms by Similarity 5. Real Application 6. People to follow
  • 4. Recap ● Training, validation and test data sets. ● Learning Style ○ Supervised ○ Unsupervised ○ Semi-Supervised Learning. ● Similarity ○ Regression Algorithms ○ Instance-based Algorithms ○ Regularization Algorithms ○ Decision Tree Algorithms
  • 5.
  • 6. Recap Decision trees Possible applications in PlantMiner: For a searcher: Based on previous quotes, identify an item that usually is being hired along other. ● Suggest the item. ● Offer a discount to add the suggested item. For a supplier: Identify suppliers that would crunch on the next subscription renewal.
  • 8. Induction and deduction Induction refers to learning general concepts from specific examples which is exactly the problem that supervised machine learning problems aim to solve. This is different from deduction that is the other way around and seeks to learn specific concepts from general rules.
  • 9. Induction and deduction The goal of a good machine learning model is to generalize well from the training data to any data from the problem domain. This allows us to make predictions in the future on data the model has never seen.
  • 11. Overfitting In machine learning, one of the most common tasks is to fit a "model" to a set of training data, so as to be able to make reliable predictions on general untrained data. In overfitting, a statistical model describes random error or noise instead of the underlying relationship. The green line represents an overfitted model and the black line represents a regularised model. While the green line best follows the training data, it is too dependent on it and it is likely to have a higher error rate on new unseen data, compared to the black line.
  • 12. Overfitting A model that has been overfit has poor predictive performance, as it overreacts to minor fluctuations in the training data. Noisy (roughly linear) data is fitted to both linear and polynomial functions. Although the polynomial function is a perfect fit, the linear version can be expected to generalize better. In other words, if the two functions were used to extrapolate the data beyond the fit data, the linear function would make better predictions.
  • 13. Overfitting Overfitting occurs when a model is excessively complex, such as having too many parameters relative to the number of observations. Overfitting/overtraining in supervised learning (e.g., neural network). Training error is shown in blue, validation error in red, both as a function of the number of training cycles. If the validation error increases(positive slope) while the training error steadily decreases(negative slope) then a situation of overfitting may have occurred. The best predictive and fitted model would be where the validation error has its global minimum.
  • 14. Underfitting Underfitting occurs when a statistical model or machine learning algorithm cannot capture the underlying trend of the data. It occurs when the model or algorithm does not fit the data enough. Underfitting occurs if the model or algorithm shows low variance but high bias (to contrast the opposite, overfitting from high variance and low bias). It is often a result of an excessively simple model. Underfitting would occur, for example, when fitting a linear model to non-linear data. Such a model would have poor predictive performance.
  • 15. Underfitting There are two important techniques that you can use when evaluating machine learning algorithms to limit overfitting: ● Use a resampling technique to estimate model accuracy. ● Hold back a validation dataset.
  • 16. Underfitting Resampling The most popular resampling technique is k-fold cross validation. It allows you to train and test your model k-times on different subsets of training data and build up an estimate of the performance of a machine learning model on unseen data. Validation dataset A validation dataset is simply a subset of your training data that you hold back from your machine learning algorithms until the very end of your project. After you have selected and tuned your machine learning algorithms on your training dataset you can evaluate the learned models on the validation dataset to get a final objective idea of how the models might perform on unseen data.
  • 18. Bayesian Algorithms Bayesian methods are those that explicitly apply Bayes’ Theorem for problems such as classification and regression. With appropriate pre-processing, it is competitive in this domain with more advanced methods including support vector machines. It also finds application in automatic medical diagnosis. Document classification, based on word frequencies. e.g. SPAM.
  • 19. Bayesian Algorithms The most popular Bayesian algorithms are: ● Naive Bayes ● Gaussian Naive Bayes ● Multinomial Naive Bayes ● Averaged One-Dependence Estimators (AODE) ● Bayesian Belief Network (BBN) ● Bayesian Network (BN)
  • 21. DoseMe.com.au Bayesian dosing uses patient data and laboratory results to estimate a patient's ability to absorb, process, and clear a drug from their system. Using a published population model, DoseMe's algorithms adjusts the pharmacokinetic and/or pharmacodynamic parameters so that a patient-specific, individualised drug model is built. This individual model is then used to provide a patient-specific dosing recommendation to reach a therapeutic target.
  • 23. Fei-Fei Li Fei-Fei Li, who publishes under the name Li Fei-Fei, is an Associate Professor of Computer Science at Stanford University. She is the director of the Stanford Artificial Intelligence Lab and the Stanford Vision Lab. ● Born: 1976, Beijing, China ● Spouse: Silvio Savarese ● Education: California Institute of Technology (2005) ● Residence: United States of America ● Books: Computer Vision: From 3D Reconstruction to Visual Recognition, more ● Doctoral advisors: Pietro Perona, Christof Koch ● http://vision.stanford.edu/feifeili/ ● @drfeifei
  • 24. Andrej Karpathy Director of AI at Tesla, currently focused on perception for the Autopilot. Previously, I was a Research Scientist at OpenAI working on Deep Learning in Computer Vision, Generative Modeling and Reinforcement Learning. PhD from Stanford, where I worked with Fei-Fei Li on Convolutional/Recurrent Neural Network architectures and their applications in Computer Vision, Natural Language Processing and their intersection. ● http://cs.stanford.edu/people/karpathy/ ● @karpathy
  • 25. OpenAI Gym Founded: December 11, 2015 Founders: Elon Musk, Sam Altman, and others Type: 501(c)(3) Nonprofit organization Location: San Francisco, California, USA Products: OpenAI Gym Mission: Friendly artificial intelligence ● https://www.openai.com/ ● @OpenAI