SlideShare a Scribd company logo
AI Club
AI Club
Regression Metrics
How good a model is: Predictive performance
• Predictive performance in Classification: Accuracy
• Predictive performance in Regression ?
How good a model is: Predictive performance
• Predictive performance in Classification: Accuracy
• Predictive performance in Regression ?
• What can you use to tell you how good your regression AI is?
Predictive performance in regression
• Predictive performance in Classification: Accuracy
• Predictive performance in Regression:
• Calculate the error = (Predicted – True)
If the correct value is 10 and AI predicted 11
Error = 11-10 = 1
Predictive performance in regression
• Predictive performance in Classification: Accuracy
• Predictive performance in Regression:
• Calculate the error = (Predicted – True)
If the correct value is 10 and AI predicted 9
Error = ?
Predictive performance in regression
• Predictive performance in Classification: Accuracy
• Predictive performance in Regression:
• Calculate the error = (Predicted – True)
If the correct value is 10 and AI predicted 9
Error = 9-10 = -1?
Predictive performance in regression
• Predictive performance in Classification: Accuracy
• Predictive performance in Regression:
• Calculate the error = (Predicted – True)
If the correct value is 10 and AI predicted 9
Absolute Value Error = Absolute Value(-1) = 1
Predictive performance in regression
• Predictive performance in Classification: Accuracy
• Predictive performance in Regression:
• Calculate the error = (Predicted – True)
In case of accuracy, if the AI got 6 correct answers out of 10,
its accuracy = 60%
Similarly, if the AI got errors of 1.2,5.1,2,3,6,1,4.3.. etc for 10
questions, what is the overall error?
Predictive performance in regression
• Predictive performance in Classification: Accuracy
• Predictive performance in Regression:
• Calculate the error = (Predicted – True)
In case of accuracy, if the AI got 6 correct answers out of 10,
its accuracy = 60%
Similarly, if the AI got errors of 1.2,5.1,2,3,6,1,4.3.. etc for 10
questions, what is the overall error?
Over all error is Average(1.2,5.1,2,3,4,1,4.3 …)
Predictive performance in regression
• Exercise:
• True Value: 5, Predicted Value: 3
• True Value: 7, Predicted Value: 10
Predictive performance in regression
Predictive performance in regression
• Example:
• True Value: 5, Predicted Value: 3 -> Error: 2
• True Value: 7, Predicted Value: 10 -> Error: -3
Predictive performance in regression
Predictive performance in regression
• Example:
• True Value: 5, Predicted Value: 3 -> Absolute Error: 2
• True Value: 7, Predicted Value: 10 -> Absolute Error: 3
Predictive performance in regression
Predictive performance in regression
• Example:
• True Value: 5, Predicted Value: 3 -> Absolute Error: 2
• True Value: 7, Predicted Value: 10 -> Absolute Error: 3
• Mean Absolute Error: (3+2)/2
Predictive performance in regression
Predictive performance in regression
• Example:
• True Value: 5, Predicted Value: 3 -> Absolute Error: 2
• True Value: 7, Predicted Value: 10 -> Absolute Error: 3
• Mean Absolute Error: (3+2)/2
• Another way to measure error
• True Value: 5, Predicted Value: 3 -> Square Error: 4
• True Value: 7, Predicted Value: 10 -> Square Error: 9
Predictive performance in regression
Predictive performance in regression
• Example:
• True Value: 5, Predicted Value: 3 -> Absolute Error: 2
• True Value: 7, Predicted Value: 10 -> Absolute Error: 3
• Mean Absolute Error: (3+2)/2
• Another way to measure error
• True Value: 5, Predicted Value: 3 -> Square Error: 4
• True Value: 7, Predicted Value: 10 -> Square Error: 9
• Mean Square Error: (9+4)/2
Predictive performance in regression
Predictive performance in regression
• Example:
• True Value: 5, Predicted Value: 3 -> Absolute Error: 2
• True Value: 7, Predicted Value: 10 -> Absolute Error: 3
• Mean Absolute Error: (3+2)/2
• Another way to measure error
• True Value: 5, Predicted Value: 3 -> Square Error: 4
• True Value: 7, Predicted Value: 10 -> Square Error: 9
• Mean Square Error: (9+4)/2
• Root Mean Square Error: root((9+4)/2)
Predictive performance in regression
Summary: How to Measure Regression
• In regression, you have to compare the number you get from
the AI with the correct number
• Lower difference is better
• Its called Root Mean Square Error (RMSE)
• Take the difference (Prediction – Right answer)
• Square it so that it is always positive (Prediction – Right Answer) *
(Prediction – Right Answer)
• Take the average (Mean)
• Take the square root
THANK YOU
https://aiclub.world
info@pyxeda.ai

More Related Content

What's hot

Machine learning session1
Machine learning   session1Machine learning   session1
Machine learning session1
Abhimanyu Dwivedi
 
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Md. Main Uddin Rony
 
numerical analysis
numerical analysisnumerical analysis
numerical analysis
'Anand Kumar'
 
Machine learning session8(svm nlp)
Machine learning   session8(svm nlp)Machine learning   session8(svm nlp)
Machine learning session8(svm nlp)
Abhimanyu Dwivedi
 
Machine learning algorithms and business use cases
Machine learning algorithms and business use casesMachine learning algorithms and business use cases
Machine learning algorithms and business use cases
Sridhar Ratakonda
 
Biostatistics Workshop: Missing Data
Biostatistics Workshop: Missing DataBiostatistics Workshop: Missing Data
Biostatistics Workshop: Missing Data
HopkinsCFAR
 
Statistical Test
Statistical TestStatistical Test
Statistical Testguestdbf093
 
Data Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model SelectionData Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model Selection
Derek Kane
 
PyGotham 2016
PyGotham 2016PyGotham 2016
PyGotham 2016
Manojit Nandi
 
Statistical parameters
Statistical parametersStatistical parameters
Statistical parameters
Burdwan University
 
Effect Size
Effect SizeEffect Size
Effect Size
Gaetan Lion
 
Machine learning algorithms
Machine learning algorithmsMachine learning algorithms
Machine learning algorithms
Shalitha Suranga
 
Correlation & Linear Regression
Correlation & Linear RegressionCorrelation & Linear Regression
Correlation & Linear Regression
Hammad Waseem
 
Statistical analysis & errors (lecture 3)
Statistical analysis & errors (lecture 3)Statistical analysis & errors (lecture 3)
Statistical analysis & errors (lecture 3)
Farhad Ashraf
 
19 Simple CART
19 Simple CART19 Simple CART
19 Simple CART
Vishal Dutt
 
Linear Regression in R
Linear Regression in RLinear Regression in R
Linear Regression in R
Edureka!
 
Hypothesis Testing: Finding the Right Statistical Test
Hypothesis Testing: Finding the Right Statistical TestHypothesis Testing: Finding the Right Statistical Test
Hypothesis Testing: Finding the Right Statistical Test
Matt Hansen
 

What's hot (17)

Machine learning session1
Machine learning   session1Machine learning   session1
Machine learning session1
 
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
Data Analysis: Evaluation Metrics for Supervised Learning Models of Machine L...
 
numerical analysis
numerical analysisnumerical analysis
numerical analysis
 
Machine learning session8(svm nlp)
Machine learning   session8(svm nlp)Machine learning   session8(svm nlp)
Machine learning session8(svm nlp)
 
Machine learning algorithms and business use cases
Machine learning algorithms and business use casesMachine learning algorithms and business use cases
Machine learning algorithms and business use cases
 
Biostatistics Workshop: Missing Data
Biostatistics Workshop: Missing DataBiostatistics Workshop: Missing Data
Biostatistics Workshop: Missing Data
 
Statistical Test
Statistical TestStatistical Test
Statistical Test
 
Data Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model SelectionData Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model Selection
 
PyGotham 2016
PyGotham 2016PyGotham 2016
PyGotham 2016
 
Statistical parameters
Statistical parametersStatistical parameters
Statistical parameters
 
Effect Size
Effect SizeEffect Size
Effect Size
 
Machine learning algorithms
Machine learning algorithmsMachine learning algorithms
Machine learning algorithms
 
Correlation & Linear Regression
Correlation & Linear RegressionCorrelation & Linear Regression
Correlation & Linear Regression
 
Statistical analysis & errors (lecture 3)
Statistical analysis & errors (lecture 3)Statistical analysis & errors (lecture 3)
Statistical analysis & errors (lecture 3)
 
19 Simple CART
19 Simple CART19 Simple CART
19 Simple CART
 
Linear Regression in R
Linear Regression in RLinear Regression in R
Linear Regression in R
 
Hypothesis Testing: Finding the Right Statistical Test
Hypothesis Testing: Finding the Right Statistical TestHypothesis Testing: Finding the Right Statistical Test
Hypothesis Testing: Finding the Right Statistical Test
 

Similar to M1 regression metrics_middleschool

Statistical tests
Statistical testsStatistical tests
Statistical tests
martyynyyte
 
MLSEV Virtual. Evaluations
MLSEV Virtual. EvaluationsMLSEV Virtual. Evaluations
MLSEV Virtual. Evaluations
BigML, Inc
 
Test Automation Day 2018
Test Automation Day 2018Test Automation Day 2018
Test Automation Day 2018
Maurício Aniche
 
Optimizely Workshop: Take Action on Results with Statistics
Optimizely Workshop: Take Action on Results with StatisticsOptimizely Workshop: Take Action on Results with Statistics
Optimizely Workshop: Take Action on Results with Statistics
Optimizely
 
Session two Builders & Developers workshop Microsoft Tech Club Cairo Universi...
Session two Builders & Developers workshop Microsoft Tech Club Cairo Universi...Session two Builders & Developers workshop Microsoft Tech Club Cairo Universi...
Session two Builders & Developers workshop Microsoft Tech Club Cairo Universi...
Moatasim Magdy
 
Chaptfffffuuer05.PPT
Chaptfffffuuer05.PPTChaptfffffuuer05.PPT
Chaptfffffuuer05.PPT
sdvdsvsdvsvds
 
presentation_python_11_1569171345_375360.pptx
presentation_python_11_1569171345_375360.pptxpresentation_python_11_1569171345_375360.pptx
presentation_python_11_1569171345_375360.pptx
GAURAVRATHORE86
 
Causal Inference in R
Causal Inference in RCausal Inference in R
Causal Inference in R
Ana Daglis
 
QSIR knowledge exchange - Matt Tite presentation
QSIR knowledge exchange   -  Matt Tite presentationQSIR knowledge exchange   -  Matt Tite presentation
QSIR knowledge exchange - Matt Tite presentation
NHS Improving Quality
 
VSSML18. Evaluations
VSSML18. EvaluationsVSSML18. Evaluations
VSSML18. Evaluations
BigML, Inc
 
Lecture 12 binary classifier confusion matrix
Lecture 12 binary classifier confusion matrixLecture 12 binary classifier confusion matrix
Lecture 12 binary classifier confusion matrix
Mostafa El-Hosseini
 
C++ IF STATMENT AND ITS TYPE
C++ IF STATMENT AND ITS TYPEC++ IF STATMENT AND ITS TYPE
Curvefitting
CurvefittingCurvefitting
Curvefitting
Philberto Saroni
 
Simple rules for building robust machine learning models
Simple rules for building robust machine learning modelsSimple rules for building robust machine learning models
Simple rules for building robust machine learning models
Kyriakos Chatzidimitriou
 
chap04-conditional.ppt
chap04-conditional.pptchap04-conditional.ppt
chap04-conditional.ppt
HeshamMohamed855920
 
Java Programmin: Selections
Java Programmin: SelectionsJava Programmin: Selections
Java Programmin: Selections
Karwan Mustafa Kareem
 
Week8finalexamlivelecture2011 mt
Week8finalexamlivelecture2011 mtWeek8finalexamlivelecture2011 mt
Week8finalexamlivelecture2011 mt
Brent Heard
 
Paul Hofmann - Recruiting with Jenkins - How engineers can recruit engineers ...
Paul Hofmann - Recruiting with Jenkins - How engineers can recruit engineers ...Paul Hofmann - Recruiting with Jenkins - How engineers can recruit engineers ...
Paul Hofmann - Recruiting with Jenkins - How engineers can recruit engineers ...
Codemotion
 

Similar to M1 regression metrics_middleschool (20)

Statistical tests
Statistical testsStatistical tests
Statistical tests
 
MLSEV Virtual. Evaluations
MLSEV Virtual. EvaluationsMLSEV Virtual. Evaluations
MLSEV Virtual. Evaluations
 
Test Automation Day 2018
Test Automation Day 2018Test Automation Day 2018
Test Automation Day 2018
 
Optimizely Workshop: Take Action on Results with Statistics
Optimizely Workshop: Take Action on Results with StatisticsOptimizely Workshop: Take Action on Results with Statistics
Optimizely Workshop: Take Action on Results with Statistics
 
Session two Builders & Developers workshop Microsoft Tech Club Cairo Universi...
Session two Builders & Developers workshop Microsoft Tech Club Cairo Universi...Session two Builders & Developers workshop Microsoft Tech Club Cairo Universi...
Session two Builders & Developers workshop Microsoft Tech Club Cairo Universi...
 
Chaptfffffuuer05.PPT
Chaptfffffuuer05.PPTChaptfffffuuer05.PPT
Chaptfffffuuer05.PPT
 
presentation_python_11_1569171345_375360.pptx
presentation_python_11_1569171345_375360.pptxpresentation_python_11_1569171345_375360.pptx
presentation_python_11_1569171345_375360.pptx
 
Causal Inference in R
Causal Inference in RCausal Inference in R
Causal Inference in R
 
QSIR knowledge exchange - Matt Tite presentation
QSIR knowledge exchange   -  Matt Tite presentationQSIR knowledge exchange   -  Matt Tite presentation
QSIR knowledge exchange - Matt Tite presentation
 
VSSML18. Evaluations
VSSML18. EvaluationsVSSML18. Evaluations
VSSML18. Evaluations
 
Lecture 12 binary classifier confusion matrix
Lecture 12 binary classifier confusion matrixLecture 12 binary classifier confusion matrix
Lecture 12 binary classifier confusion matrix
 
C++ IF STATMENT AND ITS TYPE
C++ IF STATMENT AND ITS TYPEC++ IF STATMENT AND ITS TYPE
C++ IF STATMENT AND ITS TYPE
 
Curvefitting
CurvefittingCurvefitting
Curvefitting
 
Simple rules for building robust machine learning models
Simple rules for building robust machine learning modelsSimple rules for building robust machine learning models
Simple rules for building robust machine learning models
 
chap04-conditional.ppt
chap04-conditional.pptchap04-conditional.ppt
chap04-conditional.ppt
 
Ch3
Ch3Ch3
Ch3
 
Java Programmin: Selections
Java Programmin: SelectionsJava Programmin: Selections
Java Programmin: Selections
 
Week8finalexamlivelecture2011 mt
Week8finalexamlivelecture2011 mtWeek8finalexamlivelecture2011 mt
Week8finalexamlivelecture2011 mt
 
Data meeting
Data meeting Data meeting
Data meeting
 
Paul Hofmann - Recruiting with Jenkins - How engineers can recruit engineers ...
Paul Hofmann - Recruiting with Jenkins - How engineers can recruit engineers ...Paul Hofmann - Recruiting with Jenkins - How engineers can recruit engineers ...
Paul Hofmann - Recruiting with Jenkins - How engineers can recruit engineers ...
 

More from aiclub_slides

Linear regression middleschool
Linear regression middleschoolLinear regression middleschool
Linear regression middleschool
aiclub_slides
 
Pa2 project template
Pa2 project templatePa2 project template
Pa2 project template
aiclub_slides
 
Knn intro advanced_middleschool
Knn intro advanced_middleschoolKnn intro advanced_middleschool
Knn intro advanced_middleschool
aiclub_slides
 
Pa1 json requests
Pa1 json requestsPa1 json requests
Pa1 json requests
aiclub_slides
 
Mnist images
Mnist imagesMnist images
Mnist images
aiclub_slides
 
Mnist images
Mnist imagesMnist images
Mnist images
aiclub_slides
 
Ai in real life face detection
Ai in real life   face detectionAi in real life   face detection
Ai in real life face detection
aiclub_slides
 
Res net high level intro
Res net high level introRes net high level intro
Res net high level intro
aiclub_slides
 
Neural networks and flattened images
Neural networks and flattened imagesNeural networks and flattened images
Neural networks and flattened images
aiclub_slides
 
What is a_neural_network
What is a_neural_networkWhat is a_neural_network
What is a_neural_network
aiclub_slides
 
How neural networks learn part iii
How neural networks learn part iiiHow neural networks learn part iii
How neural networks learn part iii
aiclub_slides
 
Introduction to deep learning image classification
Introduction to deep learning   image classificationIntroduction to deep learning   image classification
Introduction to deep learning image classification
aiclub_slides
 
Accuracy middleschool
Accuracy middleschoolAccuracy middleschool
Accuracy middleschool
aiclub_slides
 
Introduction to classification_middleschool
Introduction to classification_middleschoolIntroduction to classification_middleschool
Introduction to classification_middleschool
aiclub_slides
 
Introduction to the cloud
Introduction to the cloudIntroduction to the cloud
Introduction to the cloud
aiclub_slides
 
Basics of data
Basics of dataBasics of data
Basics of data
aiclub_slides
 
Ai basics
Ai basicsAi basics
Ai basics
aiclub_slides
 
Ai lifecycle and navigator
Ai lifecycle and navigatorAi lifecycle and navigator
Ai lifecycle and navigator
aiclub_slides
 
How AIs are different from us level 1
How AIs are different from us   level 1How AIs are different from us   level 1
How AIs are different from us level 1
aiclub_slides
 

More from aiclub_slides (20)

Linear regression middleschool
Linear regression middleschoolLinear regression middleschool
Linear regression middleschool
 
Pa2 project template
Pa2 project templatePa2 project template
Pa2 project template
 
Knn intro advanced_middleschool
Knn intro advanced_middleschoolKnn intro advanced_middleschool
Knn intro advanced_middleschool
 
Pa1 json requests
Pa1 json requestsPa1 json requests
Pa1 json requests
 
Mnist images
Mnist imagesMnist images
Mnist images
 
Mnist images
Mnist imagesMnist images
Mnist images
 
Ai in real life face detection
Ai in real life   face detectionAi in real life   face detection
Ai in real life face detection
 
Cnn
CnnCnn
Cnn
 
Res net high level intro
Res net high level introRes net high level intro
Res net high level intro
 
Neural networks and flattened images
Neural networks and flattened imagesNeural networks and flattened images
Neural networks and flattened images
 
What is a_neural_network
What is a_neural_networkWhat is a_neural_network
What is a_neural_network
 
How neural networks learn part iii
How neural networks learn part iiiHow neural networks learn part iii
How neural networks learn part iii
 
Introduction to deep learning image classification
Introduction to deep learning   image classificationIntroduction to deep learning   image classification
Introduction to deep learning image classification
 
Accuracy middleschool
Accuracy middleschoolAccuracy middleschool
Accuracy middleschool
 
Introduction to classification_middleschool
Introduction to classification_middleschoolIntroduction to classification_middleschool
Introduction to classification_middleschool
 
Introduction to the cloud
Introduction to the cloudIntroduction to the cloud
Introduction to the cloud
 
Basics of data
Basics of dataBasics of data
Basics of data
 
Ai basics
Ai basicsAi basics
Ai basics
 
Ai lifecycle and navigator
Ai lifecycle and navigatorAi lifecycle and navigator
Ai lifecycle and navigator
 
How AIs are different from us level 1
How AIs are different from us   level 1How AIs are different from us   level 1
How AIs are different from us level 1
 

Recently uploaded

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 

Recently uploaded (20)

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 

M1 regression metrics_middleschool

  • 3. How good a model is: Predictive performance • Predictive performance in Classification: Accuracy • Predictive performance in Regression ?
  • 4. How good a model is: Predictive performance • Predictive performance in Classification: Accuracy • Predictive performance in Regression ? • What can you use to tell you how good your regression AI is?
  • 5. Predictive performance in regression • Predictive performance in Classification: Accuracy • Predictive performance in Regression: • Calculate the error = (Predicted – True) If the correct value is 10 and AI predicted 11 Error = 11-10 = 1
  • 6. Predictive performance in regression • Predictive performance in Classification: Accuracy • Predictive performance in Regression: • Calculate the error = (Predicted – True) If the correct value is 10 and AI predicted 9 Error = ?
  • 7. Predictive performance in regression • Predictive performance in Classification: Accuracy • Predictive performance in Regression: • Calculate the error = (Predicted – True) If the correct value is 10 and AI predicted 9 Error = 9-10 = -1?
  • 8. Predictive performance in regression • Predictive performance in Classification: Accuracy • Predictive performance in Regression: • Calculate the error = (Predicted – True) If the correct value is 10 and AI predicted 9 Absolute Value Error = Absolute Value(-1) = 1
  • 9. Predictive performance in regression • Predictive performance in Classification: Accuracy • Predictive performance in Regression: • Calculate the error = (Predicted – True) In case of accuracy, if the AI got 6 correct answers out of 10, its accuracy = 60% Similarly, if the AI got errors of 1.2,5.1,2,3,6,1,4.3.. etc for 10 questions, what is the overall error?
  • 10. Predictive performance in regression • Predictive performance in Classification: Accuracy • Predictive performance in Regression: • Calculate the error = (Predicted – True) In case of accuracy, if the AI got 6 correct answers out of 10, its accuracy = 60% Similarly, if the AI got errors of 1.2,5.1,2,3,6,1,4.3.. etc for 10 questions, what is the overall error? Over all error is Average(1.2,5.1,2,3,4,1,4.3 …)
  • 11. Predictive performance in regression • Exercise: • True Value: 5, Predicted Value: 3 • True Value: 7, Predicted Value: 10 Predictive performance in regression
  • 12. Predictive performance in regression • Example: • True Value: 5, Predicted Value: 3 -> Error: 2 • True Value: 7, Predicted Value: 10 -> Error: -3 Predictive performance in regression
  • 13. Predictive performance in regression • Example: • True Value: 5, Predicted Value: 3 -> Absolute Error: 2 • True Value: 7, Predicted Value: 10 -> Absolute Error: 3 Predictive performance in regression
  • 14. Predictive performance in regression • Example: • True Value: 5, Predicted Value: 3 -> Absolute Error: 2 • True Value: 7, Predicted Value: 10 -> Absolute Error: 3 • Mean Absolute Error: (3+2)/2 Predictive performance in regression
  • 15. Predictive performance in regression • Example: • True Value: 5, Predicted Value: 3 -> Absolute Error: 2 • True Value: 7, Predicted Value: 10 -> Absolute Error: 3 • Mean Absolute Error: (3+2)/2 • Another way to measure error • True Value: 5, Predicted Value: 3 -> Square Error: 4 • True Value: 7, Predicted Value: 10 -> Square Error: 9 Predictive performance in regression
  • 16. Predictive performance in regression • Example: • True Value: 5, Predicted Value: 3 -> Absolute Error: 2 • True Value: 7, Predicted Value: 10 -> Absolute Error: 3 • Mean Absolute Error: (3+2)/2 • Another way to measure error • True Value: 5, Predicted Value: 3 -> Square Error: 4 • True Value: 7, Predicted Value: 10 -> Square Error: 9 • Mean Square Error: (9+4)/2 Predictive performance in regression
  • 17. Predictive performance in regression • Example: • True Value: 5, Predicted Value: 3 -> Absolute Error: 2 • True Value: 7, Predicted Value: 10 -> Absolute Error: 3 • Mean Absolute Error: (3+2)/2 • Another way to measure error • True Value: 5, Predicted Value: 3 -> Square Error: 4 • True Value: 7, Predicted Value: 10 -> Square Error: 9 • Mean Square Error: (9+4)/2 • Root Mean Square Error: root((9+4)/2) Predictive performance in regression
  • 18. Summary: How to Measure Regression • In regression, you have to compare the number you get from the AI with the correct number • Lower difference is better • Its called Root Mean Square Error (RMSE) • Take the difference (Prediction – Right answer) • Square it so that it is always positive (Prediction – Right Answer) * (Prediction – Right Answer) • Take the average (Mean) • Take the square root