How to find accuracy

how to find accuracy of an algorithm