kl_divergence:

X = 


What is the value of d in above equation?
I didn’t understand your question properly. After getting the values of Cs and Ct, you’ll substitute the values in above equation and get the value of X. Is X your final value as input to Hinge loss?