An Empirical Study on Intelligent Rural Tourism Service by Neural Network Algorithm Models

,


Introduction
With the continuous development of social economy, tourism has become a more and more popular choice, especially in holidays as one of the important activities of many people [1].In addition to the traditional natural features and cultural precipitation, rural tourism has gradually become an increasingly popular route in recent years [2,3].In terms of differentiation, the city's tourism infrastructure construction is relatively perfect; from the tourism transportation facilities, tourism configuration, catering, and accommodation configuration are relatively intact.However, due to the weak infrastructure, rural tourism is deficient in food, accommodation, and other aspects to a certain extent, which needs further improvement [4,5].For tourists, if they have a high evaluation of the whole place, they will have a high willingness to travel.ese factors are easy to exist in the bus routes and road congestion of scenic spots, causing the interference of tourism activities [6,7].
erefore, how to determine the best route according to the corresponding factors between scenic spots, maximize the benefits of tourism, and save the corresponding cost, for the provision of corresponding services is extremely important.
e continuous implementation of rural revitalization policies has led to the transformation and development of more and more agricultural industries, and rural tourism has become an increasingly important choice due to its green and environmental protection [8,9].More rural recreation, fishing and other activities have become popular, and smart tourism has also become the trump development direction of rural tourism and an important new development trend of tourism.At the same time, farmers are increasingly active in thinking.ey are not limited to traditional services, but are oriented to more intelligent services.In addition to traditional tourism accommodation and food, they also provide farming and rural experience [1,10].
However, it should be noted that, in the process of rural tourism development, due to the lack of important planning and preliminary investigation, there are many development problems.How to promote rural tourism, on the one hand, ensures normal and healthy development, and on the other hand, harmoniously coexists with the natural environment [9,11,12].erefore, in view of these situations, this paper introduced the neural network algorithm and the optimal classification decision function, and through the study of the topology relation network construction of rural scenic spots, tourist attractions are formed by random choice; according to the corresponding iterative interference factors analysis, the quantitative analysis of different tours as a decision aid to support the reasonable route and sorting and the choice of maximum as the best route aim to promote rural tourism and develop the local economy.

Neural Network Algorithm and Optimal Classification Decision Function
For neural network algorithm and the optimal classification decision function is concerned, the first is geared to the needs of tourism route of the corresponding planning; for the tourists, the most important consideration is the time and effort, the need for a limited time to maximize the corresponding travel, realizing the maximization of tourist routes, through the fixed time, and visiting more classic.erefore, how to choose tourist attractions is extremely important.A simple one-way tourist route cannot be arranged simply and directly.On the one hand, it will miss the corresponding classical scenic spot information, and on the other hand, it will waste too much time and lead to the waste of travel time.

Random Selection Model of Scenic Spot Classification
Code.According to the corresponding rural scenic spots, the classification code selection analysis of scenic spots is made clear, and the corresponding scenic spots with feature points are set.e scenic spots are classified into CLASS h and expressed as T � V r |r ∈ (0, h], r ∈ Z +   by the formula.e subset of scenic spots is represented by V r , and scenic spots contain the corresponding rural scenic spot elements.e distribution function of the corresponding random variable is calculated and expressed as follows: Set the corresponding classical classification subset to be represented by vector On this basis, the corresponding element matrix A of rural scenic spots is established, and the specific calculation is shown as follows: For tourists to select the corresponding rural scenic spots randomly, select the corresponding scenic spots intelligently and carry out random number coding.For tourists, they can provide reasonable sorting of scenic spots and set up corresponding travel routes according to their interest demands and time costs.Generally speaking, the number of scenic spots should not exceed 4 per day, and they should be reminded of their travel itinerary.
Step 1. Select several elements of the corresponding rural scenic spots, set them into the corresponding rural scenic spots subset class, and determine the categories and corresponding numbers of scenic spots based on the tourists' time and interest [13,14].
Step 2. Set the corresponding scenic spot category, set the corresponding tourism subset elements, and provide the corresponding number of scenic spots.
Step 3. On the basis of Step 2, the corresponding random number of neural network is used to calculate, and the corresponding random code is produced, which is represented by α ∈ [0, 1).If 3ω is 1, the corresponding iteration is completed; if not, the corresponding iteration continues.
Step 4. Return to Step 3. e corresponding scenic spots are called separately, and the corresponding random number is generated, and the corresponding scenic spots are calculated until all the scenic spots are calculated.
e neural network algorithm is used to generate random numbers, and the specific calculation of scenic spots is shown as follows: (3)

Neural Network Algorithm Modeling.
Based on the classification of scenic spots, the modeling of the neural network algorithm is carried out.Firstly, according to the requirements of various input and single output, the neuron model is used to process and transmit to the next neuron according to the corresponding external signals.e specific neuron model is shown in Figure 1: Set the corresponding input to I 1 , I 2 , . . ., I n ; neuron output is set to O i ; the connection strength between neurons is represented by W ij .Set θ i to the threshold.In addition, using F (x) as the action function, specific formulas can be calculated according to corresponding neurons, as follows: 2 Complexity e specific calculation algorithm is as follows: (i) Definition 1: set the corresponding motivation influence factor as K, that is, the index of the influence of tourists' interest on the tourism motivation of selected scenic spots [15,16].(ii) Definition 2: set the corresponding motivation influence fluctuation; when a scenic spot finishes the tour, the corresponding objective and subjective conditions are the corresponding motivation [17][18][19].(iii) Definition 3: set the influence factor threshold.If the influence factor plays a promoting role, set the value to be positive.If it has side effects, set it to negative.(iv) Definition 4: motivation iteration valuetransmission of the next scenic spot according to the corresponding scenic spot [20][21][22].
According to the corresponding scenic spots, corresponding tourism route neurons are established, and each neuron is set as a scenic spot.e motivation influencing factors of tourism cause corresponding fluctuations, as shown in Figure 2.
On the basis of Figure 2, the corresponding one-way tourism neural network model is established, as shown in Figure 3: e iterative function I (t) that affects ∀Q u tourism motivation is the volatility weight caused by p motivation factors.Calculate the iterative action value of A m m kinds of tourism route motivation to get maxI (w) , where w ∈ (0, A m m ] ∈ Z + is the iterative action value of the best tourism route motivation of intelligent planning.Set the matrix to M 1 × M 2 , and the descending iterative action value matrix M of the dimensional tourism route arranges the element value I (w) in descending order, which satisfies m , as follows: (5)

SVM Regression Problem for Decision Function Reduction.
Given N training samples (x i , y i )   N i�1 , set the input vector to x i ∈ R n and the output to y i ∈ R. Construct the corresponding nonlinear mapping and establish the corresponding high-dimensional linear mapping as follows: e expression of the decision function can be written in the following form: e decision function is simplified in the form of order reduction [17,18].

SVM Parameter Optimization.
Lagrange multiplier method is adopted to solve the above constraint problems, as follows: where α is the Lagrange multiplier.According to the optimality condition, the dual question of the original problem can be obtained as follows: e solution of formula ( 9) is obtained by training data set.
In order to obtain the best SVM parameters, the PSO algorithm is used to optimize the penalty parameter C, insensitive loss coefficient G, and kernel function σ parameters of SVM [19].e final SVM model expression is shown as follows: (10)

Linearization of SVM Model.
Let n � n u + n y , select RBF kernel function, which can be written as follows: Equation ( 11) can be used as the prediction model of predictive control.
e performance index function is shown as follows: e formula for particle updating is shown as follows: Complexity where θ ini and θ en d are the initial and final values of inertia weight, c1 and c2 are learning factors, and M is the maximum number of iterations.e magnitude of inertia weight represents the global and local search capability of the algorithm.e learning factors c1 and c2 reflect the information exchange between particle swarm.

Algorithm Design
Step 5. Firstly, classify the types of existing scenic spots in rural areas and encode the subunits of corresponding scenic spots, respectively, to build the corresponding scenic spot matrix.
Step 6. Rank the corresponding rural scenic spots.
(1) Random number generation of uniform distribution function is carried out according to the corresponding optimal classification decision function, and iteration is conducted to generate the element attractions with different codes (2) Further call the optimal classification decision function to generate the random number of the uniform distribution function and carry out the second iteration to generate the element attractions with different codes Make h calls, use the optimal classification decision function to generate the random number of the uniform distribution function, and carry out the h iteration to generate the element attractions with different codes.e rural scenic spots are included in the evaluation, and the corresponding rural tourism route vector is finally formed.
Step 7. Identify the corresponding tourism motivation impact factor K and determine the corresponding motivation impact and impact factor fluctuation.
(1) If the tourists have no special requirements for the order, the fourth step should be directly transferred (2) If the tourists have clear requirements on the route of the tour, it shall be carried out according to the corresponding considerations Step 8. Iterate A m m travel routes are formed by permutation and combination of m-dimensional travel route basis vector Q, and the action value of motivation iteration is calculated.

Scenic Spot Selection.
According to the different scenic spots in the rural-urban fringe, the corresponding scenic spots can be classified into four categories, V1 to V4, as shown in Table 1: Figure 4 shows the spatial distribution of selected scenic spots, and the constructed element scenic spot matrix is shown as follows: In order to verify the effect of decision function reduction on the number of support vectors, 4000 data points in the database are used for verification.

Analysis of Example Results and Decision Support.
Set the corresponding impact factor fluctuation threshold, as shown in Figure 5.
According to the scenic spots selected by tourists, determine the A 4  4 tourism route scheme.e first 6 items of the output value are taken as intelligent decision support cases to export the tourism order map and tourism roadmap (see Figure 6).e optimal travel route of the matrix M in descending order of elements is ②⟶①⟶③⟶④, and the iterative travel route motivation value is the largest.Tourists can easily obtain the maximum motivation benefit when choosing this travel route (see Figure 6).
According to the results of the example in Figure 5 and the first six cases, the following decision support is provided: (1) For tourists, there are no specific requirements on tourist routes and scenic spots.On the whole, the best route for route 1 is downward ②⟶①⟶③⟶④, and the second is upward ④ --③ --① --② (2) For tourists, there are certain requirements on tourist routes and scenic spots Route 2 tours along the way; choosing the downward ②⟶①⟶③⟶④ best route can obtain the maximum motivation benefit and choose the upward ④ --③ --① --② route.
Route 3: ①⟶②⟶③⟶④ for sightseeing in the morning and shopping and leisure in the afternoon.Do not consider the route, shopping in the morning leisure, afternoon sightseeing, choose ④⟶③⟶②⟶① route.
For route 4, take a side trip in the morning and shopping and leisure in the afternoon.Choose the best route down ②⟶①⟶③⟶④ or the best route down ②⟶①⟶④⟶③.Consider the route, shopping and leisure in the morning, sightseeing in the afternoon, and choose the up ④⟶③⟶①⟶② route or up ③⟶④⟶①⟶② route.
e simulation results show that the influence of tourists' motivation is great, and the neural network algorithm and optimal classification decision function are effective.

Intelligent Construction Path of Rural Tourism Service
In order to further realize the intelligent support of rural tourism services, corresponding measures should be taken to establish "man and nature" countermeasures.

Basic Ideas of Intelligent Construction of Rural Tourism
Service.Rural tourism service of intelligent building should be corresponding resources, widen and update the corresponding information construction, according to the character of tourists for informatization construction, using   Complexity the corresponding cloud computing, Internet of things, big data, such as technology, improve the corresponding rural tourism service management, improve the corresponding tourism configuration, and break through the traditional travel restrictions.

Specific Methods of Intelligent Construction of Rural
Tourism Service.In the tour, VR, RFID, and other technologies can be used to understand the equipment.After the tour, the corresponding equipment or website can be used to give feedback on the tour.Good feedback can be used as an  6 Complexity example of publicity, while bad information can be used as a basis for improving service quality.

Conclusions
With the continuous development of social economy, rural tourism has become an important tourism destination, so how to make an important choice is extremely important.In this paper, the neural network algorithm and the optimal classification decision function are introduced.e simulation results show that the neural network algorithm and the optimal classification decision function are effective and can support the intelligent decision assistance of rural tourism service.

Figure 3 :
Figure 3: One-way neural chain model of tourist routes.

Figure 6 :
Figure 6: 6 elements of the tourism routes.

Table 1 :
Scenic spot coding of scenic spot subset elements.