Classifying High-Energy Celestial Objects with Machine Learning Methods