=== Mask Model Training & Benchmark Log ===
Loading datasets from:
 - Parquet: /home/asus/Project_FOLDER/.Codes/chicken-weighing-sukawarna/full_cycle_predictions_mask.parquet
 - Historical: /home/asus/Project_FOLDER/.Codes/chicken-weighing-sukawarna/historical_weights_avg.csv
Training set prepared: 35 cycle days (Day 1 to Day 35)
Training candidate models...
Models trained successfully. Evaluating metrics across Days 1 to 35...
Running out-of-distribution extrapolation test on Days 36 to 48...

=== Model Benchmark Summary on Mask Dataset (Days 1 to 35) ===
                Model Name  Mean Accuracy (%)  MAE (g)  RMSE (g)  Max Difference (g)  R2 Score
      Hybrid Allometric-RF              98.27     9.84     12.93               29.75    0.9994
             Random Forest              97.23    10.42     12.96               28.71    0.9994
  Volumetric Power (A^1.5)              93.27    38.38     53.37              122.96    0.9903
          Polynomial Ridge              90.83    33.17     40.69               96.62    0.9943
Ridge Volumetric Regressor              89.38    26.26     31.86               62.12    0.9965
         Gradient Boosting              88.69    23.38     27.07               57.94    0.9975
      Allometric Power-Law              86.92    33.85     39.81               85.94    0.9946

=== Extrapolation Predictions on Days 36 to 48 (Generalization Outside Training Range) ===
      Date  Cycle Day  Area (cm²)  Allometric Power  Volumetric Power  Ridge Volumetric  Polynomial Ridge  Random Forest  Gradient Boosting  Hybrid Allometric-RF
2026-06-27         36       39.10            1708.5            1759.3            1666.9            1705.8         1687.5             1646.9                1686.3
2026-06-28         37       41.64            1861.7            1933.5            1812.5            1881.2         1698.0             1662.1                1830.0
2026-06-29         38       39.61            1739.4            1794.3            1690.4            1731.7         1689.0             1646.9                1716.6
2026-06-30         39       39.23            1716.2            1768.0            1665.2            1698.2         1681.2             1632.7                1695.3
2026-07-01         40       43.30            1963.6            2050.3            1888.6            1972.4         1698.0             1662.1                1931.9
2026-07-02         41       44.32            2027.3            2123.5            1958.2            2057.7         1698.0             1662.1                1995.5
2026-07-03         42       43.54            1978.4            2067.2            1913.4            1998.5         1698.0             1662.1                1946.6
2026-07-04         43       47.61            2235.1            2364.2            2145.0            2294.1         1698.0             1662.1                2203.4
2026-07-05         44       46.87            2187.9            2309.3            2060.0            2180.9         1698.0             1662.1                2156.2
2026-07-06         45       47.25            2212.3            2337.6            2133.2            2276.6         1698.0             1662.1                2180.5
2026-07-07         46       50.20            2402.5            2559.7            2319.7            2520.2         1698.0             1662.1                2370.8
2026-07-08         47       42.38            1907.0            1985.4            1835.7            1904.1         1698.0             1662.1                1875.3
2026-07-09         48        9.84             260.4             222.1             260.1             262.4          226.2              262.4                 222.0

Saved evaluation comparison (exact fields) to: /home/asus/Project_FOLDER/.Codes/chicken-weighing-sukawarna/model_evaluation_comparison_mask.csv
Saved benchmark summary to: /home/asus/Project_FOLDER/.Codes/chicken-weighing-sukawarna/model_benchmark_summary_mask.csv
Saved extrapolation test to: /home/asus/Project_FOLDER/.Codes/chicken-weighing-sukawarna/model_extrapolation_comparison_mask.csv
Saved candidate models package to: /home/asus/Project_FOLDER/.Codes/chicken-weighing-sukawarna/candidate_weight_models_mask.pkl
Saved winning candidate model to: /home/asus/Project_FOLDER/.Codes/chicken-weighing-sukawarna/best_weight_model_mask.pkl (production model untouched)
Generating comparison visualization plot...
Saved visualization plot to: /home/asus/Project_FOLDER/.Codes/chicken-weighing-sukawarna/weight_prediction_plot_mask.png
=== Mask Models Trained & Evaluated Successfully ===
