Task: Normalize a Confusion Matrix
Task: Normalize a Confusion Matrix: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that normalizes a confusion matrix so that each row sums to 1, allowing you to read the percentage of correctly classified samples directly from the diagonal elements.
Part of PrimeIntellect/Terminal-Lego-15k.