Related Experiment Video
Updated: Jul 7, 2026

Noninvasive, In-pen Approach Test for Laboratory-housed Pigs
Published on: June 5, 2019
Classification of light Yorkshire pigs at different production stages using ordinary least squares and machine
J Casellas1, P Salgado-López2, J Lorente3
1Department of Animal and Food Science, Autonomous University of Barcelona, Bellaterra 08193, Spain.
Abstract:
Pig homogeneity and growth are major concerns for the pig industry today. Variability in pigs' size has a strong impact on profitability as uniformity plays a key role in the overall economic value of pigs produced. This research focused on statistical methods to identify pigs at risk of growth retardation at different stages of production. Data from 125 083 Yorkshire pigs at weaning (18-28 d), 59 533 pigs at the end of the nursery period (70-82 d) and 48 862 pigs at slaughter (155-170 d) were analyzed under three different cut-points (lowest 10, 20 and 30%) to characterize light animals. Records were randomly split into 2:1 training:testing sets, and each training data set was analyzed through an ordinary least squares approach and four machine learning algorithms (decision tree, random forest, and two alternative boosting approaches). A wide range of weighting functions were applied to give increased relevance to lighter pigs. Each resulting classification norm was used to classify light pigs in the testing data set. Both sensitivity and specificity were retained to construct the receiver operating characteristic curve, and the statistical performance of each analytical approach was evaluated by the area under the curve (AUC). In all production stages and cut-points, the random forest machine learning algorithm provided the highest AUC, closely followed by boosting procedures. For weaning BW (WW), factors related to birth BW and litter size accounted for more than 75% of the important prediction factors for light pigs. BW at the end of the nursery period and slaughter BW analyses revealed a similar pattern where WW and BW at the end of the nursery period accounted for more than 40 and 50% of statistical importance among the prediction factors, respectively. Machine learning algorithms are useful tools to easily evaluate the risk factors affecting the efficiency and homogeneity in swine. Since the BW at birth and weaning are key factors, sow nutrition and feeding management during gestation and lactation, along with piglet management during lactation, are identified as important influences on pig weight variability.
More Related Videos
09:21Author Spotlight: Generating Neuronal Phenotypic Profiles - A Protocol to Culture and Image Human Midbrain Dopaminergic Neurons
Published on: July 7, 2023
11:38Author Spotlight: Enhancing PSC-to-Functional Cell Differentiation Using ML Models Based on Live-Cell Bright-Field Imaging
Published on: October 4, 2024
Related Concept Videos
Calibration Curves: Linear Least Squares
For data that follow a straight line, the standard method for fitting is the linear...
Classification of Systems-I
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Classification of Systems-II