With the development of Internet of Things technology, more and more devices are connected to the Internet, including not only traditional computers, mobile phones and other smart terminal devices, but also various sensor devices. These sensor devices can collect a variety of environmental information and physical quantities, such as temperature, humidity, air pressure, light intensity, vibration, etc. These data have the characteristics of real-time, scale and diversity, and need to be processed and analyzed by appropriate algorithms. On the basis of previous studies, this project summarized the application of various machine learning algorithms in device state detection, compared the differences of various machine learning algorithms in sensor device detection and made comparative analysis, calculated the evaluation parameters of MSE, RMSE, MAE, MAPE, R² and other aspects of the machine learning regression model. Compare the effects of various regression models for better monitoring and prediction of equipment status. Through the analysis of a large number of historical data, different equipment state models can be established, and these models can be used to monitor and predict the current equipment state. This can effectively avoid production line downtime or other losses caused by equipment failures or abnormalities. At the same time, through the in-depth analysis of historical data, we can find some potential problems and take corresponding measures to prevent them. This project aims to summarize the application of various machine learning algorithms in device status detection, compare and contrast the differences of various machine learning algorithms in sensor device detection, realize efficient processing and analysis of sensor data, calculate MSE, RMSE, MAE, MAPE, R² and other evaluation parameters, and evaluate and compare each model. To provide more accurate, reliable and efficient equipment condition monitoring and forecasting services for enterprises and individuals.