Related Experiment Video
Updated: Aug 24, 2025

Using a Thermal Camera to Measure Heat Loss Through Bird Feather Coats
Published on: June 17, 2020
A Hybrid Model for Temperature Prediction in a Sheep House
Dachun Feng1,2,3, Bing Zhou1,2,3, Shahbaz Gul Hassan1,2,3
1Guangzhou Key Laboratory of Agricultural Products Quality & Safety Traceability Information Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China.
Abstract:
Too high or too low temperature in the sheep house will directly threaten the healthy growth of sheep. Prediction and early warning of temperature changes is an important measure to ensure the healthy growth of sheep. Aiming at the randomness and empirical problem of parameter selection of the traditional single Extreme Gradient Boosting (XGBoost) model, this paper proposes an optimization method based on Principal Component Analysis (PCA) and Particle Swarm Optimization (PSO). Then, using the proposed PCA-PSO-XGBoost to predict the temperature in the sheep house. First, PCA is used to screen the key influencing factors of the sheep house temperature. The dimension of the input vector of the model is reduced; PSO-XGBoost is used to build a temperature prediction model, and the PSO optimization algorithm selects the main hyperparameters of XGBoost. We carried out a global search and determined the optimal hyperparameters of the XGBoost model through iterative calculation. Using the data of the Xinjiang Manas intensive sheep breeding base to conduct a simulation experiment, the results show that it is different from the existing ones. Compared with the temperature prediction model, the evaluation indicators of the PCA-PSO-XGBoost model proposed in this paper are root mean square error (RMSE), mean square error (MSE), coefficient of determination (R2), mean absolute error (MAE) , which are 0.0433, 0.0019, 0.9995, 0.0065, respectively. RMSE, MSE, and MAE are improved by 68, 90, and 94% compared with the traditional XGBoost model. The experimental results show that the model established in this paper has higher accuracy and better stability, can effectively provide guiding suggestions for monitoring and regulating temperature changes in intensive housing and can be extended to the prediction research of other environmental parameters of other animal houses such as pig houses and cow houses in the future.
Related Concept Videos
Assessing Body Temperature - Axilla
Step 1: Perform hand hygiene and put on clean gloves to maintain infection control and prevent cross-contamination.
Step 2: Prepare the patient by explaining the procedure to ensure understanding and cooperation. Ensure privacy, expose the axilla, and inform the patient that minimal movement is crucial for an accurate reading.
Step 3: Adjust the patient’s clothing to expose only the axilla. It minimizes...
Equipments Used to Measure Body Temperature
Glass-bulb Thermometer:
Glass-bulb thermometers are hollow glass tubes with a bulb tip containing liquid such as ethanol or mercury. Historically, glass bulb mercury thermometers were the standard device to measure body temperature. Today, mercury thermometers are prohibited in many countries due to the hazardous effects of mercury and the risk of exposure if the glass bulb breaks. In general,...
Temperature Measurement Sites
Oral: When assessing oral temperature, the thermometer tip should be placed under the tongue in the posterior sublingual pocket. It offers accurate readings and can be...
Assessing Body Temperature - Temporal Artery
Step 1: Perform hand hygiene and don a fresh pair of gloves to prevent cross-infection and ensure patient safety.
Step 2: Explain the procedure to the patient to establish trust. Clear communication establishes trust with the patient, ensures they understand what to expect, promotes cooperation, and enhances comfort during the procedure.
Step 3: Assess the patient's...
Thermoregulation
Factors Affecting Body Temperature
Factors may include:

