Optimal Model of Horse Racing Competition Decision Management Based on Association Rules and Neural Network

,


Introduction
Modern horse racing is an outdoor sport that is popular with all walks of life.It is a comprehensive industry integrating sports, entertainment, gambling, and commerce.ere are 3.2 million competitions each year, and the total prize money for horse racing in the world amounts to 360 billion yuan [1].At present, there are more than 70 countries and regions developing horse racing in the world.Horse racing in the United States, Britain, France, Australia, Japan, Hong Kong, and so on has developed well and has become one of the most important industries in the country [2].Horse racing is the link of economic activities, the pillar of public welfare and charity organizations, and the big tax collector of the country.It is the carrier of interpersonal communication and an important entertainment method in people's lives [3].It is fashionable for people to participate in horse racing activities and to become a member of the horse club and horse owner as a symbol of their identity and status.
With the tremendous improvement in people's living standards, horse-racing-related undertakings are also advancing quickly and steadily.As one of the horse-racingrelated industries, the horse racing lottery has also received national support and people's attention.Driven by the horse racing lottery, more and more ordinary people participate in horse racing.Taking the UK as an example, the horse racing industry has an output of more than 1 billion pounds and has developed into the second-largest sports industry after football.With the increasing popularity of the horse racing industry, about 130 million people around the world participate in horse racing lottery guessing.People began to summarize general laws in various types of horse racing, trying to find a way to improve the level of winning and losing guessing [4].Today, with the vigorous development of normalization, traditional horse racing prediction models generally have low prediction accuracy and imperfect system architecture design, which can no longer meet the needs of horse racing management and competition outcome prediction.How to build a horse racing decision-making management model and apply scientific methods to solve forecasting problems has become a problem that more scholars and the public are concerned about.
Information technology has played a huge role in promoting the development of horse racing.e advancement of science and technology has not only promoted the advancement of horse racing but also has higher requirements for the decision-making management and performance prediction of horse racing [5].Based on the research of a large amount of data, this paper introduces association rules and neural network algorithms to establish a horse racing competition decision-making management optimization model.It provides decision-makers with powerful means and tools, provides an effective quantitative basis for making reasonable training management decisions and training programs, and provides scientific predictions for public participation in horse racing.

Related Work
Horse racing is a speed competition that tests humans to control and control horses.It is one of the main events of equestrian sports.Its forms are changeable, but the principles are basically speed competitions.Horse racing is also a worldwide traditional competition event [6].According to textual research, horse riders were found in stone carvings of the Neolithic Age, and as early as the beginning of the seventh century BC, the four-horse driving sports event appeared in the Olympic Games held in ancient Greece.Later, the project was changed to human driving for competition [7].In the beginning, horse racing was only used as a method and means to select good horses.Only the most prominent and outstanding horses on the racetrack can be used for breed breeding.In modern times, with the continuous development and prevalence of horse racing, organization, management, and competition have become more and more important compared with ancient horse racing events, and the method is more scientific and more advanced [8].
With the continuous popularity of horse racing, many scholars have conducted research on horse racing.Ghezelsefloo proposed: based on the theory of service operation management, transplant the theoretical knowledge of the discipline system of service operation management into the operation management of horse racing events [9].Fenner et al. emphasized that guided by model theory and method, the service operation management mode of Hong Kong horse racing events and the service operation management mode of Japanese horse racing events are analyzed from the perspective of service [10].Zhang and Liu proposed horses are a unique match between two life forms of equestrian events, and the health of horses directly affects the event, which requires a very high level of organization and management of our events [11].Research by Quintana et al. shows that among the participants of high-level equestrian competitions, the injury rate is also the highest, and equestrian competitions require skilled emergency medical services [12].Research by Fenner et al. pointed out that it is necessary to establish a comprehensive long-term planning system for events, pursue the irreplaceability of the equestrian event brand, develop the characteristic highlights of the equestrian event, and propose the establishment of a professional talent training system [13].Research by Sun and Li shows that in the context of equestrian sports, competitions can promote and drive related consumption [14].Padalino et al. explored the characteristics of the development of large-scale sports events in Hong Kong, analysis of sports development and management mechanisms, and the characteristics of horse racing to drive and promote the development of Hong Kong's gaming industry and sports culture [15].Hoseini and Amani proposed an equestrian event management system based on the B/S model to facilitate event informatization [16].
Information technology is the foundation and symbol of modern society.With the development of artificial intelligence and big data, many experts use information technology to manage and predict sports events.In the research on the comprehensive evaluation and prediction of national gold medal rankings in the Olympic Games, Xiao and others used tracking statistics + comprehensive evaluation + comparative analysis + expert consultation on the comprehensive evaluation of Olympic gold medal rankings for the Olympic events in the world's major competitions during the Olympic cycle from 1989 to 1992.Method of prediction: based on the comprehensive and timely grasp of the strength level and development changes of the Olympic events in various countries and regions, the strength pattern, number of gold medals, and team rankings of the Olympic Games were predicted [17].In the analysis of the strength of the diving powers in the 2000 Sydney Olympics and the study of gold medal predictions, Chen used the sports expert method to analyze the strengths of the diving powers in the 2000 Sydney Olympics and predicted the gold medal situation of the Chinese diving team [18].
At present, the research and application of predictive management have penetrated into various research fields, and the field of horse racing research is no exception.Predictions can be made in horse racing strategy research, decision-making, coaches, athlete team construction, training programs, and so on.In recent years, different prediction algorithms have been widely used in nonlinear prediction in various fields, such as BP neural network, wavelet neural network, support vector machine regression, and so on.Among them, association rules and neural networks have become the most successful prediction methods in the field of horse racing because they are easy to 2 Scientific Programming implement any complex nonlinear mapping function.Forecast through scientific methods; recognize the direction, trend, and law of the development and change of things; and take effective measures to control the codevelopment, so as to better optimize the management of horse racing decisions.

Realization of Horse Racing Competition Decision Management Model
e purpose of horse racing decision management is to accurately predict the development and changes in the horse racing system, adjust the influence of other factors, and finally realize the optimization of horse racing decision management [19].Based on association rules and neural network algorithms, this chapter realizes the establishment of a horse racing competition decision management optimization model from three aspects: the level construction of horse racing competition decision management, functional structure, and competition prediction process.

Model Hierarchy.
e horse racing decision-making management system adopts a four-layer architecture design.From bottom to top, they are the horse racing data collection layer, data service layer, system business logic layer, and user interface layer.Each layer of the system completes the corresponding function and will exchange data between each layer; the hierarchical structure diagram is shown in Figure 1.
User interface layer: It provides users with an interface into the horse racing decision management system, which realizes the overall design of human-computer interaction, operation logic, and beautiful interface of the horse racing decision management and displays it to users in the form of a graphical interface.When the user sends a request to the image system, the system first performs the request and data analysis at the bottom layer and then transmits the calculation result to the user interface layer to display it to the user.When a user sends a request to the system, the system first performs the request and data analysis at the bottom layer and then transmits the calculation result to the user interface layer to display it to the user.e design of the user interface display layer needs to comply with the principles of aesthetics, intuitiveness, and fault tolerance.Due to the needs of different users, the carrier devices of the user layer are not the same, mainly smartphones, desktop computers, and portable notebooks.
Business logic layer: It is the core part of the entire horse racing decision-making management system, mainly for business logic-related analysis and processing.By receiving the information of the user interface display layer and performing business processing, the system command service is completed on the basis of the data service layer, and the business processing results are stored in the database and returned to the user interface layer for display.
Data service layer: As the middle layer, it mainly manages the horse racing information management system data effectively.Due to the huge amount of competition data, there is incomplete and invalid information in the data.By processing it at this layer, the integrity and correctness of the data can be ensured.
e data managed by the data service layer mainly come from two aspects.On the one hand, it is through data collection equipment, stored in the data service layer and provided to users for use; on the other hand, it is basic information such as query requests received through the business logic layer.e basic data and historical information are stored in the database and transmitted to the upper layer.At the same time, in order to ensure the robustness of the database, the data service layer also regularly backs up the database and files.
Data collection module: It includes game data collection and training data collection.e data obtained by the system through the data acquisition subsystem can analyze the recent physical state, technical and tactical state, and overall cooperation state of the horse and jockey, so as to formulate corresponding training plans; at the same time, the data acquisition module provides data for the prediction of the horse racing conditions studied in this paper support.In the horse racing decision-making management system, it is mainly completed by the staff and mobile devices to provide accurate and timely basic information for the horse racing situation prediction to ensure the normal operation of the horse racing situation prediction system.Collectors record the trajectory of horse racing on the competition field through the mobile phone client.Since manual input will produce some abnormal data, when using the collection layer data to predict the game conditions, it is necessary to process the abnormal data to ensure data reliability.

Model Functional Structure.
is paper combines the key technology of demand analysis and horse racing decision management model to design the prototype of a horse racing decision management optimization system.e system is roughly divided into system management, personnel information management modules, data collection, event management, and points query.e system functions are shown in Figure 2.

Data collection module:
e main function of data collection is to collect data from horse racing or training, which provides data support for the study of the horse racing decision management model in this article.It is divided into three modules: competition data collection, training data collection, and data statistics.Event management module: e main function is to browse, release, and update events.Nonadministrator users can browse the game.For a game that has ended, the user can view the score of each quarter of the game and the final game status; for a game that has not started, the user can make an appointment to watch the game and predict the game status.Game prediction module: It consists of four functions: data preprocessing, parameter optimization, model training, and prediction.e data preprocessing, parameter optimization, and model training are part of the system background administrators, and the game prediction is a user use function.
e user selects a game in the viewing schedule interface and clicks the "Pre-match" hyperlink.After the server receives the request, it will feed back the data comparison between the two sides of the game.e user can clearly see the comparison of the relevant game data before the game between the two sides through the interface.Upon clicking the "Predict" button, the system will make a prediction by completing the following steps.Points query module: Mainly to query points, this module includes horse racing points query and season points query.Users can query related postregular season standings and horse racing standings.e system receives the score query request from the user, initializes the scoreboard information, and displays the scoreboard to be queried.System management module: It includes system login and registered user audit, system authority management, and role management.Mainly by reviewing the registration, new users maintained the system's roles, permissions, password management, and so on to ensure the normal use and operation of the system.e system classifies users into different role categories according to actual usage and assigns different permissions to different roles.e news module is mainly to display the news related to horse racing events, including the latest race news, horse racing, season news, and so on.Features include horse racing news releases, horse racing news update, and news information retrieval functions.
e information management module includes basic management functions such as the addition, deletion, modification, and query of horse racing athlete information, coach information, and referee information, as well as the management of the relationship between roles.

Game Prediction Process.
e administrator client development of the horse racing decision management system adopts the B/S structure.In order to simultaneously apply to the computer side, mobile terminals (Android and IOS), the user side development of the horse racing situation prediction system adopts the web app website development model, and the game situation prediction module is divided into four parts: data preprocessing, parameter optimization, model training, and prediction.e data preprocessing, parameter optimization, and model training are part of the system background administrator's use, and the game situation prediction belongs to the user's use function.First, log in to the system to retrieve the user login table and determine whether it is an administrator login or an ordinary user login.If the administrator logs in, read the game data statistics table, use the ISSFS algorithm to select the characteristics of the game data, use the HGAPSO algorithm to select the penalty factor for the SVM parameter C and function parameter g, and input the reduced data as the training set of the model into the neural network to train the predictive model; if the logged-in user is a nonadministrator user, you can choose an unfinished game and win against the home team of the game.e negative situation is predicted, and the prediction process is shown in Figure 3.

Implementation of Key Algorithms in the Model.
Compared with traditional algorithms, association rules and neural networks have strong nonlinear relationship mapping ability, adaptive ability, and learning ability and also have a certain fault tolerance ability.
erefore, applying association rules and neural networks to the horse racing decision management model can predict horse racing more accurately.
Since there are many factors that affect horse racing performance, neural network modeling is used; various influencing factors are used as neurons; and association rules are used to find out the interconnection between each neuron and determine the connection strength between the neuron and the neuron source, which is the proportion of each influencing factor in the forecast.e output of the final neuron is the prediction result.Next, the two key algorithms involved in the horse racing decision management systemassociation rules and neural network algorithms will be described in detail.

Neural Network Algorithm. A neural network is a kind of backpropagation network, proposed by Rumelhart and
Mc Celland in 1986, composed of backpropagation and error information communication [20].e neural network includes an input layer, a hidden layer, and an output layer.To transfer the function from the input layer to the hidden layer and from the hidden layer to the output layer, the formula is as follows: Get the function model and loss model as follows: where x is the initial value of the neurons in each layer; c 1 and c 2 are the intercept terms; e T and q T are the weight values of the connection between the layers; net 1 and net 2 are the output values of the function transfer between the layers; f 1 and f 2 are sigmoid functions; y is the output value of the BP neural network; y i is the actual value; and E(ω) is the total error of the BP neural network.
e data as the input value need to be normalized data preprocessing to achieve the input value range in the [0,1] interval.Using standardized methods for data processing, the formula is as follows: where x i represents the time of the first game of the device and x min and x max represent the minimum and maximum values of the data, respectively.e output value obtained after BP neural network calculation is normalized, and the formula is as follows: Determine the number of artificial neurons in the hidden layer: under the premise of fully considering the approximate accuracy, user experience, and experimental methods to determine the number of artificial neurons in the hidden layer.Suppose the number of artificial neurons in the input layer is M, the number of artificial neurons in the output layer is N, and the ideal number of artificial neurons in the hidden layer is generally within the following range: ( According to the above ideas and steps, use Python software to learn data through network learning and constantly adjust the number of hidden layer neurons to optimize the algorithm.Determine the number of artificial neurons in the hidden layer according to the minimum error and optimal performance of the network and finally get the structure of the BP neural network.

Association Rules.
Discover the association rules between various factors through data mining.e reliability function of a single horse race is obtained through the neural network.e reliability function represents the health of the racehorse.When the association rules are probabilistic, the reliability functions between the various factors with the association relationship are linked.Next, the unknown variables are calculated from the known variables through the probabilization of the association rules; the formula is as follows: It can be obtained from the above formula that e probability function can be transformed by the association rules as follows: Based on the excavated horse racing game X's first match time, the three-parameter Weibull distribution is used to obtain the reliability function and failure rate function of the horse racing X. en the reliability function of horse racing Y is obtained from the mined association rules.

S Y T 􏼁 � S X T 􏼁S(x | y).
( According to the structural framework of the BP neural network, the input Weibull reliability function has a projection relationship with the BP neural network function, and the error value between the two variables is also close to the maximum error given in the network learning process.In this article, the maximum error value E is the fixed error of input data and output data, and the following function is obtained by adding a formula to the conversion function.
where y At represents the predictive model of match A and Y BT represents the predictive model of match B.
is paper combines the probabilization of association rules with the prediction model of the BP neural network, and finally, the prediction model of match B is obtained.From the above formula inference, it can be known that a horse racing game with an association relationship can calculate a predictive model based on the data of various factors, and at the same time, the predictive model of other competitions can be deduced by the association rules, so as to realize the performance prediction of the horse racing game.ese four categories of influencing factors are the decisive influencing factors (schedule), the influencing factors of the horse itself (age, gender, and weight), the influencing factors that describe the quality of the horse (score and the rate of top three horses), and the external influencing factors (jockey, weight-bearing, harness, qualifying, field nature, field, and trainer).

Optimization and Analysis of Horse Racing Decision Model
e most important of course is the decisive factor, the schedule, because the results of different schedules are very different.

Multiple Algorithms Predict Accuracy Results
. In this paper, evaluation indicators are selected to choose a variety of optimization algorithms, namely quadratic moving average (A algorithm), triple exponential smoothing (B algorithm), gray model (C algorithm), and neural network algorithm.After more than 5,000 training and competitions in 9 schedules in recent years, the following conclusions are drawn, and the results are shown in Figure 5.
As can be seen from Figure 5, in the 1,000 m, 1,200 m, 1,400 m, 1,600 m, 1,650 m, 1,800 m, 2,000 m, 2,200 m, and 2,400 m multiple competition events, a variety of prediction algorithms are used to make predictions.e prediction neural network algorithm is the closest to the actual results, which is slightly higher above 90%; it has the highest prediction accuracy.Secondly, the gray system algorithm is better than the two-time moving average and three-time exponential smoothing algorithm, and it has a higher prediction accuracy, reaching more than 80%.erefore, it can be seen that the neural network algorithm has obvious advantages in predicting the results of the competition.is model uses the neural network algorithm to improve the accuracy of the prediction.

System Predictive Efficiency Analysis.
In order to deeply test the auxiliary effect of this system on the decision-making prediction of horse racing competitions, two systems are used to implement comparative tests.When testing the two systems to predict the results, the prediction time, and the error rate of the competition data, the results are shown in Figure 6.
As can be seen from the figure, after comparing the two systems, it can be seen that the average prediction consumption of the horse racing performance of the system in this paper during the review is only 2.01 s, and the average time consumption of the previous system is 3.75.e training time and prediction time consumption of the system in this paper are the least.e average error rate of this system is 0.12%.e average error rate of the previous system is 0.35%, and the highest rate of error is 0.88%.It can be seen that the review performance of the system in this paper has significant application value in similar systems.

Analysis of Horse Racing Performance Improvement.
One of the design goals of the horse racing decision-making system is to continuously predict the performance of the horse race, find out the shortcomings in the horse race, and constantly adjust and revise so that the decision-making management is continuously optimized, and finally, the actual game performance is improved.
rough a comprehensive study of venues, horse racing, trainers, and knights in the 2019 and 2020 seasons, it was found that the combined factors of the two seasons had little effect, further illustrating the authenticity and validity of the results.is summary compares and analyzes the competitions of different schedules in the two seasons after adopting this model, as shown in Figure 7.
It can be seen from Figure 7 that the average time spent in each game of the top three in the two seasons of 2019 and 2020, except for the 2,000 m schedule, the average time of the top three in the rest of the schedule has been reduced; the results have been improved; and the highest has been

Conclusion
With the rapid development of information technology, the data dimension and data volume of horse racing forecast data have grown rapidly.e increase in the scale of data and feature dimensions has led to the problem of large-scale data and dimensionality disasters during model training.Association rules and neural network algorithms with a strong ability to process nonlinear data have been widely concerned by experts and scholars.Based on the research of a large amount of data, this paper introduces association rules and neural network algorithms to establish a horse racing competition decisionmaking management optimization model.An example is used to simulate the regular season, and it is proved that the accuracy of this model is as high as 90%, the average predicted consumption is only 2.01 s, and the error rate is 0.12%. is system provides powerful means and tools for decision-makers to optimize management, an effective quantitative basis for making reasonable training management decisions and training programs, scientific comparisons for improving horse racing performance, and scientific predictions for public participation in horse racing.
At present, the system can operate normally, but the system still has some deficiencies, the function is not perfect, and the accuracy of the final prediction also needs a large amount of data to verify.e next step is to improve the existing system, continuously improve the association rules and neural network algorithms, and improve the accuracy of prediction.
[21]eWeight of Factors Affecting HorseRacing.Many factors in horse racing have a direct impact on the outcome of the race.To construct a horse racing decision-making model, the most important thing is to understand the factors that affect horse performance, including gender, scoring, ranking, weight, age, horse top three rate, harness, race schedule, venue, nature of the venue, and jockey, training 13 factors such as Ma Shi[21].e premise of this experimental study is that the ranking of the 13 factors is to analyze the impact on the performance of horse racing.It can be seen from Figure4that on the basis of the model, a large amount of data is studied and analyzed, and the influence of factors on the prediction results is arranged in the order of: schedule > age > gender > weight > score > horse top three rate > jockey > negative scale > harness > qualifying > field nature > field > trainer.e arrangement is roughly divided according to the four major categories of influencing factors.