Machine Learning Percolation Model