Machine Learning Method for Star Identification