The MATLAB code for Pseudo-likelihood methods for community detection in large sparse networks
See cpl_demo.m or cpl_demo2a.m for example of use.
The folder cpl_m_code should be on the MATLAB path. Running the demo files, adds this to the path automatically.