A fruit tree cultivation optimization method based on an XGboost model

By using an XGboost-based optimization method for fruit tree cultivation, and constructing a self-learning network model using historical orchard data, the problems of low efficiency and resource waste in existing fruit tree breeding technologies are solved, achieving efficient optimization of fruit tree growth and environmentally friendly fruit tree cultivation.

CN123180408APending Publication Date: 2026-11-27ZHEJIANG LIANJIE DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510679726.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Current agricultural planting management practices suffer from extensive fertilization, long variety selection cycles, lack of genetic diversity mapping support, low breeding efficiency, and reliance on experience-based judgment for fertilization and irrigation, lacking dynamic environmental feedback mechanisms, leading to resource waste and environmental pollution.

Method used

An optimization method for fruit tree cultivation based on the XGboost model is adopted. By acquiring historical environment and growth data of the orchard, a self-learning network model is constructed. The model is optimized using a depth-limited CART tree growth strategy and regularization constraints, and the fruit tree cultivation scheme is output. This includes L1 regularization and L2 regularization, Taylor expansion splitting criterion, parallel computing and distributed training, which optimize memory access and computational efficiency.

Benefits of technology

It has achieved efficient optimization of fruit tree cultivation, improved breeding efficiency, reduced resource waste and environmental pollution, provided a dynamic environmental feedback mechanism, and improved the accuracy of fruit tree growth prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180408A_ABST
    Figure CN123180408A_ABST
Patent Text Reader

Abstract

The present application relates to a kind of fruit tree cultivation optimization methods based on XGboost model, it is characterized in that including the following steps: step 1, obtain a certain amount of orchard historical environment monitoring data, and historical fruit tree growth data, form sample set;Step 2, sample set is divided into training set and test set;Step 3, utilize XGboost model to build self-learning network model;Step 4, training set is input in the self-learning network model of step 3 construction and is optimized training, obtains the self-learning network model after parameter optimization;Step 5, test set is input in the self-learning network model of step 4 optimization and is tested.Compared with prior art, the advantages of the present application are: through XGboost model to build self-learning network model, utilize the sample set formed by orchard historical environment monitoring data to train and test self-learning network model, to obtain fruit tree cultivation optimization scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of agricultural artificial intelligence technology, specifically to a fruit tree cultivation optimization method based on the XGboost model. Background Technology

[0002] Compared with the mechanized furrowing and intercropping technology of developed countries, my country's low-carbon rice intercropping technology, developed by drawing on natural farming methods, has important advantages such as no-tillage, no transplanting, no straw burning, full natural mulching, reduced fertilizer use, and cost savings while increasing income. Furthermore, it eliminates the need for specialized machinery, saving energy and raw material consumption. In terms of implementation results, natural farming methods have played a significant role in improving soil fertility and reducing costs while increasing income. However, problems have also been identified in the practical application and promotion of these technologies: current agricultural planting management suffers from extensive fertilization and long variety selection cycles. Traditional breeding methods rely on manual screening, which is time-consuming and lacks genetic diversity mapping support, leading to low breeding efficiency; fertilization and irrigation rely on experience-based judgment and lack dynamic environmental feedback mechanisms, easily causing resource waste and environmental pollution. Therefore, existing technologies need further improvement. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to provide a fruit tree cultivation optimization method based on the XGboost model, which is an improvement on the above-mentioned prior art.

[0004] The technical solution adopted by this invention to solve the above-mentioned technical problems is: a fruit tree cultivation optimization method based on the XGboost model, characterized by including the following steps: Step 1: Obtain a certain amount of historical environmental monitoring data and historical fruit tree growth data for the orchard to form a sample set. The historical environmental monitoring data includes air temperature and humidity, light intensity, soil temperature and humidity, soil EC value, soil pH value, soil nitrogen content, soil phosphorus content, soil potassium content, whether mulching was used, and whether pruning was performed. The historical fruit tree growth data includes the flowering time, leafing time, fruiting time, and the sweetness, acidity, firmness, weight, transverse diameter, and longitudinal diameter of the fruit. Step 2: Divide the sample set into a training set and a test set; Step 3: Construct a self-learning network model using the XGboost model. This self-learning network model is based on the depth-limited CART tree growth strategy and adopts a layer-by-layer growth and dynamic splitting strategy. In the early stage, it prioritizes splitting key environmental monitoring data, including light intensity and soil pH value. In the later stage, it suppresses deep splitting through the γ parameter and introduces regularization constraints to optimize the self-learning network model, thereby outputting an optimized fruit tree cultivation scheme. Step 4: Input the training set into the self-learning network model constructed in Step 3 for optimization training to obtain the self-learning network model with optimized parameters; Step 5: Input the test set into the self-learning network model optimized in Step 4 for testing.

[0005] As an improvement, the regularization constraints include L1 regularization and L2 regularization, where L1 regularization penalizes the absolute value of the weights and L2 regularization penalizes the sum of squares of the weights, smoothing the distribution of weights and preventing overfitting.

[0006] Further improvements include using the second-order Taylor expansion of the objective function as the splitting criterion for the self-learning network model.

[0007] Further improvements include reducing the computation time for CART tree construction by calculating the optimal split points of all features in parallel during single-round tree growth.

[0008] Further improvements include the implementation of distributed training of the self-learning network model in a multi-machine environment, enabling it to handle large-scale datasets.

[0009] Further improvements include storing the sample set data in column blocks to optimize memory access and computational efficiency.

[0010] Further improvements include using the maximum depth and minimum split loss as parameters for pre-pruning of the CART tree in the self-learning network model, while eliminating redundant nodes through post-pruning.

[0011] The further improvement is characterized in that: the self-learning network model ranks the importance of features based on the splitting frequency and splitting reward of the features.

[0012] Compared with the prior art, the advantages of the present invention are: a self-learning network model is constructed by using the XGboost model, and the self-learning network model is trained and tested using a sample set formed by orchard historical environmental monitoring data, thereby obtaining an optimized fruit tree cultivation scheme. Attached Figure Description

[0013] Figure 1 This is a flowchart of a fruit tree cultivation optimization method based on the XGboost model in an embodiment of the present invention. Detailed Implementation

[0014] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.

[0015] This embodiment provides a fruit tree cultivation optimization method based on the XGboost model, which includes the following steps, see below. Figure 1 As shown: Step 1: Obtain a certain amount of historical environmental monitoring data and historical fruit tree growth data for the orchard to form a sample set. The historical environmental monitoring data includes air temperature and humidity, light intensity, soil temperature and humidity, soil EC value, soil pH value, soil nitrogen content, soil phosphorus content, soil potassium content, whether mulching was used, and whether pruning was performed. The historical fruit tree growth data includes the flowering time, leafing time, fruiting time, and the sweetness, acidity, firmness, weight, transverse diameter, and longitudinal diameter of the fruit. Step 2: Divide the sample set into a training set and a test set; Step 3: Construct a self-learning network model using the XGboost model. This self-learning network model is based on the depth-limited CART tree growth strategy and adopts a layer-by-layer growth and dynamic splitting strategy. In the early stage, it prioritizes splitting key environmental monitoring data, including light intensity and soil pH value. In the later stage, it suppresses deep splitting through the γ parameter and introduces regularization constraints to optimize the self-learning network model, thereby outputting an optimized fruit tree cultivation scheme. Step 4: Input the training set into the self-learning network model constructed in Step 3 for optimization training to obtain the self-learning network model with optimized parameters; Step 5: Input the test set into the self-learning network model optimized in Step 4 for testing.

[0016] In this embodiment, the regularization constraints include L1 regularization and L2 regularization. L1 regularization penalizes the absolute value of the weights, which can produce sparsity and help feature selection. L2 regularization penalizes the sum of squares of the weights, which smooths the distribution of the weights and prevents overfitting.

[0017] The self-learning network model in this embodiment uses the second-order Taylor expansion of the objective function as the splitting criterion; and during single-round tree growth, it calculates the optimal splitting point for all features in parallel to reduce the computation time of CART tree construction; it can also perform distributed training in a multi-machine environment, enabling it to handle large-scale datasets; the CART tree of the self-learning network model uses the maximum depth and minimum splitting loss as parameters for pre-pruning, and eliminates redundant nodes through post-pruning; and it uses feature-based splitting frequency and splitting reward to rank the importance of features.

[0018] In this embodiment, the sample set data is stored in column blocks, which optimizes memory access and computation efficiency.

[0019] This invention starts with a simple model for prediction, adding a new tree each time. Error is reduced by fitting the residuals of the current model. Optimization is performed using second-order gradient information (Hessian), making it more efficient than traditional gradient boosting methods. The complexity of the trees is controlled using parameters such as maximum depth and minimum split loss. The prediction results of all trees are combined using the training set. This invention offers advantages such as high efficiency, powerful performance, and support for various scenarios.

Claims

1. A fruit tree cultivation optimization method based on the XGboost model, characterized in that... Includes the following steps: Step 1: Obtain a certain amount of historical environmental monitoring data and historical fruit tree growth data for the orchard to form a sample set. The historical environmental monitoring data includes air temperature and humidity, light intensity, soil temperature and humidity, soil EC value, soil pH value, soil nitrogen content, soil phosphorus content, soil potassium content, whether mulching was used, and whether pruning was performed. The historical fruit tree growth data includes the flowering time, leafing time, fruiting time, and the sweetness, acidity, firmness, weight, transverse diameter, and longitudinal diameter of the fruit. Step 2: Divide the sample set into a training set and a test set; Step 3: Construct a self-learning network model using the XGboost model. This self-learning network model is based on the depth-limited CART tree growth strategy and adopts a layer-by-layer growth and dynamic splitting strategy. In the early stage, it prioritizes splitting key environmental monitoring data, including light intensity and soil pH value. In the later stage, it suppresses deep splitting through the γ parameter and introduces regularization constraints to optimize the self-learning network model, thereby outputting an optimized fruit tree cultivation scheme. Step 4: Input the training set into the self-learning network model constructed in Step 3 for optimization training to obtain the self-learning network model with optimized parameters; Step 5: Input the test set into the self-learning network model optimized in Step 4 for testing.

2. The fruit tree cultivation optimization method based on the XGboost model according to claim 1, characterized in that: The regularization constraints include L1 regularization and L2 regularization. L1 regularization penalizes the absolute value of the weights, while L2 regularization penalizes the sum of squares of the weights, thus smoothing the distribution of weights and preventing overfitting.

3. The fruit tree cultivation optimization method based on the XGboost model according to claim 1, characterized in that: The self-learning network model is based on the second-order Taylor expansion of the objective function as the splitting criterion.

4. The fruit tree cultivation optimization method based on the XGboost model according to claim 1, characterized in that: The self-learning network model reduces the computation time for CART tree construction by calculating the optimal split point of all features in parallel during single-round tree growth.

5. The fruit tree cultivation optimization method based on the XGboost model according to claim 1, characterized in that: The self-learning network model is trained in a distributed manner in a multi-machine environment.

6. The fruit tree cultivation optimization method based on the XGboost model according to claim 1, characterized in that: The data in the sample set is stored in column blocks.

7. The fruit tree cultivation optimization method based on the XGboost model according to claim 1, characterized in that: The self-learning network model's CART tree uses maximum depth and minimum split loss as parameters for pre-pruning, while eliminating redundant nodes through post-pruning.

8. The fruit tree cultivation optimization method based on the XGboost model according to claim 1, characterized in that: The self-learning network model ranks the importance of features based on their splitting frequency and splitting reward.