How do I display the classification error or probability for each row of a dataset? XGBoost

Hello,

I am new to Python Sklearn package and machine learning.
I was able to get the values of parameters accuracy, recall, f1, precision for each class. But I can’t figure out how to implement the probability or error for each line.

© Copyright 2013-2020 Analytics Vidhya