Machine Learning Chart - A Machine Learning Method To Separate Cosmic Ray Electrons