The geological condition monitoring and identification based on TBM-equipped sensors is of great significance for efficient and safe tunnel construction. Full-scale rotary cutting experiments are carried out using tunnel-boring machine disc cutters. Thrust, torque and vibration sensors are equipped on the rotary cutting machine (RCM). A stacking ensemble-learning model for real-time prediction of rock mass classification using features of mathematical statistics is proposed. Three signals, thrust, torque and a novel vibration spectrogram-based local amplification feature, are fed into the model and trained separately. The results show that the stacked ensemble-learning model has better accuracy and stability than any single model, showing a good application prospect in the rock mass classification.