gradient boosting- features contribution
Use the feature_importances_ property. Very easy.
Is there a way in python by which I can get contribution of each feature in probability predicted  by my gradient boosting classification model for each test observation. Can anyone give actual mathematics behind probability prediction in gradient boosting classification model and how can it be implemented in Python.