In view of the coal price influencing factors, first select 7 factors and their data that may affect coal supply and demand, adopt a random forest model, Take the average of each influencer's contribution to each tree, and quantitatively study the degree of influence and value order of carbon prices. Then through the visual method and ten-fold cross-validation, the best penalty coefficient is obtained according to the minimum mean square error, and the LASSO regression model of coal price on influencing factors is established to predict the monthly coal price; Forecast coal prices. Secondly, taking the sudden factor of the new corona virus as an example, by performing multiple regression analysis on the data before the occurrence of the new corona virus, the new equation is introduced to modify the dummy variable, and the revised prediction equation is obtained. Finally, combined with today's social development trends, five points of policy recommendations are proposed to ensure the steady development of China's coal market.