Inferring Attracting Basins of Power System with Machine Learning