Task: Extract TP, TN, FP, FN from Scikit-learn Confusion Matrix for Multi-class Classification
Task: Extract TP, TN, FP, FN from Scikit-learn Confusion Matrix for Multi-class Classification: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that demonstrates how to obtain True Positive (TP), True Negative (TN), False Positive (FP), and False Negative (FN) values from a…
The task
Write a Python script that demonstrates how to obtain True Positive (TP), True Negative (TN), False Positive (FP), and False Negative (FN) values from a scikit-learn confusion matrix, and then compute Sensitivity (Recall) and Specificity for each class in a multi-class classification scenario using K-Fold cross…
Part of PrimeIntellect/Terminal-Lego-15k.