SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Bias vs. Variance
Machine Learning
Franco Cedillo
Digital Product Manager, tech researcher
iOS Provider at Thought Recap SFO
past: PM Digital at La República, Ing. Informático PUCP
Diagnosing bias vs. variance
¿El problema es bias o variance?
Cross validation set
Learning Curves
Caso Redes Neuronales
Regularized Linear Regression
Error Cost:
What should we try next?
Get more training examples
Try smaller sets of features
Try getting additional features
Try adding polynomial features
Try decreasing ƛ
Try increasing ƛ
Split the data in two portions
Errors
Bias y Variance de acuerdo al grado del polinomio
Bias y variance de acuerdo al parámetro de
regularización ƛ
Objetivo
How to systematically improve our learning algorithm?
When our algorithm is doing poorly?
How to debug our learning algorithm?
Learning Curves
High Bias
High Variance
Actions
Action Effect
Get more training examples Fixes high variance
Try smaller sets of features Fixes high variance
Try getting additional features Fixes high bias
Try adding polynomial features Fixes high bias
Try decreasing ƛ Fixes high bias
Try increasing ƛ Fixes high variance
Ejemplos en MATLAB
Recursos Extra
Anotaciones de la lección
http://www.holehouse.org/mlclass/10_Advice_for_applying_machine_learning.html
Lección de la semana 6 en ML at Coursera
Andrew Ng
https://www.coursera.org/learn/machine-learning/home/week/6
Diapositivas de Apoyo
Training Set / c.v. Set / Test Set
60% / 30% / 30%
Hich bias
High Variance

Weitere ähnliche Inhalte

Ähnlich wie Bias vs Variance

You cant control what you cant measure - Measuring requirements quality
You cant control what you cant measure - Measuring requirements qualityYou cant control what you cant measure - Measuring requirements quality
You cant control what you cant measure - Measuring requirements quality
Markus Unterauer
 

Ähnlich wie Bias vs Variance (20)

Talk-Foutse-SrangeLoop.pdf
Talk-Foutse-SrangeLoop.pdfTalk-Foutse-SrangeLoop.pdf
Talk-Foutse-SrangeLoop.pdf
 
Promise 2011: "An Iterative Semi-supervised Approach to Software Fault Predic...
Promise 2011: "An Iterative Semi-supervised Approach to Software Fault Predic...Promise 2011: "An Iterative Semi-supervised Approach to Software Fault Predic...
Promise 2011: "An Iterative Semi-supervised Approach to Software Fault Predic...
 
Cross channel testing insights and recommendations - jump - oct 12 2011 - w...
Cross channel testing   insights and recommendations - jump - oct 12 2011 - w...Cross channel testing   insights and recommendations - jump - oct 12 2011 - w...
Cross channel testing insights and recommendations - jump - oct 12 2011 - w...
 
You cant control what you cant measure - Measuring requirements quality
You cant control what you cant measure - Measuring requirements qualityYou cant control what you cant measure - Measuring requirements quality
You cant control what you cant measure - Measuring requirements quality
 
Designing Self-maintaining UI Tests for Web Applications
Designing Self-maintaining UI Tests for Web ApplicationsDesigning Self-maintaining UI Tests for Web Applications
Designing Self-maintaining UI Tests for Web Applications
 
Seeing the Wood for the Trees in MT Evaluation: an LSP success story from RWS
Seeing the Wood for the Trees in MT Evaluation: an LSP success story from RWSSeeing the Wood for the Trees in MT Evaluation: an LSP success story from RWS
Seeing the Wood for the Trees in MT Evaluation: an LSP success story from RWS
 
Building Continuous Learning Systems
Building Continuous Learning SystemsBuilding Continuous Learning Systems
Building Continuous Learning Systems
 
Devops in reality - A doers' perspective
Devops in reality - A doers' perspectiveDevops in reality - A doers' perspective
Devops in reality - A doers' perspective
 
Teaching an Old Pony New Tricks: Maintaining and Updating and Aging Django Site
Teaching an Old Pony New Tricks: Maintaining and Updating and Aging Django SiteTeaching an Old Pony New Tricks: Maintaining and Updating and Aging Django Site
Teaching an Old Pony New Tricks: Maintaining and Updating and Aging Django Site
 
Introduction to machine learning and deep learning
Introduction to machine learning and deep learningIntroduction to machine learning and deep learning
Introduction to machine learning and deep learning
 
How to get a job as a software development engineer with Amazon
How to get a job as a software development engineer with AmazonHow to get a job as a software development engineer with Amazon
How to get a job as a software development engineer with Amazon
 
Your Future Without a Career Portfolio
Your Future Without a Career PortfolioYour Future Without a Career Portfolio
Your Future Without a Career Portfolio
 
How to Effectively Experiment in PM by LendingTree Sr PM
How to Effectively Experiment in PM by LendingTree Sr PMHow to Effectively Experiment in PM by LendingTree Sr PM
How to Effectively Experiment in PM by LendingTree Sr PM
 
JDO 2019: Data Science for Developers - Matthew Renze
JDO 2019: Data Science for Developers -  Matthew RenzeJDO 2019: Data Science for Developers -  Matthew Renze
JDO 2019: Data Science for Developers - Matthew Renze
 
Growth Hacking Conference '17 - Antwerp
Growth Hacking Conference '17 - AntwerpGrowth Hacking Conference '17 - Antwerp
Growth Hacking Conference '17 - Antwerp
 
Barga Data Science lecture 10
Barga Data Science lecture 10Barga Data Science lecture 10
Barga Data Science lecture 10
 
STAT7440StudentIMLPresentationJishan.pptx
STAT7440StudentIMLPresentationJishan.pptxSTAT7440StudentIMLPresentationJishan.pptx
STAT7440StudentIMLPresentationJishan.pptx
 
Managing machine learning
Managing machine learningManaging machine learning
Managing machine learning
 
ODSC East 2020 : Continuous_learning_systems
ODSC East 2020 : Continuous_learning_systemsODSC East 2020 : Continuous_learning_systems
ODSC East 2020 : Continuous_learning_systems
 
Machine Learning in the Financial Industry
Machine Learning in the Financial IndustryMachine Learning in the Financial Industry
Machine Learning in the Financial Industry
 

Mehr von Franco Cedillo

Parches en Drupal - Creación y Aplicación
Parches en Drupal - Creación y AplicaciónParches en Drupal - Creación y Aplicación
Parches en Drupal - Creación y Aplicación
Franco Cedillo
 
Gratificante Experiencia Drupalera
Gratificante Experiencia DrupaleraGratificante Experiencia Drupalera
Gratificante Experiencia Drupalera
Franco Cedillo
 

Mehr von Franco Cedillo (20)

¿Cuáles son las apps que más se usan durante la cuarentena?
¿Cuáles son las apps que más se usan durante la cuarentena?¿Cuáles son las apps que más se usan durante la cuarentena?
¿Cuáles son las apps que más se usan durante la cuarentena?
 
Éxito en las apps
Éxito en las appsÉxito en las apps
Éxito en las apps
 
¿Cuándo hacer y cuándo no hacer un app?
¿Cuándo hacer y cuándo no hacer un app?¿Cuándo hacer y cuándo no hacer un app?
¿Cuándo hacer y cuándo no hacer un app?
 
¿Cuánto cuesta hacer un app?
¿Cuánto cuesta hacer un app?¿Cuánto cuesta hacer un app?
¿Cuánto cuesta hacer un app?
 
Unit 2 - Introduction to UIKit
Unit 2 - Introduction to UIKitUnit 2 - Introduction to UIKit
Unit 2 - Introduction to UIKit
 
Unit 1 - Getting Started with App Development
Unit 1 - Getting Started with App DevelopmentUnit 1 - Getting Started with App Development
Unit 1 - Getting Started with App Development
 
App Project Planning, by Apple
App Project Planning, by AppleApp Project Planning, by Apple
App Project Planning, by Apple
 
Prototyping Apps for Real People, by Apple
Prototyping Apps for Real People, by ApplePrototyping Apps for Real People, by Apple
Prototyping Apps for Real People, by Apple
 
Human Interface Guidelines for iOS, by Apple
Human Interface Guidelines for iOS, by AppleHuman Interface Guidelines for iOS, by Apple
Human Interface Guidelines for iOS, by Apple
 
App Development with Swift, by Apple
App Development with Swift, by AppleApp Development with Swift, by Apple
App Development with Swift, by Apple
 
CIARP 2016 at Data Science Lima
CIARP 2016 at Data Science LimaCIARP 2016 at Data Science Lima
CIARP 2016 at Data Science Lima
 
Aplicaciones de Machine Learning @ hackspace.pe
Aplicaciones de Machine Learning @ hackspace.peAplicaciones de Machine Learning @ hackspace.pe
Aplicaciones de Machine Learning @ hackspace.pe
 
Smartphones
SmartphonesSmartphones
Smartphones
 
Migrando un módulo Field Formatter a Drupal 8
Migrando un módulo Field Formatter a Drupal 8Migrando un módulo Field Formatter a Drupal 8
Migrando un módulo Field Formatter a Drupal 8
 
El Contenido es La Princesa
El Contenido es La PrincesaEl Contenido es La Princesa
El Contenido es La Princesa
 
Parches en Drupal - Creación y Aplicación
Parches en Drupal - Creación y AplicaciónParches en Drupal - Creación y Aplicación
Parches en Drupal - Creación y Aplicación
 
Gratificante Experiencia Drupalera
Gratificante Experiencia DrupaleraGratificante Experiencia Drupalera
Gratificante Experiencia Drupalera
 
SmartPhones
SmartPhonesSmartPhones
SmartPhones
 
Semana del Chilcano
Semana del ChilcanoSemana del Chilcano
Semana del Chilcano
 
Tesis Foss
Tesis FossTesis Foss
Tesis Foss
 

Kürzlich hochgeladen

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
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
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
MarinCaroMartnezBerg
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
Lars Albertsson
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
JohnnyPlasten
 

Kürzlich hochgeladen (20)

Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
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
 
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
 
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...
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
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
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
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
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
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...
 

Bias vs Variance

Hinweis der Redaktion

  1. Para una exposición clara vamos a tomar el caso de la Regresión Lineal
  2. x1, x2, x3, x4, ... (x1)^2, (x2)^2, x1.x2, ...
  3. Contexto: Es un trabajo, estudio, tesis Fecha límite
  4. Con más complejidad la el aprendizaje sobre la data de entrenamiento se vuelve más precisa. Así también se llega a acertar para el set de test, sin embargo con mayor complejidad se va perdiendo ese acierto.
  5. Algunos resultados están mal Alguien del equipo, un consultor, tal vez por parte del cliente obtiene gráficas que muestran un error grande Alguien ve el código e intuye un error No va a hacer nuestra tarea de implementar bien el algoritmo