Text this: Optimization method of electric vehicle energy system based on machine learning