AI Model Evaluation and Performance Metrics

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

flashcard set

Earn XP

Description and Tags

Flashcards covering AI model evaluation metrics, confusion matrix elements, error calculations, ethical considerations, and real-world classification scenarios based on the lecture notes.

27 Terms

1
New cards

Model Evaluation

The process of using different evaluation metrics to understand a machine learning model's performance, strengths, weaknesses, and reliability by feeding a test dataset into the model and comparing predicted outputs with actual answers.

2
New cards

Prediction

The output or estimated value generated by an AI model when given an input.

3
New cards

Reality

The actual real-world scenario or ground-truth label corresponding to a data point against which an AI model's prediction is evaluated.

4
New cards

Confusion Matrix

A record or table used to store and visualize the results of the comparison between an AI model's prediction and reality, where the sum of values in each row represents the total instances of a given actual class.

5
New cards

Accuracy (Classification)

An evaluation metric measuring the total proportion of correct predictions out of all observations, calculated as Accuracy=TP+TNTP+TN+FP+FN\text{Accuracy} = \frac{\text{TP} + \text{TN}}{\text{TP} + \text{TN} + \text{FP} + \text{FN}}. It is most suitable for balanced datasets where all errors are equally important.

6
New cards

True Positive (TP)

An evaluation outcome where the model correctly predicts the positive class, meaning the positive prediction matches the actual positive reality.

7
New cards

True Negative (TN)

An evaluation outcome where the model correctly predicts the negative class, meaning the negative prediction matches the actual negative reality.

8
New cards

False Positive (FP)

An evaluation outcome where the model incorrectly predicts a negative instance as belonging to the positive class.

9
New cards

False Negative (FN)

An evaluation outcome where the model incorrectly predicts a positive instance as belonging to the negative class.

10
New cards

Precision

The ratio of correctly classified positive examples to the total number of predicted positive examples, given by Precision=TPTP+FP\text{Precision} = \frac{\text{TP}}{\text{TP} + \text{FP}}. It is essential when the cost of False Positives must be minimized.

11
New cards

Recall (Sensitivity / True Positive Rate)

The fraction of actual positive cases that are correctly identified by the model, given by Recall=TPTP+FN\text{Recall} = \frac{\text{TP}}{\text{TP} + \text{FN}}. It is essential when the cost of False Negatives must be minimized.

12
New cards

F1 Score

The harmonic mean and measure of balance between precision and recall, calculated as F1 Score=2×Precision×RecallPrecision+Recall\text{F1 Score} = 2 \times \frac{\text{Precision} \times \text{Recall}}{\text{Precision} + \text{Recall}}. It equals 11 (or 100%100\%) when a model achieves perfect accuracy.

13
New cards

Absolute Error

The numerical magnitude of the difference between the actual value and the predicted value in continuous prediction models, defined as Absolute Error=∣Actual−Predicted∣\text{Absolute Error} = |\text{Actual} - \text{Predicted}|.

14
New cards

Error Rate

The proportion of the error relative to the actual value, calculated as Error Rate=ErrorActual\text{Error Rate} = \frac{\text{Error}}{\text{Actual}}, or the fraction of incorrect predictions out of total exam questions.

15
New cards

Regression Accuracy Formula

The calculation used to assess numeric predictions, where Accuracy=1−Error Rate\text{Accuracy} = 1 - \text{Error Rate} and Accuracy %=Accuracy×100\text{Accuracy \%} = \text{Accuracy} \times 100.

16
New cards

Overfitting

A condition in which a model memorizes the training data perfectly and always predicts correct labels for training points, but fails to generalize or make accurate predictions on unseen data.

17
New cards

Train-Test Split

A validation technique for supervised machine learning where a sufficiently large dataset is divided into two separate subsets: one for training model parameters and one for testing model performance on unseen data.

18
New cards

Training Data

The dataset used to train and fit the parameters of a machine learning model.

19
New cards

Testing Data

Unseen data reserved exclusively to assess the generalization capability, performance, and reliability of a trained model.

20
New cards

AI Bias

Systematic and unfair prejudice in machine learning decisions, such as an Amazon recruiting engine penalizing resumes containing the word 'women' because it learned to favor male candidates.

21
New cards

Data Privacy

The ethical and legal protection of personal data from unauthorized access or improper handling, exemplified by the Indian Government banning applications whose hostile foreign servers mishandled user data.

22
New cards

Corpus

The term used to describe the entire collection of textual data gathered across all relevant documents.

23
New cards

Sentence Segmentation

The natural language processing step where a whole textual corpus is divided into individual sentences before tokenization.

24
New cards

Recommendation System

An AI application that suggests relevant items or media to users based on behavioral data, such as a music streaming platform recommending songs and playlists from listening history.

25
New cards

High-Precision Use Cases

Scenarios where False Positives are intolerable and must be heavily suppressed, such as Spam Email Filtering, Legal Cases ('innocent until proven guilty'), and Gold Mining exploration.

26
New cards

High-Recall Use Cases

Scenarios where False Negatives carry dangerous or life-threatening costs and must be eliminated, such as Cancer Diagnosis, Viral Outbreak detection, and Safe Content Filtering for children.

27
New cards

Ethical Concerns in Model Evaluation

Key principles that must be upheld when evaluating AI systems, specifically Transparency, Accountability, and the elimination of Bias.