The Application of the OPTICS Algorithm in the Maize Precise Fertilization Decision-Making

. With the development of computer science and information technology, data mining technology in the field of agriculture in recent years has become a hot research. Corn planting process, rational fertilization can effectively promote the growth of corn, however, no basis and targeted fertilization may cause shortage of low fertility soil fertilization, high fertility soil fertilization overdose. To solve this problem, In this paper, cluster analysis OPTICS algorithm based on density of soil classification, and press the nutrient balance method to calculate the level of soil fertility for each corresponding amount of fertilizer, farmers can be targeted based on fertilizer fertilization.In the town of Yushu City, Jilin Province by Gongpeng for application, compared with the traditional fertilization, fertilizer input savings of 20.5%, maize yield of about 10%, not only to meet the needs of farmers, but also achieve a reduction in fertilizer inputs, increase production purposes.


Introduction
Precision fertilization is one of the core elements of precision agriculture [1] .The method using GPS positioning to obtain field information, including production monitoring, soil sampling and so on.The computer system through analysis of the data processing, decision of the management measures of agricultural land, the yield and soil status information is loaded with GPS devices, implemented on each operating unit due to the overall balance of the soil due to crop fertilization, thus greatly improving fertilization fertilizer use efficiency and economic benefits, reduce the adverse impact on the environment [2][3] .However, the variable rate fertilization machine with GPS has not been used widely, so the method of dividing the operation unit is not conducive to the promotion of farmers.
Soil fertility is an important aspect of the constitution of land productivity, it depends on many factors and a variety of nutrients in the soil organic matter content, texture, thickness and soil tilth configuration, and these factors on soil fertility and sizes mutual restraint, is the ability to provide the soil for plant growth and coordination of nutrition and environmental conditions.The soil fertility grading, contribute to the establishment of scientific fertilization scheme, abandon the traditional concept of The more, the better.The soil nutrient status, crops need fertilizer characteristics determine the reasonable amount of fertilizer and nutrients mix, thereby reducing the production chain of agricultural input costs and the probability of the occurrence of pests and diseases, improve nutrient utilization.Reduce the background of cultivated land, control the point source pollution and non-point source pollution, and restore the ecological agriculture and sustainable development [4][5][6][7] .
Currently, soil fertility studies, Luo Laijun [8] used fuzzy mathematics theory, to explore the reclamation area of farmland soil fertility grading method, which provides a reasonable reference for the target yield.Based on GIS Mapinfo software, the establishment of land resources management information spatial database and attribute database.The soil nutrient content and distribution map of soil nutrient content and distribution map were made.
In summary, this paper adopts cluster analysis in optics algorithm based on density and on soil fertility grading, and according to the nutrient balance method to calculate the corresponding of soil fertility at each level of fertilization, provides a feasible scheme for large area promotion of precision fertilization.

Basic Concepts of OPTICS Algorithm
The core idea of the density of clusters is a point of ε neighborhood neighbor points to measure the density of the point where the space [10] .If ε neighborhood neighbor exceeds a specified threshold MinPts, it is that the point is in a cluster, called the core point, or that the point is on the boundary of a cluster, called a boundary point [11- 12] .Here are some definitions: Define 1 core distance The core distance object p is p as the core object of minimum.If p is not the core object, the core distance of the p is not meaningful.thecore distance is the smallest radius of the neighborhood of the core points.

Figure 1. Core distance
To explain the definition of core distance and reachable distance,We set up Minpts=5, ε =6mm, if the core object, a field point p must have at least 5 points (including itself).In Figure 1, the d point is the boundary point that satisfies the core object of p, so the core distance of p is c=3mm.

Define 2 reachability-distance
The distance between n and the distance of p is the core of p and the Euclidean distance between n and p is the bigger one.

OPTICS Algorithm Process
The algorithm is as follows: Step1: Create two queues, order queues and result queues.(Orderlyqueue is used to store the core object and its core direct access to an object, and arranged in ascending distance;Results the sequence of the output sequence of the sample points is stored Step2: If all the points in the sample set D are processed, the algorithm ends.Otherwise, choose an untreated (is not in the queue) and as the core object of sample points, find the all density reachable sample points, such as the sample point does not exist in the queue, will it into the ordered queue, and are ordered by distances of up to Step3: If the ordered queue is empty, the jump to the step 2, otherwise, the first sample point from the orderly queue to expand, and the sample points will be removed to the results queue Step3.1: Judge whether the expansion point is the core object, if not, back to step 3, otherwise find the expansion point of all the direct density of up to point; Step3.1.2: Judging whether the direct density of the sample point is already there is the result queue, is not processed, otherwise the next step; Step3.1.3: If orderly queue already exists the directly density reachable point, if this new reachability distance less than old reachable from, sharp distance is used to replace old reachability distance, orderly queue reordering.Step3.1.4: If the direct density of the sample points is not present in the ordered queue, then the insertion point is inserted, and the ordered queue is re ordered; Step4: The algorithm is over and the ordered sample points of the output queue are ordered.

Data Acquisition
Gongpeng town in Yushu No. thirteen villages, land use GPS to obtain information, press 40m * 40m mesh distance.Each grid soil sampling, 117 soil samples were obtained,Each soil sample for testing to give each sample soil organic matter, available phosphorus, available nitrogen, available potassium content data.

Data Standardization
Since the practical problems, different data generally has a different dimension, in order to make different dimensionless quantity can be compared, so the need for standardization of data,About to compress the data to the [0,1].Data normalization formula is:

Soil Fertility Grading
Using OPTICS algorithm to process the data, that is, soil fertility, soil fertility of the clustering, divided into different clusters.This paper divides the soil fertility into four clusters.Calculate the distance of the range of each cluster, and draw up the distance chart of the sample points according to the reachable distance.The output sequence is the horizontal coordinates, and the distance chart is the vertical coordinate.The reachable distance ordered graph is generated by the plot function in the MATLAB software.

Figure 4.Orderly figure of the reachability-distance
As shown in Figure 4, it is clearly divided into four wave values, that is, the four clusters, we can according to the distance ordered map of the horizontal coordinates, determine the number of the four clusters contained in each of the soil number.
The point is, we can through the analysis of ordered graphs can be obtained directly when the parameter E (field radius) was 0.24, minpts (epsilon minimum points) for 10 of the clustering results.Can be seen from the chart, 0.24 the horizontal lines on the ordinate, data is obviously divided into three clusters, other not in the range of points is regarded as outlier.
According to the OPTICS algorithm, the soil fertility is effectively clustered into clusters.The average values of the four attributes of each cluster are respectively summation, and then according to the size of the classification, and the largest of the land, and so on.
According to the average values of the attributes of the four clusters, the results of the soil classification are shown in Table 1 Table 1.Soil classification result

Calculation of Fertilizer Application
Using nutrient balance method, we calculated the amount of soil nutrient, to meet the crop yield.Because the data in the nutrient balance method need to be the raw data of the sampling point, the data value is shown in Table 2.According to the principle of nutrient balance, the table 2 data and substitute it into formula (2), can be obtained as shown in Table 3 shows each level of soil fertility of specific fertilizer.

Conclusions
The application of OPTICS algorithm in precision fertilization has not been reported.The method in this paper, for example application in arch shed town of Yushu City in Jilin Province,The average fertilization amount was 332 kg/hm 2 , compared with the traditional fertilization, and fertilizer 68 kg/hm 2 ;The average yield of 8313kg/hm 2 was 813kg/hm 2 , and the yield was increased.ndeedachieve a reduction in fertilizer inputs, improve soil environment, increase production, income purposes.

Figure 2 .Figure 3 .
Figure 2. Reachability-distance In Minpts=5, ε =6mm, according to n p on the definition of distance, distance of n to Euclidean distance p.Because the Euclidean distance of p to n is more than the core distance of 3mm.Define 3 directly density-reachableIf the p is the core point, q in the -neighborhood of p, the p direct density of up to

Table 2 .
Average properties of different soil classification

Table 3 .
Soil nutrient fertilizer rate