I fitted an OPLS-DA and obtained my confusion matrix for testing dataset. My testing dataset is balanced ( equal numbers for the two groups being compared) so it is good to use accuracy as a metric for comparing models. I can easily calculate the accuracy from the confusions matrix but I need to provide a confidence interval for it. Do you know how to determine that using confusion matrix. Thank you.