Data Science Analysis Method Design via Big Data Technology and Attention Neural Network

Because of the rapid expansion of big data technology, time series data is on the rise. These time series data include a lot of hidden information, and mining and evaluating hidden information is very important in finance, medical care, and transportation. Time series data forecasting is a data science analysis application, yet present time series data forecasting models do not completely account for the peculiarities of time series data. Traditional machine learning algorithms extract data features through artificially designed rules, while deep learning learns abstract representations of data through multiple processing layers. This not only saves the step of manually extracting features, but also greatly improves generalization performance for model. Therefore, this work utilizes big data technology to collect corresponding time series data and then uses deep learning to study the problem of time series data prediction. This work proposes a time series data prediction analysis network (TSDPANet). First, this work improves the traditional Inception module and proposes a feature extraction module suitable for 2D time series data. In 2D convolution, this solves the inefficiency of time series. Second, the notion of feature attention method for time series features is proposed in this study. The model focuses the neural network’s data on the effectiveness of several measures. The feature attention module is used to assign different weights to different features according to their importance, which can effectively enhance and weaken the features. Third, this work conducts multi-faceted experiments on the proposed method.


Introduction
With the advancement of IoT and 5G technologies, society has begun to enter an era of mutual sensing and interconnected big data applications. Sensors put on objects can collect information in real time.
is information is time series data, which is used to monitor the condition of an object and anticipate its future state. Time series data are a collection of ordered data acquired by the same entity at various times in time. For example, an e-commerce company's total monthly sales volume, the daily change in PM2.5 in a city, and the hourly tra c ow on a speci c road. It is widely found in various elds such as industry, medical care, and nance. Usually, time series data contain rich information, mining, and analyzing this information can help people understand phenomena and predict the future. In the eld of medicine, medical experts use continuous measurements of a patient's electrocardiogram to classify a patient's possible diseases. In the stock market, time series data consisting of daily closing prices in the history of the stock are analyzed to predict the stock price in the future. In the eld of Internet security, network anomalies can be detected by analyzing network tra c data. In supply chain management, sales data for various products are forecasted and categorized.
is makes it possible to plan the production and storage of the product in advance, avoiding the backlog of product that leads to additional costs. In addition, by categorical comparison with historical product sales data, a more rational plan for the production and sales of new products can be made. In industrial production, to improve the quality and safety of production, it is signi cant to monitor and collect data on complex equipment systems in real time. ese data record the historical dynamic information of the system, can re ect the operation of the equipment, and play a very good role in improving management e ciency and rapid fault classi cation and diagnosis [1][2][3][4][5].
Deep learning is now a hot research area in artificial intelligence, owing to its ability to digest data by constructing a system comparable to the human brain. Deep learning models, in particular, process data through numerous hidden layers and map it to a high-level feature space. is can extract more abstract high-level data representation features or characteristics, and then investigate the feature representation of the data's implicit information. In addition to this, since deep learning computes high-level feature representations by directly inputting data. is does not require a lot of effort to do feature engineering and saves time and effort compared to traditional machine learning processes. Deep learning can learn abstract feature representations of data implicit information and can effectively model the correlation between sequence variables and longterm data dependencies.
is can better understand and express the implicit information of the data, which improves accuracy. Analysis of time series data mainly includes time series forecasting and time series classification [6][7][8][9][10].
Time series forecasting finds the development trend of time series data by analyzing historical time series data. is can predict the possible value at the next moment or some time later. Traditional time series forecasting methods only perform linearly weighted forecasts based on historical values.
is makes it difficult to model the nonlinearity of sequence data, resulting in low prediction accuracy. Traditional machine learning methods make predictions about future values by constructing time series features. Although it has excellent non-linear modeling ability, it does not consider the time dependence of sequence data and the correlation between variables, so it is difficult to achieve high-precision prediction. Not only does deep learning have excellent non-linear modeling skills, but recurrent neural networks and their derivatives can also effectively model long-term sequence dependencies. e self-attention mechanism captures the correlation between sequence data effectively, which is critical for boosting prediction accuracy. Time series classification examines the characteristics, shape, and other properties of the entire time series before assigning it a discrete name. Traditional time series classification methods identify and extract relevant information from sequences. When different patterns appear in sequences, redesign is time-consuming and labor-intensive. In addition, when the model cannot effectively extract different patterns of the sequence due to the preset rule method, the classification accuracy of the sequence will be seriously reduced, resulting in large errors in subsequent tasks. Deep learning can mine the feature representation of the implicit information of the data, which not only saves the complex feature engineering steps. At the same time, the classification accuracy and generalization ability of the model are greatly improved [11][12][13][14][15].

Related Work
e authors of reference [16] present a method for multistep forecasting that iteratively creates a model by minimizing the sum of squares of in-sample residuals from one step ahead. When the prediction length is reached, the predicted values are fed back into the same model to forecast the next set of data points. A nonlinear learning ensemble technique for multistep advance forecasting of long-term wind speed time series was proposed in reference [17]. e Ensem LSTM approach is built from an ensemble of LSTM, SVRM, and EO, and it learns time series features using LSTM clusters with varying hidden layers and neurons. e results of the LSTM network predictions are then aggregated into a nonlinear learning regression top layer consisting of SVRM, and the top layer parameters are optimized using the EO algorithm. Reference [18] proposed MARNN for multistep traffic flow prediction. It treats RNNs as dynamic networks for simulating dynamic features in traffic time series like recursive strategies and considers multioutput strategies for reducing accumulated error with increasing step size. Reference [19] proposes a successful prediction of extremely volatile and irregular financial time series data, such as stock market indices, was achieved by using a new self-evolving recursive neuro-fuzzy inference system. When applied to dynamic financial time series data, the method optimizes the model's parameters with MDHS technology, allowing for more accurate predictions than can be made with conventional neuro-fuzzy systems.
ere was a straightforward approach to multistage time series forecasting proposed in reference [20].
rough the use of historical observations, they constructed a set of predictive models for each horizon and then sought to reduce the squared multistep lead error associated with those predictions. e approach does not rely on the square of the onestep-ahead inaccuracy, and there are several direct-strategy multistep forecasting methods available as well. An ensemble approach involving decision trees, gradient boosted trees, and random forests was proposed in reference [21]. e weighted least squares method is used to obtain the ensemble weights, and a direct strategy is used for multistage time series forecasting of wind speed. In reference [22], a multioutput deep LSTM neural network model for multistep time advance prediction was developed. e dropout approach, L2 regularisation, and mini-batch gradient descent are all model components. is eliminates the error accumulation and propagation problems that are common in multistep forward predictions induced by overfitting during deep network training. Reference [23] proposed a model with a self-encoding-decoder structure for multistep advance prediction of time series. e basic structure of the model is composed of CNN and LSTM. is uses a convolutional network to learn correlations between variables and an LSTM network to learn sequential time series features. Reference [24] proposed a data augmentation model based on C-GAN to improve prediction performance. e method first uses a conditional generative adversarial network to learn a generator model. e model is used to generate new training data and integrate it into the original training data, thereby increasing the diversity of the training set.
e prediction accuracy of a neural network model used to estimate the hourly load value in reference [25] was much greater when compared to previous models. A direct feed of historical time series data is used to train the neural network. A CNN-based convolutional neural network model was 2 Mobile Information Systems created in the literature to handle the energy consumption time series prediction problem in the industrial production process [26]. By customizing convolution kernels in a number of directions, the model is able to extract the correlation features between input time series variables and the time-dependent characteristics of the same variable. e results of the experiments demonstrate that the model outperforms the neural network using a unidirectional convolution kernel in terms of generalization ability, prediction accuracy, and robustness. In order to make accurate predictions about periodic multivariate time series, the authors of reference [27] created a model called multiple CNN. Multiple CNNs are used to do a periodicity analysis of the time series, to extract proximity and long and short period information of the predictor variables, and to then combine the features of these three sections to produce predictions. Referring to reference [28], a fusion model was presented using CNN and LSTM to forecast immediate power needs. e experimental results demonstrate that the model outperforms a standalone CNN or LSTM in terms of prediction accuracy and robustness. Using a time series network to model long-and short-term dependency patterns in sequence data is proposed in reference [29]. It employs convolutional neural networks and recurrent neural networks to model intermediate-range dependencies in sequences, and it creates a novel recursive structure to capture very long-range dependencies in sequence data. In multivariate time series forecasting, it was proposed in reference [30] that CNN be used to extract time-invariant features from a single time series, and then RNN be used for time series prediction by merging the convolutional features of multiple time series. Two-stage attention was used to provide a model for RNNs in reference [31]. e usual attention approach is used at the decoder's input stage, where unique context vectors are generated at random intervals. e incorporation of an attention mechanism in the encoder's input stage of the two-stage attention model allows for the selection of feature factors and historical long-term temporal relationships. Reference [32] describes a unique focus strategy for multivariate time series forecasting. To get the hidden state output at any given time, the author first applies RNN to the original multivariate time series. e features for the hidden state variables are extracted using several convolution kernels, and then the attention mechanism is utilized to zero in on certain variables for the final prediction.

Proposed Method
First, this work improves the traditional Inception module and proposes a feature extraction module suitable for 2D time series data. is overcomes the inefficiency of time series in 2D convolution. Second, this paper proposes the concept of a feature attention mechanism for time series features. e model places the data focus of the neural network on the effectiveness of different metrics. e feature attention module is used to assign different weights to different features according to their importance, which can effectively enhance and weaken the features.

CNN Algorithm.
Local connections, weighted nodes, pooling operations, and a multilayered architecture are all hallmarks of CNN networks. erefore, the CNN network is better equipped to extract local features thanks to its local connections. Since the goal of the pooling operation is to minimize the dimensionality of the data, the sharing of weights has the additional benefit of drastically reducing the number of network parameters. As a result, the CNN network is also capable of representing time series data in a nonlinear fashion. e convolution kernel connects the preceding hidden layer's local region to the neurons of the convolutional layer. e convolution kernel is made up of weight matrices. When conducting the convolution procedure, the convolution kernel's sliding window travels through each section of the input matrix. It is multiplied by the matching elements of the area and aggregated after flipping to extract characteristics. Typically, many convolution kernels are established in the convolution layer, and distinct convolution kernels gain varied weights through network training, allowing different characteristics to be retrieved from the input. To improve nonlinear representation, the result of convolution operation is usually input into the nonlinear activation function to obtain a feature map. erefore, multiple convolution kernels perform feature extraction on the previous hidden layer, and a series of feature maps can be obtained. e combination of multiple convolutional layers enables the CNN network to gradually extract more complex features.
e neurons of the pooling layer are also connected to the preceding hidden layer's local area, and a statistical value of the area is obtained using a specific mathematical procedure. is achieves dimensionality reduction while performing secondary feature extraction and enables the network to obtain a certain invariance to the feature changes of the input samples.
Common pooling methods include max pooling, mean pooling, and random pooling. Maximum pooling achieves downsampling by maximizing the local area connected by the pooled kernel. Mean pooling implements downsampling by averaging the local regions of pooled kernel connections. Random pooling determines the probability matrix according to the element values in the local area, and randomly selects the output according to the probability matrix.
After convolution, the features will pass via the activation function layer, which is used to nonlinearly change the feature map formed by the convolution. e ReLU function is commonly employed as the activation function. e objective of the activation function in this case is the same as it is in the fully linked network: to boost the non-linear operation of the network. e ReLU function is generally selected because it has the characteristics of simple operation and easy convergence during training.

(3)
In the forward propagation process, CNN will randomly select data samples as input to enter the network, and the samples will enter the network in turn to obtain the output of the network. It should be noted that the most important network parameters are randomly initialized, and the initial values of network parameters will be randomly distributed in a small numerical range. Because a big initial value will effect network training, and if the parameters of each network are the same, training will not take place. When the outcome of this forward propagation is acquired, CNN will use the stochastic gradient descent process to update the network's parameters. e concept of minimizing the objective function is central to this method. e loss function determines how far the network's prediction was from the right label. Since the loss function is the objective function optimized by the stochastic gradient descent technique during training, choose the right one is essential. Backpropagation will update the network weights according to the current loss function through the algorithm to complete a round of network training.

LSTM Algorithm.
LSTM is one of the improved models of RNN. As an improved model of RNN, it is mainly used to solve problems such as gradient disappearance. LSTMs, on the other hand, introduce new cellular states into the RNN and hence store long-term states. A gate structure controls the inside of the unit, which is used to increase or decrease the influence of different states on the present unit and to further process the information transmitted at the prior time point. e structure of the LSTM unit is demonstrated in Figure 1.
e forget gate determines which information should be discarded and which should be maintained in the cell unit state. It uses the Sigmoid function to handle the model's input at the present time and output at the previous moment as a vector of [0, 1]. e median of this vector represents the amount of information in the cell state to keep or discard.
Input gates are primarily responsible for selectively recording new information into the cell state. It consists of two fully connected layers, the first layer decides which input information to retain, and the second layer will generate new candidate cell states based on the input data at this moment. e two layers together form an input gate to control how much of the input at the current moment will be retained to the final cell state.
e output gate is responsible for controlling what information in the current cell state can enter the hidden layer of the output layer. It determines the output part of the cell state through a sigmoid layer. en, go through the tanh layer and finally perform a dot product operation on the two to get the output.
LSTM networks are all unidirectional. Even if a multilayer recurrent neural network is added, the internal operation process is still only in a forward time sequence. e forward and reverse double guarantees are performed for sequence data to obtain information and improve the accuracy of sequence data prediction. BiLSTM came into being. It is composed of a forward LSTM and a backward LSTM in the horizontal direction. When inputting, BiLSTM will perform pre-and postorder calculations at the same time, and the two jointly determine the output through rules. Each unit of BiLSTM is composed of two LSTM cell units that are calculated in the forward and backward directions, and the horizontal comparison with a single LSTM unit can reflect the influence of the current moment and subsequent states on the current cell unit.

TSDPANet for Time Series Data Forecast.
e TSDPA-Net model is designed to solve the decline for prediction accuracy due to the complexity of features when the network faces multiple input features. In this work, the attention mechanism is used for feature selection, which assigns higher weights to the features with more important prediction results and lowers the weights of irrelevant variables. In addition, the model is utilized after the input layer, while the feature weighting is calculated. is outputs the different weights the network assigns to each feature after iterative updates. e TSDPANet composite model established in this work is divided into three parts according to their functions: feature extraction module, feature attention module, and time series prediction module. e structure of TSDPANet is demonstrated in Figure 2.
is work proposes a fast feature extraction module for converting 2D feature photos to 3D features. e study integrated a huge number of input variables into the model, and the same type of indicators were placed next to each other once the data was processed. is lays the groundwork for extracting common features from nearby features using convolutional layers. e modified Inception feature extraction module will be used in this paper to be inserted between the input layer and the attention layer. is can Figure 1: LSTM unit.
achieve independent extraction of correlated features in two different directions of input variables and time series. e Inception V1 module further extracts the information contained in the local location by computing between adjacent pixels in the data. Unlike image information, timeseries data are only correlated at the same time or on the same metric. erefore, ordinary matrices cannot extract the features of adjacent positions very well. Even add invalid information to the original information due to the participation of irrelevant information, thereby reducing the prediction accuracy. is module expands two-dimensional information into three-dimensional. Different from onedimensional convolution, the two-dimensional convolution module will only properly blur the original feature matrix, but it will not regenerate the content of the feature direction like the former. erefore, adding this feature extraction mechanism before the feature attention module will not cause the latter to fail in the feature direction.
e Inception structure must be modified in this work due to the mismatch between time series data and image samples. e optimized Inception's particular structure is shown in Figure 3, which ensures that the original information is not destroyed and allows for the efficient extraction of information between each index variable.
Initially, the attention mechanism assigns various weights to each layer based on the channel direction of different feature images created by convolution. By giving greater weights to feature layers that contain more effective information, SENET achieves efficient feature extraction and better classification accuracy. e CBAM module not only inherits the attention advantage of SENET model channel direction but also establishes the attention mechanism of feature map direction. e feature attention mechanism in this paper adopts the channel attention module of the CBAM module, which consists of two encoder-decoder structures. e feature map is subjected to global max pooling and global average pooling, respectively, to obtain two different weight vectors whose length is the number of channels. en, the multilayer perceptron is used to reduce and increase the dimension at a specific ratio, and activate the sigmoid function to jointly realize the nonlinear change of the weight. e two vectors are linearly added and multiplied by the original three-dimensional feature map, and the final output is a feature map that is added to the index by the attention weight. It first employs the Permute layer to transpose the information from the feature extraction module and exchange the feature dimension with the channel dimension. en, on the spatial plane where the time and convolution layers are located, global max pooling and average pooling are conducted, and two vectors are created based on the order of the indicators. After sorting the Reshape layer into a one-dimensional vector, it is passed to the FC layer for dimensionality reduction, and the next FC layer is used to raise the dimension to the vector with the original number of dimensions. e obtained weight vector is dot-multiplied with the original feature map, and the Permute layer is used to exchange the dimension of the feature and the dimension of the channel back to the original position. It should be noted that the two vectors need to share weights when going through the FC layer for nonlinear transformation to ensure weight consistency.
is work selects BiLSTM to insert the composite model as the last module.
is module receives the attentionweighted feature map, calculates it, and passes it to the fully connected layer for processing and outputs the final predicted value. e specific structure of the time series prediction module is demonstrated in Figure 4. e number of neurons in the two Bi-LSTM layers is 64, which are used to receive feature information, and calculate the time series in both positive and negative directions to achieve the purpose of analyzing time series in a similar context. e dropout layer randomly removes each neuron of BiLSTM with a certain probability, so that every neuron in the BiLSTM layer can participate in the calculation and reduce the risk of overfitting. e Flatten layer reduces the BiLSTM layer's output to one dimension for use in the computation of future fully connected layers. e Flatten layer is utilized instead of the BiLSTM outputting only the last layer since this paper argues that the fully linked layer should have more options. e important information of each time point is obtained by iterative update, and the prediction accuracy is improved. e last two FC layers further extract the output information of the time series to obtain the optimal solution.

Experiment on TSDPANet Training.
is work first analyzes the training process of TSDPANet, this process is significant and necessary. And, the analysis target is the training loss. Its change process is demonstrated in Figure 5.
When the training epoch increases, the training loss of TSDPANet also decreases gradually. When the training level reaches around 120 epochs, the value of this parameter no longer changes significantly. is shows that TSDPANet has reached convergence at this time.  Table 1.
Compared with other time series data prediction methods, TSDPANet achieves the lowest RMSE and MAE.
is verifies the feasibility and superiority of applying TSDPANet to time series data prediction and also verifies the correctness of the method design in this paper.

Experiment on Feature Extraction Module.
TSDPANet utilizes the improved Inception module as the feature extraction module. To verify the superiority of this improvement, this work compares the performance when using the traditional Inception module and the improved Inception module. e data obtained from the experiments are compared in Figure 6.
TSDPANet can accomplish a certain degree of drop in both RMSE and MAE indicators after employing the upgraded Inception module compared to the standard Inception module.
is comparative data verifies the correctness of the improvements to the Inception module.

Experiment on CBAM.
TSDPANet utilizes the CBAM module as the attention module. To verify the superiority of CBAM, this work compares the performance when using CBAM and not using CBAM. e data obtained from the experiments are compared in Figure 7.
Compared with not using the CBAM module, after using the CBAM module, TSDPANet can achieve a certain degree of decline in both RMSE and MAE indicators. is comparative data verifies the correctness of using the CBAM module.

Experiment on Time Series Prediction Module.
TSDPANet mainly uses BiLSTM as the processing module of time series data features. To verify the superiority of BiLSTM for time series data prediction, this work compares the performance of TSDPANet when using LSTM and BiLSTM. e data obtained from the experiments are listed in Table 2.
TSDPANet can achieve a certain degree of reduction in both RMSE and MAE indicators after employing the BiLSTM module in comparison to the standard LSTM module. is comparative data verifies the correctness of the BiLSTM module.    Figure 3: Feature extraction module.

Conclusion
We are now approaching the age of artificial intelligence, which is defined by increased connection and a greater capacity for shared understanding as a result of breakthroughs in big data and the Internet of ings. e current networked interconnectedness of physical goods and systems promises to provide a deluge of time series data. Decision-makers can direct and assist in making aggregate decisions through a thorough scientific examination of these time series data. As a result, the time series analysis issue piqued the interest of an increasing number of academics. However, most time series analysis problems necessitate custom-built features via traditional machine learning. As computational capabilities increased, deep learning found increasing success in a variety of contexts. Because deep learning can learn high-level feature representations of data's implicit information from beginning to end, it can replace laborious manual processes like feature engineering and extraction. erefore, this paper will use deep learning methods to scientifically analyze time series data. is paper uses big data technology to collect corresponding time series data and then uses deep learning to study the problem of time series data prediction. is work proposes a time series data prediction analysis network. To begin, this work improves on the classic Inception module and presents a feature extraction module appropriate for 2D time series data. In 2D convolution, this solves the inefficiency of time series. Second, the notion of the feature attention method for time series features is proposed in this study. e model focuses the neural network's data on the effectiveness of several measures. e feature attention module is used to assign different weights to different features according to their importance, which can effectively enhance and weaken the features. ird, this work conducts multi-faceted experiments on the proposed method.
Data Availability e datasets used during the current study are available from the author on reasonable request.   Mobile Information Systems 7