I am working in programming of GMM with EM. I am stuck with the following problem. As you will see in this website, there is a parameter "pi" which is in other words the weight or probability value.
My question is how is this calculated? Or is it in real coding is it ignored?
pi_k is the mixture coefficient for the k-th Gaussian. You definitely can't ignore it. The maximum likelihood estimator for pi_k is the mean of the k-th indicator variables for your instances. The page you referenced calls these indicators \alpha_ik.