Introduction - If you have any usage issues, please Google them yourself
Sampling a priori probability, calculate the weight, Including stochastic gradient algorithm, the relative gradient algorithm, Calculation of the Euclidean distance between the two matrices.