1. Introduction
Over the past decade, poultry meat has consistently represented a substantial proportion of global meat consumption, and multiple projections indicate continued growth in demand through 2050 [
1,
2,
3]. Precision livestock farming (PLF) has emerged as an important approach to enhance production efficiency and sustainability, with advances in environmental monitoring, health and welfare assessment, and data-driven decision support demonstrating feasibility in commercial poultry houses [
4,
5,
6]. Nonetheless, most existing PLF applications have been developed for intensive production systems, and their implementation in small-scale or native chicken operations remains limited. Addressing this gap provides an opportunity to adapt PLF concepts to alternative production contexts.
Recent advances in PLF have also expanded toward sensor-based ration adjustment and precision-feeding frameworks that modify daily feed allocations in response to environmental load, activity patterns, or short-term deviations from expected growth. These systems have been evaluated primarily in broilers and other intensive production settings, with far fewer applications in native or colored-feather chickens where flock sizes are smaller and growth trajectories exhibit substantial genetic heterogeneity [
7,
8,
9]. The emerging literature indicates that precision feeding can reduce feed waste, improve feed conversion ratio (FCR), and help stabilize target slaughter weights, yet its adoption in indigenous chicken systems remains limited.
Nevertheless, given the diversity of indigenous chicken breeds, the marked variation in genetic lines and breeding objectives, and differences in farm-level management, experience-based feeding alone is insufficient to achieve precise control of growth trajectories across genotypes. Consequently, feed misallocation may fail to meet the actual growth requirements of the birds. Both over- and under-rationing can increase feed waste, elevate the FCR, raise production costs, and shift slaughter age away from the planned schedule, thereby increasing output variability and supply-chain uncertainty. In particular, when feeding strategies are not updated in accordance with physiological rhythms and breed-specific growth patterns, birds may exhibit compensatory growth accompanied by potential health risks [
10].
In Taiwan, the production of native or colored-feather chickens constitutes a distinct market segment that serves differentiated fresh-market demand [
11]. Commercial lines commonly encountered include Guzao-type males, Huangjin-type females, and red- feather males, which are phenotypically similar to traditional indigenous chicken types and may exhibit Red Junglefowl-like characteristics. These lines differ in growth rate, mature live weight, carcass composition, and eating quality, reflecting long-term selection within red- and black-feather commercial populations [
12]. Sectoral summaries identify red-feather and black-feather native chickens, alongside white broilers and black-bone chickens, as principal meat-type categories in Taiwan. Empirical evaluations have quantified growth curves and carcass traits for red-feather commercial roosters under routine husbandry [
13], and population-genetic analyses describe the admixed structure of Taiwanese commercial native chickens relative to specialized occidental breeds [
14], which together help explain heterogeneity in performance under field conditions. Because products are marketed to specific ages and body-weight ranges, producers routinely schedule slaughter to meet retail demand and quality targets.
Across agriculture and animal production, machine learning (ML) has been increasingly adopted to support prediction, forecasting, and decision support, including time series modeling, multivariate regression, classification, and data fusion from heterogeneous sensors [
15,
16,
17,
18,
19]. Methods commonly evaluated include linear and tree- based ensembles (for example, random forest (RF), gradient boosting, and XGBoost), nearest neighbor algorithms, and neural networks; these approaches provide complementary strengths in handling nonlinearity, interactions, and noisy field data while enabling model selection based on out-of-sample performance. In poultry-focused applications, support vector machines and random forests have been used to predict disease risk and abnormal behaviors, improving early warning accuracy [
20]. In addition, behavioral and feeding event data have been used to predict pig live weight and market class [
21], and algorithms such as XGBoost and RF have been applied to forecast growth and FCR [
22]. Recent studies have also applied artificial intelligence to assess chicken activity levels [
23] and to perform sex identification in chickens [
24]. For broilers and indigenous chickens, artificial neural networks (ANN), multivariate adaptive regression splines, and parametric growth functions such as the Gompertz nonlinear growth model offer complementary capabilities. Neural networks and multivariate adaptive regression splines act as flexible, data-driven approximators that can represent localized curvature and context-specific nonlinearities in the weight–age relationship, whereas parametric curves impose a biologically motivated form and return interpretable parameters, including asymptotic weight and maturation rate [
25]. Hybrid approaches that fuse data-driven learners with mechanistic growth curves can provide both accuracy and robustness [
26,
27,
28,
29]. In parallel, sensor-based control of feeding, which adapts rations over time using environmental and activity data, has been explored to improve FCR and overall growth performance [
30,
31,
32].
Empirical-based rearing methods hinder precise control of target slaughter age, leading to feed waste and increased costs. This study develops a machine learning-based system for predicting live weight and formulating feed in cages. This system combines chicken age, diet records, and environmental measurements, adjusting feed formulations based on breed and age to guide chickens to reach the user-specified target weight before the scheduled slaughter date. The system was evaluated using three native Taiwanese chicken breeds (Guzao males, Huangjin females, and Red Junglefowl males). The goals and contributions of this study are as follows:
Establish a standardized process for collecting and processing local chicken data, integrating age, environmental factors, and feed intake into a dataset suitable for modeling.
Compare and evaluate supervised machine learning models for live-weight prediction, and provide an interpretable, field-deployable predictive model for local chickens.
Design a preliminary proof-of-concept machine learning system for precision-feeding programs. This system aims to synchronize with planned slaughter dates, using closed-loop simulations to adjust predicted growth curves to achieve specific targets and set daily feed allocations.
The remainder of the paper is organized as follows.
Section 2 describes the materials and methods, including data collection, preprocessing, four supervised models for body-weight prediction (RF, XGBoost, Extra Trees (ET), ANN), and the ET-based feeding schedule.
Section 3 reports predictive performance on held-out test sets stratified by batch, provides breed-specific evaluation metrics with confidence intervals, analyzes feature importance rankings, and presents illustrative feeding schedule outcomes.
Section 4 discusses implications and future directions, and the conclusions are presented in
Section 5.
2. Materials and Methods
The design concept of the feeding scheduling system is illustrated in
Figure 1. Market demand and planned processing dates are communicated to producers by wholesalers, from which a target live weight and desired processing date are specified. The current flock average live weight is verified, after which the scheduling procedure is initiated. Birds are reared in commercial poultry houses. Given age, target live weight, planned processing date, and environmental conditions, the system estimates the cage level live weight and the required daily ration, and adjusts the daily feed supply according to the observed cage average live weight and cumulative intake. Routine monitoring includes body weight and feed intake measurements, and daily allocations are updated according to system recommendations to guide each cage toward the target live weight on schedule.
Based on this workflow, a two-stage practical feeding scheduling system was adopted. In stage one, predictive models for daily live weight and interval total-feed requirement were developed; in stage two, a daily feeding schedule was generated and iteratively updated using new observations. In the present implementation, the optimization targets the day-to-day allocation of a fixed commercial diet, so nutrient composition was not modified by the feeding planning module.
Let
denote the day index and let
map each day to its stocking barn (batch). The raw date string
was parsed into ISO-8601 datetime format
[
33], and bird age was computed as the day-level difference between
and the batch-specific start date
.
Let
denote the number of birds and
the total feed provided on day
; the average daily feed allowance per bird is then
and the cage total weight is recorded as
. During rearing, the index set of environmental records for day
is
; each record
contains temperature
, relative humidity
, carbon monoxide
, hydrogen sulfide
, and ammonia
. These are aggregated to daily statistics: mean temperature
and mean relative humidity
, and daily maxima
,
, and
.
2.1. System Modeling
2.1.1. Daily Weight Prediction Model
The input feature vector for daily live-weight prediction at the cage level includes age, environmental summaries, and the daily ration.
The regression target is the cage average live weight per bird on day , (g/chicken). Three supervised machine learning models are compared for this task: RF, XGBoost, and ET. RF and ET are ensemble tree methods; RF uses feature and split randomness across trees, whereas ET fully randomizes split thresholds. XGBoost is a boosting framework that adds weak learners to improve predictive accuracy.
2.1.2. Total-Feed Forecasting Model
Total-feed requirements over a growth interval are modeled with intervals indexed by
. The input vector contains starting live weight, target live weight, and remaining rearing days:
where
denotes the transpose operator. The output is the total feed required for interval
,
(g/chicken over the interval). This model is implemented with ET, as the method handles feature and threshold randomness efficiently and exhibits strong generalization for interval-level total predictions.
2.2. Data Preprocessing and Normalization
Environmental and feed records were consolidated to a daily resolution, and calendar dates were converted to rearing age (days). Sensors continuously recorded temperature, relative humidity, CO, H2S, and NH3. For each rearing day d, environmental summaries were computed over the 24 h window preceding the fixed morning weighing on day d. Mean temperature and mean relative humidity were calculated over this window, and the maxima of CO, H2S, and NH3 within the same window were used as indicators of gas exposure. These summaries were indexed to the weighing day so that all environmental predictors reflected conditions that had already occurred by the time body weights were recorded and ration decisions for that day were made.
To prevent data leakage during model evaluation, all imputation and scaling parameters were estimated exclusively on the training set. Missing numerical features were imputed with the training set mean
; missing categorical features were imputed with the training set mode
. Each input value
was then mapped to [0, 1] with a min-to-max scaling,
where
and
denote the minimum and maximum of feature
j in the training set, and
is a small positive constant to avoid division by zero.
Accordingly, the daily body-weight model used and the total-feed requirement model used . The dataset was partitioned into training and test sets at a 9:1 ratio using a batch-wise temporal split based on the batch index mapping g(i). The dataset was partitioned into training and test sets at a 9:1 ratio using a batch-wise temporal split based on the batch index mapping g(i). We enforced this batch-wise temporal split and further validated the models with repeated blocked cross validation (CV, k = 5) to estimate the variance of the coefficient of determination (R2), root mean squared error (RMSE), mean absolute error (MAE), and mean squared error (MSE).
Breed-specific weight models were trained independently for each breed using RF, XGBoost, ET, and ANN. The overall preprocessing, temporal partitioning based on
, and model training workflow are summarized in
Figure 2. Hyperparameters for the tree-based models were tuned within predefined search ranges, including 100–600 trees and maximum depth 3–10 for RF and ET, and learning rates 0.01–0.10 and 200–800 trees for XGBoost. The final hyperparameter settings reported in
Table 1 correspond to the best-performing configurations identified through repeated blocked cross validation (CV, k = 5). Model selection was based on mean RMSE across folds, with MAE and R
2 serving as secondary criteria, while MSE was monitored as the squared error loss. To ensure reproducibility and capture variability, a fixed random seed was applied to all tree-based models, and the ANN was trained under five independent initializations. Variability across the blocked CV folds and ANN initializations was reflected in the reported standard deviations and 95% confidence intervals for R
2, RMSE, and MAE.
To contextualize the training data used for model development,
Figure 3 presents the daily environmental profiles together with shaded interquartile range (IQR) bands that summarize the within-day variability of temperature, relative humidity, CO, NH
3, and H
2S. These unit-scaled curves and IQR bands provide both central tendency and dispersion, offering a clearer basis for interpreting the feature importance results in
Section 3.
Figure 4 displays the average cage-level body-weight trajectories of the three indigenous breeds in the training cohort, with unit scales shown to illustrate growth patterns over the rearing period at the cage level.
2.3. Machine Learning Models
This section summarizes the supervised regressors used for cage-level daily live-weight prediction and interval total-feed estimation. We formalize the model families, RF, XGBoost, ET, and an ANN, together with notation for inputs and outputs.
2.3.1. RF
An RF model is composed of multiple decision trees, and the final prediction is obtained by averaging the outputs of all trees [
34]:
where
denotes the number of trees, and
denotes the split parameters for the
-th tree
. For regression, the prediction at a terminal (leaf) node is typically computed as the mean of the training responses that fall into that node. Randomness in feature selection and split points is injected during training to improve robustness and reduce overfitting.
2.3.2. XGBoost
XGBoost is an ensemble method based on gradient boosting decision trees (GBDT) and belongs to the boosting family [
35,
36]. It can capture strong nonlinear relationships and handle large-scale datasets efficiently. Training proceeds from an initial prediction (often the training set mean) and adds one regression tree per boosting round to fit the residuals. The final prediction is the sum of all trees:
where
is the number of trees and
is the
-th regression tree. At boosting round
, the objective minimized is
where
is the loss function and
is a regularization term that penalizes tree complexity in order to improve generalization. Feature importance is commonly quantified by the cumulative reduction in loss or impurity attributable to splits on each feature.
2.3.3. ET
The ET model is an averaging ensemble of randomized regression trees [
37]. It is similar to a random forest, but at each node both the candidate feature subset and the split thresholds are drawn at random, which increases training speed and decorrelates trees. The ensemble prediction is computed as
where
is the number of trees,
is the
-th tree,
collects its random partition parameters, and
denotes the scaled input vector (instantiated as
for daily-weight prediction and
for total-feed prediction).
During training, the contribution of each feature to splits can be measured using impurity reduction. Let
denote the sample set at a node and
the child subsets obtained by splitting on feature
. The impurity reduction is defined as
where
denotes the number of samples and
is a node-impurity measure. For regression trees, a common choice is the within-node variance:
Splitting continues until stopping criteria, such as minimum node size or maximum depth, are satisfied.
2.3.4. ANN
A feedforward artificial neural network was implemented as a multilayer perceptron for scalar regression from the input vector
to body weight. The model defines a parametric mapping [
38]
where
denotes the full set of ANN parameters, with
the weight matrix of layer
and
the corresponding bias value. With
hidden layers, the forward propagation is
with rectified linear activation
in hidden layers and a linear output for continuous targets. The scalar output layer is
Training minimizes the mean squared error with an
weight penalty, expressed as follows:
where
denotes the
operation and
is the regularization coefficient. The model was optimized using the Adam algorithm with mini-batches of size
, learning rate
, and up to
training epochs. Early stopping was applied based on validation loss with patience
. Regularization included dropout with rate
, whereon
denotes the dropout probability applied to the hidden layers, and batch normalization was used to stabilize layer statistics. Inputs
are standardized using training set moments to ensure comparable feature scales.
2.4. Feeding Schedule Algorithm
The feeding schedule procedure operates as an offline decision-support tool within the simulation framework rather than as a real-time controller. Its purpose is to distribute the predicted interval-level feed amount across days for simulation purposes. Let interval indices be
, and and let the set of daily indices belonging to interval
be
with cardinality
. The single-bird total feed for interval
is predicted by the total-feed model
If historical intake curves are available, obtain non-negative, unnormalized daily weights
and normalize them to sum to one:
If such data are unavailable, use an arithmetic progression. Let
denote the position of day
within interval
. Define
where
and
are the first term and the common difference, respectively. Scale the sequence to match the interval total:
Intuitively, use the historical curve when available, otherwise a linearly increasing allocation, while preserving the interval total. Map the interval allocation back to day-level notation by
for
, and compute the cage-level daily ration using the pen mapping
and the pen size
:
Using the previously defined
and environmental aggregates
, replace the daily feed input by
and evaluate the daily body-weight model
:
where
denotes the vector of environmental predictors for day
. For practicality, daily gains
where
denotes the previous day in
, may be softly clipped to a reasonable band. If the simulated terminal weight at the end of
deviates from target weight
, the interval total feed is updated proportionally:
until
or
. Intuitively, if increased total feed produces a higher terminal weight, this proportional update nudges the predicted trajectory toward the target. The interval allocation satisfies
and the interval-level FCR is
The interval total-feed model was implemented using ET, software versions are reported in
Section 2.5.4. Given the current pen-average live weight per bird
, the target weight
, and the remaining number of days
, the model estimates the total feed required per bird for the remainder of the rearing period. When available, historical daily intake profiles are used to shape the provisional day-by-day allocation; otherwise, a simple arithmetic profile is applied.
Operational constraints on lower and upper bounds and day-to-day changes are enforced while keeping the interval total fixed. Based on prior feeding management guidelines and observed feeding responses in indigenous chickens, this range was set at approximately ±10% of the previous day’s ration. Daily environmental records are incorporated into the body-weight simulation, after which the terminal error relative to the target is checked. If the error exceeds the tolerance, the interval total feed is proportionally adjusted and the steps are repeated until the tolerance is met or the iteration limit is reached (see
Figure 5).
2.5. Animals, Housing, and Experimental Design
2.5.1. Poultry Data
This work was conducted from 5 November 2024 to 20 January 2025 in an indoor poultry production facility operating under routine commercial husbandry practices. Three native Taiwanese types were studied: Guzao males, Huangjin females, and Red Junglefowl males. Both sexes were included to reflect the principal production classes in Taiwan’s indigenous chicken sector. Each breed and sex group was modeled and evaluated independently to account for their distinct growth and feeding characteristics. In
Figure 6a,d, Guzao males display a bright red single comb; chicks show mixed black and brown plumage, and adults carry predominantly brown to dark brown body feathers with darker tail coverts. In
Figure 6b,e, Huangjin females are charcoal black as chicks and, as adults, retain black body plumage with distinctly golden neck hackles. In
Figure 6c,f, Red Junglefowl males exhibit mottled, barred brown chick plumage and golden to orange adult plumage with red or golden hackles and darker tails.
Under conventional husbandry, these types are typically marketed at approximately 12 to 15 weeks of age, with target live weights defined by product specifications. Guzao males are usually lighter (about 2.0 kg), whereas Huangjin females and Red Junglefowl males are often finished to heavier weights to meet fresh-market preferences. Four birds of a single breed were housed per cage, and the cage was treated as the experimental unit.
2.5.2. Housing and Husbandry
Three metal cages were installed in a single room, with one cage per breed and four birds per cage, as shown in
Figure 7. Each cage was placed on a tiled floor with disposable paper litter and was equipped with one feeder and one ball-type drinker. During brooding, a heat lamp was suspended above each cage to maintain thermal comfort. The lighting schedule, light intensity, and ventilation settings were predetermined and checked using a lux meter and an anemometer to keep conditions consistent across cages.
A single commercial feed with a fixed formula was used throughout. In this trial the feed formulation was held constant, and the scheduling system adjusted only the daily ration quantity rather than the nutritional composition. Feeding was ad libitum, with scheduled replenishment at 08:00 and 16:00 to avoid overnight depletion. Water was available at all times through ball drinkers. Reservoirs were checked at 08:00, 14:00, and 20:00 and refilled as needed. Feeders and drinkers were cleaned daily with disinfectant prepared to 1% Virkon S, kept in contact for ten minutes, rinsed with potable water, and air dried. A deep clean was performed weekly after manual scrubbing. Litter was spot cleaned twice per day and completely replaced every seven days. Excreta and used litter were placed in double bags and removed from the room within two hours in accordance with biosafety rules. Birds were inspected once daily at a fixed time, and health logs recorded behavior, movement, and fecal traits. All procedures followed institutional guidance on animal welfare and biosecurity.
2.5.3. Measurements
Within each breed, birds were randomly drawn from the supplier cohort and assigned to the study cage. No between-cage replication was implemented within breed. To reduce time-of-day bias, the weighing order was rotated weekly across cages. Masking was not feasible because breed and cage were visually apparent; data entry and preprocessing used coded identifiers. All birds were weighed on a calibrated electronic scale, and initial weights were verified to fall within ±5% of the overall mean. Daily cage feed intake was computed as feed offered minus feed refusals, corrected for spillage. Spillage was collected in removable trays placed under feeders and weighed at day end. At every weighing session, all four birds in each cage were weighed individually using a calibrated electronic scale, after which the cage-level mean was computed and used for modeling.
Environmental variables were monitored for temperature, relative humidity, and the concentrations of CO, H
2S, and NH
3 using a temperature and relative humidity sensor (Model: DHT22; Aosong Electronics Co., Ltd., Guangzhou, China), a CO sensor module (Model: MQ-9; Henan Hanwei Electronics Co., Ltd., Zhengzhou, China), an H
2S sensor module (Model: MQ-136; Huaban Electronics Co., Ltd., Shenzhen, China), and an NH
3 sensor module (Model: MQ-137; Hanwei Electronics Co., Ltd., Zhengzhou, China). Each sensor head was mounted at a fixed height of thirty centimeters above the floor and positioned away from heat lamps and ventilation inlets. All sensors were calibrated before the trial. An ESP32-based microcontroller (Model: ESP32-WROOM-E/UE; Espressif Systems Co., Ltd., Shanghai, China) handled acquisition with a sampling interval in seconds. Data were streamed to a ThingSpeak cloud server (MathWorks; Natick, MA, USA) through the message queuing telemetry transport (MQTT) protocol and written concurrently to a local microSD card. During outages, data were cached locally and backfilled after connectivity was restored. Both cloud and local logs included cage identifiers, timestamps, temperature, relative humidity, and gas concentrations.
Figure 7 presents the experimental layout of three cages, each housing one breed with four chickens per cage. Each cage was equipped with a feeder and a ball-type drinker. The environmental data were collected with an IoT data acquisition unit and transmitted to a cloud server over WiFi. The cloud data were then available for download to a local computer for visualization and analysis. The upper left panel shows the Huangjin female cage, the upper right panel shows the Guzao male cage, and the lower left panel shows the Red Junglefowl male cage.
2.5.4. Hyperparameter Settings
Models were trained in Python 3.9.18 using Spyder 5.5.1. The software stack comprised scikit learn 1.4.1.post1, XGBoost 2.1.4, pandas 2.2.1, NumPy 1.23.5, and Matplotlib 3.8.3. All experiments were executed on a workstation with an Intel Core i7 12700 CPU, an NVIDIA GeForce RTX 3080 Ti GPU, and 16 GB of RAM. Hyperparameter settings are reported in
Table 1.
The architecture of ANN consists of one input, two hidden () and one output layer. Hidden layers used rectified linear activation function with widths 64 and 32; the output layer was linear for scalar regression. Optimization used ‘Adam’ algorithm with initial learning rate . Weight decay was applied through norm regularization with penalty . Training proceeded up to epochs with convergence tolerance . Early stopping monitored a held-out validation split of 0.1 with patience epochs without improvement. A fixed random seed ensured reproducibility. Inputs contained seven covariates per day: and .
3. Results
3.1. Performance of Body-Weight Model
We compared the predictive performance of four models, RF, XGBoost, ET, and ANN, across three indigenous chicken breeds.
A total of 231 daily cage-level records were collected over 77 days for each breed. Using the batch index mapping g(i), 207 records were allocated to the training subset and 24 records were reserved for testing per breed. The temporal partitioning followed the batch-wise procedure described in the Materials and Methods section.
As shown in
Table 2, ET achieved the best performance. For Huangjin females, Guzao males, and Red Junglefowl males, RMSEs were 21.59 g, 20.37 g, and 45.94 g, with corresponding R
2 values of 0.9995, 0.9995, and 0.9987. XGBoost ranked second, with RMSEs of about 47.08 to 61.18 g and R
2 values of 0.9969 to 0.9977. RF was weaker, with RMSEs of 53.64 to 80.08 g and R
2 values of 0.9935 to 0.9970. The larger RMSE for Red Junglefowl males suggests faster growth and greater within-breed variability, which increases prediction difficulty. Although the tree-based models achieved extremely high in-sample R
2 values, these results should be interpreted with caution. Each breed contributed only 207 training records derived from 12 birds, and the smooth and monotonic structure of daily weight curves can allow ensemble trees to closely memorize the observed trajectories.
3.2. Environmental Associations with Body Weight
Environmental variables were evaluated for their relative contributions to body-weight prediction across models and breeds (
Figure 8). In the model-specific analyses, temperature generally showed the strongest association, but the ranking of gas-related covariates differed across breeds. Ammonia contributed most strongly for Huangjin females, whereas hydrogen sulfide and carbon monoxide were more prominent in Red Junglefowl males and Guzao males, respectively. These breed-specific differences reflect heterogeneous environmental sensitivities as well as the limited number of independent units per breed.
To obtain a unified comparison based on a common feature set, environmental-only Extra Trees models were fitted separately for each breed, and SHapley Additive exPlanations (SHAP) values were computed [
39]. When averaged across breeds, mean absolute SHAP values were highest for temperature and carbon monoxide, intermediate for hydrogen sulfide and ammonia, and lowest for relative humidity (
Table 3). IQR quantified uncertainty across samples. Relative humidity exhibited the narrowest IQR, consistent with its minimal overall contribution. Ammonia showed moderate IQR values that partially overlapped with those of hydrogen sulfide, whereas hydrogen sulfide had a larger IQR and a higher mean SHAP value than ammonia. Taken together, the aggregated ordering across breeds is summarized as temperature and carbon monoxide contributing most strongly, followed by hydrogen sulfide and ammonia, with relative humidity contributing least.
3.3. Validation of the Feeding Schedule
The scheduling procedure was validated on the second batch of indigenous chickens. Pre-experimental rearing occurred at the supplier’s farm from hatch to approximately day 46 under routine husbandry. Birds had ad libitum access to water and commercial starter then grower diets; housing used naturally ventilated chickens with litter, routine cleaning, and no deliberate thermal or ammonia challenges. No medications were administered for research purposes. Detailed records on diet formulation, exact stocking density, and environmental measurements before day 46 were not available for audit, and complete uniformity across breeds could not be confirmed. Four Guzao males had a mean body weight of 785 g on Day 46 with a target of 2500 g on Day 100. The schedule was generated with the ET method, which provided the best performance for daily body-weight estimation and interval total-feed requirement estimation (hyper-parameter: 300 trees, maximum depth 6, minimum samples per split 2).
First, the interval total-feed requirement per chicken from the current day to the target day was estimated. The total was then distributed across days using a historical proportion curve under a mass conservation constraint, with bounds on the daily minimum, daily maximum, and day-to-day variation to form a preliminary per-chicken daily ration. Next, the daily ration together with same day environmental variables served as inputs to the daily body-weight model to simulate growth forward in time. During the validation phase, the predicted daily body-weight trajectory closely followed the observed growth pattern of Guzao males, with scheduled rations increasing from approximately 57 g to 145 g per bird across the rearing period. Measurement-day observations at Days 46, 56, 69, 79, 89, 96, and 100 recorded mean body weights of 785, 1009, 1425, 1825, 2134, 2350, and 2490 g, respectively, against which model predictions achieved MAE = 93.57 g, RMSE = 109.51 g, and R
2 = 0.9682. These values are substantially higher than the in-sample RMSE of 20–46 g reported in
Table 2, which is expected because the validation analysis reflects performance under a different production cycle. To visualize the agreement between predicted and observed trajectories,
Figure 9 presents the daily predictions with a 95% prediction interval (PI) band, alongside the planned daily ration and the observed body weights on measurement days.
3.4. Comparison of FCR
To assess the impact of scheduling strategies on feed conversion, we compared ad libitum feeding with a model-assisted schedule. In the ad libitum group (Days 46–96), the per-chicken total-feed intake was 7506.75 g, and body weight increased from 972.5 g to 3167.25 g, yielding a gain of 2194.75 g and an FCR of 3.42. In the model-assisted group (Days 47–100), the initial weight was set to 785 g (Day 46), the per-bird (Guzao males) total-feed intake was 5578.08 g, and body weight increased from 785 g to 2490 g, yielding a gain of 1705 g and an FCR of 3.27. Relative to ad libitum feeding, the model-assisted schedule reduced FCR by approximately 4.39 percent, indicating that precise allocation curbs unnecessary feed consumption and improves economic efficiency (
Table 4). The feeding trial was a single-pen pilot demonstration; therefore, the FCR results represent descriptive contrasts rather than significance-tested differences. The slight difference in observation windows (Days 46–96 vs. 47–100) reflected on-farm recording logistics and corresponds to the same growth phase of the same batch. Under these matched conditions, the observed FCR reduction remains informative as a feasibility indicator. Note: The FCR comparison in
Table 3 reports Guzao males only, because the feeding schedule experiment was run on this breed as a controlled pilot; other breeds were used for model training and evaluation, not for the feeding trial.
3.5. Economic Analysis
A partial-budget framework was used to illustrate how technical outcomes may translate into batch-level feed cost differences. Let
be the number of birds per batch,
the live-weight gain per bird (kg),
the observed improvement in FCR, and
the feed price (NTD·kg
−1). The feed savings and their monetary value are
In the validation batch,
(from 3.42 to 3.27). The observed average live-weight gain was
kg, which yields (
NTD/kg):
Weekly manual weighing requires about one minute per bird, so the 54-day period entails about 32 min of labor; at 300 NTD·h−1 this corresponds to roughly 160 NTD. A handheld scale priced at 2000 NTD amortized over ten cycles adds approximately 200 NTD per cycle. At this small scale, feed savings fall well below labor and capital costs, so the economic signal is illustrative only rather than representative of commercial conditions.
- b.
Example 2: Commercial-scale illustration ()
Using the same
,
kg, and
NTD/kg:
If weekly sampling of 60 birds is used to calibrate the ration schedule, labor requires approximately eight hours per cycle (about 2400 NTD). Including scale amortization and routine maintenance, total measurement cost can plausibly be contained within 3000–4000 NTD per cycle. Whether net savings are positive depends on site-specific values of , ΔFCR, , N, and the degree of automation. Feed savings scale linearly with N, whereas labor inputs may be reduced through sampling strategies or automated weighing. These estimates are illustrative and based on a single, small validation batch. A complete economic evaluation would require multi-batch datasets and explicit consideration of depreciation beyond small equipment, as well as potential effects on mortality, carcass traits, or other production outcomes.