Optimal classification in sparse Gaussian graphic model