calculate the probabilities of each commit based on the glm model