In this paper, the capabilities of NIR spectroscopy and LF-NMR data were compared for rapidly predicting the rheological properties of polysaccharide gels and assessing their printability. Seven machine learning (ML) models were established for rheological property prediction based on partial least squares regression (PLSR), support vector regression (SVR), back propagation artificial neural network (BPANN), one-dimensional convolutional neural network (1D CNN), recurrent neural network (RNN), long short-term memory (LSTM), and Transformer. The results showed that among the seven models, the SVR, BPANN, and 1D CNN models based on NIR spectroscopy effectively predicted the rheological parameters of polysaccharide gels, with the highest R