Predicting the star type with Machine Learning