Solved by ptrblck in post #4 
              
              
                I think the plain accuracy calculation would be sufficient for a binary classification use case and you could remove the Prec@5 one.