This code calculates various performance metrics for both the training and testing datasets, including accuracy, AUC, precision, recall, and F1-score. It also provides the confusion matrix for the testing dataset.Make sure to run this code after the previous steps in your script to get the comprehensive performance report.