# How to manually calculate AUC and Accuracy

How to calculate AUC using some formula? What are the parameters required and what formula to use.

For accuracy, $$\frac{TP+TN}{Total}$$ is this right way to calculate AUC?

• These are Confusion Matrix metrics, you can see the formula for every metric in wikipedia – Pedro Henrique Monforte Apr 16 '19 at 20:55