Accurate Digital Marketing Communication Based on Intelligent Data Analysis

In digital marketing, the core advantages of scientific and technological means such as artificial intelligence and big data analysis gradually appear and pay attention to them. +is paper studies the accuracy of digital marketing and proposes an intelligent algorithm based on data analysis, which improves the effect of marketing communication.+rough the combination of intelligent algorithms and big data analysis, the data are convincing. +rough the comparison and improvement of intelligent algorithm logistic regression and XGBoost, this paper puts forward an improved algorithm of XGBoost based on Bayesian optimization parameters, which can improve the efficiency of digital marketing communication and enhance the social influence of digital marketing.


Introduction
In recent years, the purchasing power of the former Millennium baby has gradually appeared in the market. Major businesses are also actively formulating marketing strategies. At present, major Internet platforms are also competing for this market cake and actively applying digital marketing communication strategies to influence the purchasing behavior of this generation and actively communicate with consumers through digital media interactions such as short videos and social media [1]. By adding chat robots and introducing platform intelligent algorithms, each platform actively communicates with target consumers, designs the company's marketing strategy, and collects and analyzes data with consumers before and after purchase to assist the platform to formulate reasonable and effective digital marketing plans and assist decision-making and support [2]. e research on digital marketing has been gradually deepened. Some researchers have incorporated consumer identity into purchase decision support, created consumer demand unconsciously through social platforms, and formed the intervention of social psychological mechanism, which can tap the potential consumption of consumers and provide targeted sales suggestions for manufacturers [3].
In the process of digital marketing, integrating computer and communication technology, innovatively adopting digital tools, carrying out interactive digital marketing research, and providing market decision support for manufacturers through data-driven marketing are a new direction of future development [4].
In the industrial market, some studies put forward the method of evaluating the marketing performance of industrial enterprises through correlation analysis, optimizing the communication efficiency by using digital marketing, and increasing the sales opportunities in the industrial market through statistical analysis of data [5].
In the process of brand marketing communication, through artificial intelligence algorithm, a large number of data are collected based on consumers' personal emotions, and the empathy mechanism in the network environment is to build a communication bridge between consumers and producers and improve brand communication awareness through consumer emotion subdivision. [6] In the development process of digital marketing, artificial intelligence, and big data technology, it is the development trend of digital marketing to effectively evaluate the marketing effect and customize the marketing for you. Compared with the traditional mode, digital marketing embodies high efficiency, measurability, and flexibility [7].
With the prevalence of digitalization, combined with AI algorithm analysis and big data environment, the strategic decision-making of enterprises can be enhanced, and the risks and opportunities of business operations can be discovered early.
rough structural equation technology modeling of the questionnaire survey, it is found that big data and AI algorithm have a positive impact on the marketing activities of digital marketing [8].
Network marketing and digital marketing complement each other in modern enterprise marketing, and the current fashion market is gradually migrating from offline to online, establishing corporate brand image online and offline [9]. In the digital marketing environment, this paper combines the common artificial intelligence algorithm logistic regression algorithm and XGBoost algorithm to improve and proposes Bayesian optimization algorithm to improve the parameter optimization process of XGBoost algorithm.

Digital Marketing Communication Mode
Marketing model [10] has experienced three historical times, namely, traditional marketing model, network marketing model, and digital marketing model. Fundamentally speaking, the three marketing methods are distinguished based on route, category, and methodology. e changes in each stage are brought about by the changes in consumers' shopping technology and the results of scientific and technological progress.
Digital marketing is a combination of computer, communication, digital multimedia, and other technologies to achieve the purpose of traditional marketing, and its essence is a marketing method derived from traditional marketing methods or replaced by tools [11]. e pursuit of digital marketing is to effectively extract the target customer information from the massive data information and to maximize the use of computer technology to efficiently open up the market and tap the needs of consumers to meet the needs. Digital marketing through marketing matrix [12]: using popular interactive digital multimedia means, such as Douyin short video, Aauto Quicker, Weibo, forum, WeChat circle of friends, select effective targets in the database for targeted marketing to achieve a high conversion rate. Digital marketing acts as a bridge, reduces marketing costs, and embodies customized, targeted, and efficient communication.
rough the multichannel cooperation of digital marketing communication, it can effectively interact with consumers, improve the communication efficiency between consumers and manufacturers, and enhance the digital transformation of enterprises. e specific marketing system model is shown in Figure 1.
A product is alive, and this problem should be fully considered in the process of digital marketing. From entering the market, a product will enter the market from 0 blank (opening period, introduction period) to 1 market recognition (growth period, maturity period), and to 0 exit from the market (recession period). is life cycle mainly includes four stages. Marketing strategies and algorithms are combined with the life cycle of different products, so as to enhance the activity of products in the life cycle and, at the same time, make consumers resonate and have a high sense of identity with products. e following is a comparison of product life cycle and product sales curve, as shown in Figure 2.

Intelligent Algorithm
By understanding the needs of consumers, Peter Drucker, a famous management guru, pointed out that the ultimate goal of marketing is to gain business insight and understand users' needs. With the development of artificial intelligence and big data technology [13], enterprises can understand the actual needs of users, improve the service quality of enterprises, and establish the brand image of enterprises through technical means. rough big data technology, we analyze the consumption and purchase behavior of each user, compile the "portrait" of users, distinguish customers, and provide differentiated and valuable targeted services [14]. For example, Xiao Li bought a pair of running shoes online, and his purchase records were recorded in the database. en, he would push all kinds of socks, sportswear, running-related items, and fitness knowledge for Xiao Li. rough the data recorded by users' daily online consumption, purchase, and browsing, combined with artificial intelligence algorithms and other technologies, the consumption logic of consumers' purchase behavior is excavated, which provides decision-making basis for digital marketing and promotes market transactions. [15] e daily behavior data of users through technical means are analyzed, predicted the future behavior consumption path, gradually enriched the "portraits" of characters, spread the company's cultural values, aroused consumers' recognition, improved marketing efficiency, and achieved marketing effects. Mobile Internet makes digital marketing grow rapidly. e massive data generated by major Internet platforms every day are the real content of public actual participation. Enterprises are closely concerned about making good use of the data of major Internet platforms and carrying out targeted marketing communication. Nowadays, short videos and online dramas are very popular with the younger generation [16], and most of these videos are entertaining. By recording users' usage habits and combining with corresponding artificial intelligence algorithms, the platform makes targeted recommendations to target customers, creating fan product economy, achieving accurate marketing, and realizing traffic realization while harvesting large traffic [17]. In order to achieve accurate marketing, decisionmaking will be more and more based on data and analysis, and enterprises will optimize their operations based on data 2 Scientific Programming analysis [18]. e essence of machine learning is to count and find similar data with certain statistical laws, and its goal is to find an optimized model from the regular data space [19]. e framework of digital marketing design by machine learning algorithm is shown in Figure 4. Evaluation criteria and marketing communication performance are important basis for measuring the quality of a model. Combined with specific needs, the evaluation indicators and communication performance reference parameters suitable for this problem are selected. Intelligent algorithm can improve the accuracy of digital marketing, improve personalization and recommendation system, optimize paid advertising, optimize the time and channel of marketing promotion, improve the automation of marketing process, and understand and predict user behavior, etc. In this paper, several classification algorithms which are relatively frequently used in real life are selected, and the optimal combination method suitable for digital marketing is found by modeling, comparative analysis, and comparison results, and quantitative and qualitative indicators are distinguished [20]. e selection algorithm and improved algorithm are introduced below.

Multivariate Logistic Regression.
is paper is based on the classification of digital marketing user categories. If there are N categories, they can be expressed as {1, 2, ..., k}.
.., n. e binary logistic regression [21] model assumes that the logarithm of the ratio of posterior probabilities belonging to two categories 0 and 1 is linear, as shown by the following formula: By the logic of the above formula, the logistic regression model can also be called the logarithmic probability model [22]. It is a model with Class 0 as the base class. By analogy, extending to multiple classes, and setting class K as the base class, the logarithmic probability of K−1 is also as follows: Formulas (4) and (5) From the above derivation, we can know that logarithmic probability can be reflected by the prediction results of the linear regression model in multivariate logistic regression. is model is called "logarithmic probability regression," also known as logistic regression [23], and the logistic regression function will not be affected by wrong assumptions, so data modeling can be carried out directly.

3.2.
XGBoost. XGBoost algorithm [24], whose full name is the limit gradient lifting algorithm, is an improved learning algorithm of the decision tree. It was proposed by Dr. Chen Tianqi of Washington University in 2014. is algorithm has excellent ability and is widely used in industry, medicine, aviation, economy, and other fields. e algorithm is characterized by parallel computing, giving full play to the advantages of CPU multithreading, and improving the efficiency of data propagation through the improved algorithm.
Given n data samples D � (x I , y i ) (|D| � n, X i ∈ R m , y i ∈ R), with m characteristic attributes, the additive model is used to predict the output.
where the regression tree space is represented by which represents all trees, and the structure of each tree is denoted by Q, and the total number of leaves on the tree is denoted by T. Each learner f k corresponds to an independent tree structure q and leaf weight w, and it is determined whether the selection algorithm parameters are the best effect [25] by using an objective function defined as follows: As can be seen from the above formula, it contains two parts. e left part of the plus sign is the loss function Ω(f) � cT + (1/2)λw 2 , also known as the differentiable loss function, and it is used to measure the difference between the predicted value y i and actual value y i . is result is also called training error. e right part of the plus sign is represented as a regular term, which punishes the weight of leaf nodes and achieves the purpose of optimizing the objective function through addition training [26] to avoid the influence of overfitting.
Incorporating the predicted value y i (t) into the following formula minimizes the loss function: Put the loss term at y i (t−1) [27], as shown in the following formula: Consumer data Marketing promotion

Analysis and prediction
New behavior of users

Scientific Programming
Here 1) ) are the first and second partial derivatives of the loss function L, respectively [28]. e constant term is removed and changed it to the following formula: rough the function defined above, the regularization term is defined as In formula (9), the smaller the values of c and λ, the more complex the model is. Let I j � i|q(x i � j) be the sample of leaf node j, and the formula can be changed as follows: e weight w * j of j in the value corresponding to the objective function is as follows: e optimal solution can be obtained by bringing the above formula into the objective function as follows: 3.3. Algorithm Improvement. rough the idea of optimizing model parameters, we can choose Bayesian optimization algorithm to improve parameter optimization. By setting good values, we train the model for Bayesian optimization and finally form the results for classification evaluation. e optimal parameters are substituted into XGBoost algorithm [29]. Specific steps are as follows: (1) Let t � 0, the parameter initial population p (0). (2) Select the candidate solution S(T) from P(T) is selected. (3) e Bayesian mesh is constructed according to the following formula:  (2) and continue to execute in sequence until the optimal result is found at the end of the calculation. By optimizing the XGBoost algorithm model with the above Bayesian optimization parameter method, literature [30] can increase the prediction accuracy of the final result.

Data
Modeling e data acquisition model is shown in Figure 5. rough network data crawling and data modeling, according to descriptive statistics, we screened out key indicators as follows: category browsing times, purchase times, brand browsing times, brand last stay viewing time, and last viewing time of this category, and user's gender, level, age, marriage, education level, occupation, unit price, and purchasing power of each customer in the latest month, including 13 indicators and predicted value c [31].

Logistic Regression Modeling.
rough data processing and cleaning, the program is executed by R language software, and 33 variables of parameter estimated value are obtained, as shown in Table 1. From the table, it can be found that 23 variables with significant changes are retained in the table, for example, category browsing times x 1 , additional purchase times x 4 , purchase times x 5 , etc.; consider removing insignificant variables, such as brand purchase times x 2 , age x 13 , unit price per customer x 17 in the latest month, etc., which are not significant, so as to test whether the new model fits better. In the new fitting results obtained by experiments, it is found that every regression coefficient in the new model is very significant (P < 0.5) [32].
According to the results of variance analysis in Table 2, the chi-square value is not significant (p � 0.28), which shows that the fitting effect of the new model with 23 independent variables is basically consistent with that of the model with 33 complete variables. erefore, we can choose a simple model to calculate. e comparison diagram of the two models is shown in Figure 6. Under different standards of all independent variables, the important values of independent variables corresponding to different independent variables are selected. e corresponding relationship between algorithm and error evolved from decision tree is shown in Figure 7. e probability prediction value is obtained by logistic regression model, the probability prediction value of counterexample is less than or equal to 0.5, and the probability prediction value of positive example is greater than 0.5, and the training set error matrix is obtained, as shown in Table 3.
Using this model in the test set, the error matrix of the test set is obtained, as shown in Table 4. e logistic regression model was analyzed and calculated, and the results are shown in Figure 8.

XGBoost Modeling.
e training set is also modeled and used in the XGBoost algorithm, and the error matrix is shown in Table 5.  Figure 5: Online data acquisition model.  Similarly, when the XGBoost model is used for the test set, the resulting error matrix is shown in Table 6.
e model accuracy and recall on the training set and test set are calculated by analyzing the data in Table 6 as shown in Figure 9. e method proposed in this paper solves the classification accuracy of digital marketing. e XGBoost takes into account the case that the training data are sparse, which can improve the efficiency of the algorithm. e XGBoost algorithm model is simpler and prevents overfitting. e XGBoost uses not only the first derivative but also the second derivative.

Improved Bayesian Optimization Algorithm XGBoost.
rough Bayesian optimization parameters, XGBoost is improved, and some important attribute parameters are selected as shown in Figure 10.
From Figure 10, the importance of algorithm features is improved and compared according to the selection of optimized parameters. e training set is also modeled and used in the improved XGBoost algorithm, and the error matrix is shown in Table 7.

Conclusion
In this paper, the intelligent data analysis algorithm logistic regression and XGBoost algorithm, and the improved Bayesian optimization parameter XGBoost algorithm are integrated into digital marketing. Combined with the product life cycle, the data that have been crawled through the network are processed, and the data set is modeled, in which 60% of the data are randomly selected as training sets, 40% as test sets, and accuracy and recall are used as performance measurement methods of the model. rough verification, the improved XGBoost algorithm based on Bayesian parameter selection is obviously superior to logistic regression in accuracy and recall, and its computational efficiency is also obviously superior to logistic regression, which shows certain advantages in data processing and analysis.

Data Availability
e experimental data used to support the findings of this study are available upon request to the author.

Conflicts of Interest
e author declares that there are no conflicts of interest regarding this work.   Scientific Programming 9