Explain true positive, true negative, false positive, and false negative in confusion matrix with an example.
Answer / Mohammad Ubaid
1. True Positive (TP): It occurs when the model correctly predicts a positive instance as positive. For example, if a tumor detection algorithm identifies a malignant tumor correctly, it results in a true positive.
2. True Negative (TN): It occurs when the model correctly predicts a negative instance as negative. For example, if a spam filter accurately identifies a non-spam email as non-spam, it results in a true negative.
3. False Positive (FP): It occurs when the model incorrectly predicts a negative instance as positive. For example, if a spam filter mistakenly marks a legitimate email as spam, it results in a false positive.
4. False Negative (FN): It occurs when the model incorrectly predicts a positive instance as negative. For example, if a tumor detection algorithm fails to identify a malignant tumor, it results in a false negative.
| Is This Answer Correct ? | 0 Yes | 0 No |
Give a drawback of gradient descent ?
What is the method to avoid overfitting?
Why do we need to convert categorical variables into factor? Which functions are used to perform the conversion?
How is a decision tree pruned?
What is Perceptron in Machine Learning?
Why is manhattan distance not used in knn machine learning algorithm to calculate the distance between nearest neighbors?
What are the basic requirements for machine learning?
Explain the difference between bayesian and frequentist?
Tell us when will you use classification over regression?
Tell me how a roc curve works?
Is python the best language for machine learning?
Tell us how can we use your machine learning skills to generate revenue?
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)