SlideShare a Scribd company logo
EVALUATION TECHNIQUES IN AI
-Jitendra Kumar Yadav
DAV Public School, Gumla
WHAT IS EVALUATION?
 It is the process of understanding the reliability of
any AI model, based on outputs by feeding test
dataset into the model and comparing with actual
answers.
 There are different evaluation techniques,
depending on the type and purpose of the model.
 Note: It’s not recommended to use the data
used to build the model to evaluate it.
MODEL EVALUATION
TERMINOLOGIES
Lets Imagine, an AI based prediction model has been
deployed in a forest which is prone to forest fires.
 The efficiency of the model is checked using two
conditions: Prediction & Reality
 The prediction is the output which is given by the
machine and,
 The reality is the real scenario in the forest when
the prediction has been made.
THE SCENARIO
THE SCENARIO…
The Prediction matches with the Reality.
Hence, this condition is termed as True
Positive.
THE SCENARIO…
THE SCENARIO…
The machine has predicted it correctly as a
No. Therefore, this condition is termed as
True Negative.
THE SCENARIO…
THE SCENARIO…
The machine has incorrectly predicted that
there is a forest fire. This case is termed as
False Positive.
THE SCENARIO…
THE SCENARIO…
Here, a forest fire has broken out in the forest
but the machine has incorrectly predicted it
as a No. Therefore, this case becomes False
Negative.
THE CONFUSION MATRIX
 The result of comparison between the
prediction and reality is recorded, which is
called the confusion matrix.
 It is not an evaluation metric but a record
which helps in evaluation.
THE CONFUSION MATRIX…
THE CONFUSION MATRIX…
EVALUATION METHODS
 Accuracy
 Precision
 Recall
 F1 Score
ACCURACY
 It is the percentage of correct predictions out
of all the observations.
 A prediction can be said to be correct if it
matches the reality.
 Here, we have two conditions in which the
Prediction matches with the Reality: True
Positive and True Negative.
ACCURACY…
 Example:
Assume that the model always predicts that
there is no fire. But in reality, there is a 2%
chance of forest fire breaking out. In this
case, for 98 cases, the model will be right but
for those 2 cases in which there was a forest
fire, then too the model predicted no fire.
 Here, TP = 0 TN = 98 Total cases = 100
Therefore, accuracy: (98 + 0) / 100 = 98%
ACCURACY…
This is a fairly high accuracy for an AI model. But this
parameter is useless for as the actual cases where the
fire broke out are not taken into account. Hence, there is a
need to look at another parameter which takes account of
such cases as well.
PRECISION
 The percentage of True Positive cases versus
all the cases where the prediction is true.
 It takes into account the True Positives and
False Positives.
PRECISION…
 Ex- Assume that the model always predicts
that there is a forest fire irrespective of the
reality. In this case, all the Positive conditions
would be taken into account that is, True
Positive (Prediction = Yes and Reality = Yes)
and False Positive (Prediction = Yes and
Reality = No).
 In this case, the firefighters will check for the
fire all the time to see if the alarm was True or
False.
PRECISION…
 This makes Precision an important evaluation
criteria. If Precision is high, this means the
True Positive cases are more, giving lesser
False alarms.
RECALL
 It is the fraction of positive cases that are
correctly identified.
F1 SCORE
 It is the measure of balance between
precision and recall.
 An ideal situation would be when we have a
value of 1 (that is 100%) for both Precision
and Recall. In that case, the F1 score would
also be an ideal 1 (100%). It is known as the
perfect value for F1 Score.
QUESTIONS
 Find out Accuracy, Precision, Recall and F1 Score for the
given problems.
QUESTIONS
 Find out Accuracy, Precision, Recall and F1 Score for the
given problems.
QUESTIONS
 Find out Accuracy, Precision, Recall and F1 Score for the
given problems.
QUESTIONS
 Find out Accuracy, Precision, Recall and F1 Score for the
given problems.
EVALUATION IN AI.pptx

More Related Content

What's hot

Benefits and risk of artificial intelligence slideshare
Benefits and risk of artificial intelligence slideshareBenefits and risk of artificial intelligence slideshare
Benefits and risk of artificial intelligence slideshare
Sandeep Mishra
 
Ppt on data science
Ppt on data science Ppt on data science
Ppt on data science
Ansh Budania
 
Artificial Intelligence PPT .
Artificial Intelligence PPT .Artificial Intelligence PPT .
Artificial Intelligence PPT .
VAIBHAVNAGPURE6
 
Social Impacts of Artificial intelligence
Social Impacts of Artificial intelligenceSocial Impacts of Artificial intelligence
Social Impacts of Artificial intelligence
Saqib Raza
 
Introduction to Data Science.pptx
Introduction to Data Science.pptxIntroduction to Data Science.pptx
Introduction to Data Science.pptx
Vrishit Saraswat
 
Machine learning
Machine learningMachine learning
Machine learning
Rajib Kumar De
 
AI PROJECT CYCLE.pdf
AI PROJECT CYCLE.pdfAI PROJECT CYCLE.pdf
AI PROJECT CYCLE.pdf
ShishirBobbili
 
CH-1 Introduction to Artificial Intelligence for class 9.pptx
CH-1 Introduction to Artificial Intelligence for class 9.pptxCH-1 Introduction to Artificial Intelligence for class 9.pptx
CH-1 Introduction to Artificial Intelligence for class 9.pptx
AadityaNanda
 
Evolution & Future Of Artificial Intelligence
Evolution & Future Of Artificial IntelligenceEvolution & Future Of Artificial Intelligence
Evolution & Future Of Artificial Intelligence
AishwaryaBhardwaj14
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
Mayank Saxena
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
Pardeep Vats
 
Introduction to AI & ML
Introduction to AI & MLIntroduction to AI & ML
Introduction to AI & ML
Mandy Sidana
 
Ai for kids
Ai for kidsAi for kids
Ai for kids
Usman Qayyum
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
Indranil Chowdhury
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
u053675
 
Artificial Intelligence : The Future of AI
Artificial Intelligence : The Future of AIArtificial Intelligence : The Future of AI
Artificial Intelligence : The Future of AI
SOURABH KUMAR PANDEY
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
ravijain90
 
Machine learning
Machine learningMachine learning
Machine learning
LawyerAiman1
 
Introduction to Artificial Intelligence.pptx
Introduction to Artificial Intelligence.pptxIntroduction to Artificial Intelligence.pptx
Introduction to Artificial Intelligence.pptx
RSAISHANKAR
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
Prakhyath Rai
 

What's hot (20)

Benefits and risk of artificial intelligence slideshare
Benefits and risk of artificial intelligence slideshareBenefits and risk of artificial intelligence slideshare
Benefits and risk of artificial intelligence slideshare
 
Ppt on data science
Ppt on data science Ppt on data science
Ppt on data science
 
Artificial Intelligence PPT .
Artificial Intelligence PPT .Artificial Intelligence PPT .
Artificial Intelligence PPT .
 
Social Impacts of Artificial intelligence
Social Impacts of Artificial intelligenceSocial Impacts of Artificial intelligence
Social Impacts of Artificial intelligence
 
Introduction to Data Science.pptx
Introduction to Data Science.pptxIntroduction to Data Science.pptx
Introduction to Data Science.pptx
 
Machine learning
Machine learningMachine learning
Machine learning
 
AI PROJECT CYCLE.pdf
AI PROJECT CYCLE.pdfAI PROJECT CYCLE.pdf
AI PROJECT CYCLE.pdf
 
CH-1 Introduction to Artificial Intelligence for class 9.pptx
CH-1 Introduction to Artificial Intelligence for class 9.pptxCH-1 Introduction to Artificial Intelligence for class 9.pptx
CH-1 Introduction to Artificial Intelligence for class 9.pptx
 
Evolution & Future Of Artificial Intelligence
Evolution & Future Of Artificial IntelligenceEvolution & Future Of Artificial Intelligence
Evolution & Future Of Artificial Intelligence
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
 
Introduction to AI & ML
Introduction to AI & MLIntroduction to AI & ML
Introduction to AI & ML
 
Ai for kids
Ai for kidsAi for kids
Ai for kids
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial Intelligence : The Future of AI
Artificial Intelligence : The Future of AIArtificial Intelligence : The Future of AI
Artificial Intelligence : The Future of AI
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Machine learning
Machine learningMachine learning
Machine learning
 
Introduction to Artificial Intelligence.pptx
Introduction to Artificial Intelligence.pptxIntroduction to Artificial Intelligence.pptx
Introduction to Artificial Intelligence.pptx
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 

Similar to EVALUATION IN AI.pptx

Model Evaluation Matrix: Accuracy, precision and recall
Model Evaluation Matrix: Accuracy, precision and recallModel Evaluation Matrix: Accuracy, precision and recall
Model Evaluation Matrix: Accuracy, precision and recall
Megha Sharma
 
Machine learning session5(logistic regression)
Machine learning   session5(logistic regression)Machine learning   session5(logistic regression)
Machine learning session5(logistic regression)
Abhimanyu Dwivedi
 
Important Classification and Regression Metrics.pptx
Important Classification and Regression Metrics.pptxImportant Classification and Regression Metrics.pptx
Important Classification and Regression Metrics.pptx
Chode Amarnath
 
MACHINE LEARNING PPT K MEANS CLUSTERING.
MACHINE LEARNING PPT K MEANS CLUSTERING.MACHINE LEARNING PPT K MEANS CLUSTERING.
MACHINE LEARNING PPT K MEANS CLUSTERING.
AmnaArooj13
 
04 performance metrics v2
04 performance metrics v204 performance metrics v2
04 performance metrics v2
Anne Starr
 
Performance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsPerformance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning Algorithms
Kush Kulshrestha
 
Performance Metrics, Baseline Model, and Hyper Parameter
Performance Metrics, Baseline Model, and Hyper ParameterPerformance Metrics, Baseline Model, and Hyper Parameter
Performance Metrics, Baseline Model, and Hyper Parameter
IndraFransiskusAlam1
 
Assessing Model Performance - Beginner's Guide
Assessing Model Performance - Beginner's GuideAssessing Model Performance - Beginner's Guide
Assessing Model Performance - Beginner's Guide
Megan Verbakel
 
Lecture note 2
Lecture note 2Lecture note 2
Lecture note 2
sreenu t
 
Binary classification metrics_cheatsheet
Binary classification metrics_cheatsheetBinary classification metrics_cheatsheet
Binary classification metrics_cheatsheet
Jakub Czakon
 
Numerical approximation
Numerical approximationNumerical approximation
Numerical approximation
Lizeth Paola Barrero
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
MaryWall14
 
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
 
Sensitivity and Specificity in Predictive Modeling
Sensitivity and Specificity in Predictive ModelingSensitivity and Specificity in Predictive Modeling
Sensitivity and Specificity in Predictive Modeling
Sarajit Poddar, GPHR, HRMP
 
Confusion matrix and classification evaluation metrics
Confusion matrix and classification evaluation metricsConfusion matrix and classification evaluation metrics
Confusion matrix and classification evaluation metrics
Minesh A. Jethva
 
Evaluating classification algorithms
Evaluating classification algorithmsEvaluating classification algorithms
Evaluating classification algorithms
Utkarsh Sharma
 
chap4_Parametric_Methods.ppt
chap4_Parametric_Methods.pptchap4_Parametric_Methods.ppt
chap4_Parametric_Methods.ppt
ShayanChowdary
 
MLlectureMethod.ppt
MLlectureMethod.pptMLlectureMethod.ppt
MLlectureMethod.ppt
butest
 
MLlectureMethod.ppt
MLlectureMethod.pptMLlectureMethod.ppt
MLlectureMethod.ppt
butest
 

Similar to EVALUATION IN AI.pptx (19)

Model Evaluation Matrix: Accuracy, precision and recall
Model Evaluation Matrix: Accuracy, precision and recallModel Evaluation Matrix: Accuracy, precision and recall
Model Evaluation Matrix: Accuracy, precision and recall
 
Machine learning session5(logistic regression)
Machine learning   session5(logistic regression)Machine learning   session5(logistic regression)
Machine learning session5(logistic regression)
 
Important Classification and Regression Metrics.pptx
Important Classification and Regression Metrics.pptxImportant Classification and Regression Metrics.pptx
Important Classification and Regression Metrics.pptx
 
MACHINE LEARNING PPT K MEANS CLUSTERING.
MACHINE LEARNING PPT K MEANS CLUSTERING.MACHINE LEARNING PPT K MEANS CLUSTERING.
MACHINE LEARNING PPT K MEANS CLUSTERING.
 
04 performance metrics v2
04 performance metrics v204 performance metrics v2
04 performance metrics v2
 
Performance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsPerformance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning Algorithms
 
Performance Metrics, Baseline Model, and Hyper Parameter
Performance Metrics, Baseline Model, and Hyper ParameterPerformance Metrics, Baseline Model, and Hyper Parameter
Performance Metrics, Baseline Model, and Hyper Parameter
 
Assessing Model Performance - Beginner's Guide
Assessing Model Performance - Beginner's GuideAssessing Model Performance - Beginner's Guide
Assessing Model Performance - Beginner's Guide
 
Lecture note 2
Lecture note 2Lecture note 2
Lecture note 2
 
Binary classification metrics_cheatsheet
Binary classification metrics_cheatsheetBinary classification metrics_cheatsheet
Binary classification metrics_cheatsheet
 
Numerical approximation
Numerical approximationNumerical approximation
Numerical approximation
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
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
 
Sensitivity and Specificity in Predictive Modeling
Sensitivity and Specificity in Predictive ModelingSensitivity and Specificity in Predictive Modeling
Sensitivity and Specificity in Predictive Modeling
 
Confusion matrix and classification evaluation metrics
Confusion matrix and classification evaluation metricsConfusion matrix and classification evaluation metrics
Confusion matrix and classification evaluation metrics
 
Evaluating classification algorithms
Evaluating classification algorithmsEvaluating classification algorithms
Evaluating classification algorithms
 
chap4_Parametric_Methods.ppt
chap4_Parametric_Methods.pptchap4_Parametric_Methods.ppt
chap4_Parametric_Methods.ppt
 
MLlectureMethod.ppt
MLlectureMethod.pptMLlectureMethod.ppt
MLlectureMethod.ppt
 
MLlectureMethod.ppt
MLlectureMethod.pptMLlectureMethod.ppt
MLlectureMethod.ppt
 

Recently uploaded

BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 

Recently uploaded (20)

BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 

EVALUATION IN AI.pptx

  • 1. EVALUATION TECHNIQUES IN AI -Jitendra Kumar Yadav DAV Public School, Gumla
  • 2. WHAT IS EVALUATION?  It is the process of understanding the reliability of any AI model, based on outputs by feeding test dataset into the model and comparing with actual answers.  There are different evaluation techniques, depending on the type and purpose of the model.  Note: It’s not recommended to use the data used to build the model to evaluate it.
  • 3. MODEL EVALUATION TERMINOLOGIES Lets Imagine, an AI based prediction model has been deployed in a forest which is prone to forest fires.  The efficiency of the model is checked using two conditions: Prediction & Reality  The prediction is the output which is given by the machine and,  The reality is the real scenario in the forest when the prediction has been made.
  • 5. THE SCENARIO… The Prediction matches with the Reality. Hence, this condition is termed as True Positive.
  • 7. THE SCENARIO… The machine has predicted it correctly as a No. Therefore, this condition is termed as True Negative.
  • 9. THE SCENARIO… The machine has incorrectly predicted that there is a forest fire. This case is termed as False Positive.
  • 11. THE SCENARIO… Here, a forest fire has broken out in the forest but the machine has incorrectly predicted it as a No. Therefore, this case becomes False Negative.
  • 12. THE CONFUSION MATRIX  The result of comparison between the prediction and reality is recorded, which is called the confusion matrix.  It is not an evaluation metric but a record which helps in evaluation.
  • 15. EVALUATION METHODS  Accuracy  Precision  Recall  F1 Score
  • 16. ACCURACY  It is the percentage of correct predictions out of all the observations.  A prediction can be said to be correct if it matches the reality.  Here, we have two conditions in which the Prediction matches with the Reality: True Positive and True Negative.
  • 17. ACCURACY…  Example: Assume that the model always predicts that there is no fire. But in reality, there is a 2% chance of forest fire breaking out. In this case, for 98 cases, the model will be right but for those 2 cases in which there was a forest fire, then too the model predicted no fire.  Here, TP = 0 TN = 98 Total cases = 100 Therefore, accuracy: (98 + 0) / 100 = 98%
  • 18. ACCURACY… This is a fairly high accuracy for an AI model. But this parameter is useless for as the actual cases where the fire broke out are not taken into account. Hence, there is a need to look at another parameter which takes account of such cases as well.
  • 19. PRECISION  The percentage of True Positive cases versus all the cases where the prediction is true.  It takes into account the True Positives and False Positives.
  • 20. PRECISION…  Ex- Assume that the model always predicts that there is a forest fire irrespective of the reality. In this case, all the Positive conditions would be taken into account that is, True Positive (Prediction = Yes and Reality = Yes) and False Positive (Prediction = Yes and Reality = No).  In this case, the firefighters will check for the fire all the time to see if the alarm was True or False.
  • 21. PRECISION…  This makes Precision an important evaluation criteria. If Precision is high, this means the True Positive cases are more, giving lesser False alarms.
  • 22. RECALL  It is the fraction of positive cases that are correctly identified.
  • 23. F1 SCORE  It is the measure of balance between precision and recall.  An ideal situation would be when we have a value of 1 (that is 100%) for both Precision and Recall. In that case, the F1 score would also be an ideal 1 (100%). It is known as the perfect value for F1 Score.
  • 24. QUESTIONS  Find out Accuracy, Precision, Recall and F1 Score for the given problems.
  • 25. QUESTIONS  Find out Accuracy, Precision, Recall and F1 Score for the given problems.
  • 26. QUESTIONS  Find out Accuracy, Precision, Recall and F1 Score for the given problems.
  • 27. QUESTIONS  Find out Accuracy, Precision, Recall and F1 Score for the given problems.