In order to promote the accuracy of risk level identification,to solve the real-time risk control and emergency treatment problems of urban rail transit system,an improved feature selection algorithm(Im-F-score+XGB)on filtering features of the risk factors for emergencies was proposed.Through the analysis of the basic data of urban rail transit emergency,the feature importance degree of each risk feature was calculated,the influence degree of different features on the risk of emergencies was excavated,and the important features for determining the risk level of emergencies was obtained.Besides,the cyclic multi-time window scanning method and the weighted cascade residual forest model were used to obtain the mapping relationship between the emergency risk grade and the feature of risk features,and an improved emergency risk level identification model(Im-F-GCF)was established.Compared with RF,HGBDT,GCF and LightGBM models,the validity of the proposed model is verified.