print("The accuracy is {}".format(accuracy_score(test_data.target, predicted_categories)))