I am new to data science and working on loan prediction dataset to predict if loan is going to approve and not.

I have applied logistic regression for classification and I got the coefficients, statistics and model for prediction.

I applied the model on test data as well.

Now I wanted to build confusion matrix and accuracy statistics and for that we need to have predicted class and actual class. I got the predicted class in my test data but how to get actual class to measure accuracy.

If there is any other method then please let me know.