A=

Just change two variables PRED and ACT in Compare() function to read data, and the function will return score