Before revision:  With the model determined, an efficient algorithm is then developed to estimate the parameters and  infer the communities.
After revision:  With the model determined, an efficient algorithm is then developed to estimate the parameters and to infer the communities.