Prediction of Short-Term Stock Price Trend Based on Multiview RBF Neural Network

Stock price prediction is important in both financial and commercial domains, and using neural networks to forecast stock prices has been a topic of ongoing research and development. Traditional prediction models are often based on a single type of data and do not account for the interplay of many variables. This study covers a radial basis neural network modeling technique with multiview collaborative learning capabilities for incorporating the impacts of numerous elements into the prediction model. This research offers a multiview RBF neural network prediction model based on the classic RBF network by integrating a collaborative learning item with multiview learning capabilities (MV-RBF). MV-RBF can make full use of both the internal information provided by the correlation between each view and the distinct characteristics of each view to form independent sample information. By using two separate stock qualities as input feature information for trials, this study proves the viability of the multiview RBF neural network prediction model on a real data set.


Introduction
Predicting the fluctuation trend of stock prices plays an extremely important role in asset pricing, investment decision-making, risk management, and market supervision.
rough the study of the autocorrelation function, power spectral density, and fluctuation range of stock prices, it is found that there are hidden long-term price linear trends and low-frequency periodic fluctuations in stock prices. is theoretically proves that stock prices that exhibit randomness and unpredictability at the micro level have overall certainty and predictability at the macro level [1]. erefore, the prediction of stock price trends through machine learning and other methods has become an important topic nowadays.
e BP neural network is the most extensively used model for stock price prediction. White et al. were the first to use the BP neural network to forecast stock prices [2], and numerous improved approaches based on the BP neural network followed [3]. e BP neural network, on the other hand, is readily stuck in local minimums, causing the model's prediction impact to deteriorate. By improving the SVM algorithm, Huang and Chen overcome to a certain extent the problem that the SVM algorithm can only obtain specific prediction values but cannot predict the trend of stock changes [4]. In addition, the choice of the kernel function of the SVM algorithm will also have a direct impact on the prediction accuracy. e LSTM algorithm can handle time series data problems well, but it may fall into a local optimal solution, and it has problems such as lag in prediction [5]. In addition to resolving the LSTM model's weaknesses, LSTM is frequently merged with other models to produce a hybrid model in order to increase LSTM's prediction performance [6].
All of the aforementioned model experiments are based on a single data viewpoint (view) [7]. Changes in stock prices, on the other hand, are influenced by a range of circumstances, which will eventually be represented in the stock's different characteristic data, such as the starting price, highest price, closing price, ups and downs, and trading volume. When compared to using single attribute stock data as experimental data, combining data from multiple attributes to uncover the relationship between distinct attribute data without compromising the independence of each attribute data would certainly improve the model's generalization capabilities.
is work presents a multiview collaborative learning technique [8] to attain this aim. A function with collaborative learning capacity is introduced based on the construction of a matching model for each view, allowing it to fully utilize the related information between the view sample data sets [9]. Multiview learning seeks to train one function to represent each view and then optimize all of the functions at the same time to increase generalization performance [10].
e RBF NN is used as the activation function in the RBF neural network's hidden layer to execute a fixed nonlinear transformation. e output layer of the RBF neural network is linearly integrated in the new space, mapping the low-dimensional input space to the new high-dimensional output space [11][12][13]. e linear property of such an output unit makes RBF neural network parameter change straightforward, and there is no local minimum difficulty. RBF neural network is also a useful basis for constructing multiview collaborative learning tasks, because it has strong multidimensional nonlinear mapping skills, generalization capabilities, and parallel information processing capabilities [14,15]. e development of the field of artificial intelligence stems from the desire to give computers a way of thinking similar to human cognition. e core idea of the multiview learning method also hopes to include more effective information and explore the relevance and independence between views [16,17]. e data of various characteristics represent the effect of numerous elements on the stock in the process of forecasting the trend of stock price variations, and the influence of different attributes on the final outcome is certain to be different. As a result, we must examine the degree of effect of diverse viewpoints on the final output in the multiview learning process [18]. Such a decision-making process is similar to our human thinking and decisionmaking process, which is also the advantage of multiview collaborative learning. In the future scenario of intelligent life and the interconnection of all things, the use of a single data source for experimental analysis cannot meet actual needs. At that point, we will evaluate the substance of the present scene based on the data information produced by different data sources. e application requirements are similar to those discussed in this paper's multiview learning approach. As a result, we have cause to assume that multiview learning technology, which incorporates many data sources, will be an area of neural network research that cannot be overlooked in the future.
In this paper's experimental effort, we start with the question, "How can we enhance the accuracy of stock price prediction using existing approaches even more?" By reading the relevant literature in recent years, we have focused on the multiview direction, because the multiview thinking is a more feasible method in both cognition and theory. Next, our focus is to find multiple perspectives on stock data. We discovered that stock data is made up of several different types of information, including the highest price, lowest price, opening price, and closing price. More complicated data gathering demonstrates that multiview approaches may be used to analyze stock data. Another problem we encountered is what kind of algorithm can be used to capture the connection between different perspective data at the same time without destroying the independence of a single perspective data. After continuous attempts and improvements, we construct an objective function with collaborative learning ability. Simultaneously, the Lagrangian multiplier is applied to simplify the functional formula, which is then turned into a quadratic programming issue according to Lagrangian optimization theory. Finally, we tested the method's viability using numerous data sets in experiments. e rest of this paper is laid out as follows. e radial basis neural network and the stock data processing approach are introduced in Section 2. Section 3 offers our multiview RBF classification model and builds a multiview learning framework. e experimental results are presented in Section 4. e conclusion is reached in Section 5.

Related Work
In this part, we will go through stock data processing procedures including shifting windows, data normalization, and other stages. e radial basis function neural network (RBF NN) is then introduced, along with related improvement strategies, to build the theoretical and technological groundwork for the creation of multiview models.

Stock Data Processing.
e original stock data used in this paper comes from Lvjing real estate (ID 000502), which includes information on ten different attributes such as transaction date, opening price, closing price, highest price, lowest price, yesterday's closing price, change amount, change range, trading volume, and turnover. Except for the transaction date in the original data, other stock data can be regarded as dynamic time series. For such data, a time series analysis method is usually used. e method emphasizes that a region is continuously observed and calculated for a short period time to extract relevant features and analyze its change process. e moving window approach is the most often used time series analysis method. Suppose there is a time series: x � x i |x i ∈ R, i � 1, 2, . . . , L , and the last m values in the series should be predicted by the first n data in the series. e first n data predictions are used as a moving window to map the value of the future time. Specifically, suppose we use the first 20 data to predict the 21st data for the first time, then, next, we add the 21st data from the previous prediction to the moving window, and delete the first data in the moving window. As a result, there are 20 new pieces of data in the window to anticipate the next data, and so on. To utilize the moving window approach, remove and add continually. When the window size is 20 [19][20][21], Figure 1 depicts a schematic representation of processing portion of stock data using the moving window approach.
Furthermore, data normalization is particularly crucial in data processing and subsequent studies, because different stock data is used as input for various perspectives. Take closing price and transaction volume as an example. When these two types of data are input as feature values, the value range is quite different.
It is necessary to avoid excessively large transaction volume from having too much influence on the forecast result, so the data needs to be normalized. erefore, data normalization can control the range of the data within a reasonable range [22]. Figure 2 depicts the standard RBF NN model. e RBF NN is a single-hidden-layer forward network. e input layer is the first one. e concealed layer is the second layer. e number of nodes in the hidden layer is determined by the problem's requirements. e radial basis function (RBF), also known as the transformation function, of the buried layer neurons is a nonnegative linear function that is radially symmetric and attenuated to the center point. e low-dimensional pattern input data is translated into the high-dimensional space, and the input vector is changed into the high-dimensional space, so that the linearly inseparable problem in the low-dimensional space becomes linearly separable in the high-dimensional space. e third layer is the output layer, which reacts to input patterns [23].

RBF NN Model.
In the RBF NN model, the f: R d ⟶ R 1 is the nonlinear mapping, and it can be expressed mathematically as where x ∈ R d is the network's input vector, and c i ∈ R d is the center vector of the network's hidden layer nodes' RBF NN. e connection weight between the network's hidden layer and the output node is ω j . e norm is represented by ·, and here is the Euclidean norm. e RBF NN Φ(·) completes the nonlinear transformation of R d ⟶ R 1 and has the following form: where δ i is the width value. ree parameters are required in the RBF NN model presented above. e hidden layer center node c i � [c 1 i , . . . , c k i , . . . , c d i ] T , the hidden layer width value δ i , the hidden layer connection weight, and the output layer ω i .
In the RBF NN model described above, three parameters are needed; namely, the hidden layer center node Computational Intelligence and Neuroscience δ i , and the connection weight of the hidden layer and the output layer ω i .

RBF NN with Linear Model. e central node parameter
T is estimated using the clustering approach, and the RBF NN's hidden layer width parameter is δ i . e fuzzy C-means (FCM) clustering algorithm is used in this work [24], and c i � [c 1 i , . . . , c k i , . . . , c d i ] T and δ i can be estimated by the following formula: where u ji represents the fuzzy membership of the sample . , x jd ] T calculated by the FCM clustering method to the i-th category [25][26][27], and the parameter h is an adjustable scaling parameter. If the hidden layer parameters of RBF NN are computed using the aforementioned clustering approach, then there are [8] x e radial basis network's mapping function, presented in formula (1), may be written as When the hidden layer nodes of the radial basis network are computed using the clustering approach, the network's final output may be described as the output of a linear model using formula (8). In this way, the parameter learning process of the network is transformed into a parameter learning problem of a linear model. Based on this linear model, the ε-insensitive loss function is introduced to construct a multiview learning item, so that the radial basis network can meet the needs of multiview learning.

RBF NN Using ε-Insensitive Loss Function.
e RBF NN's objective function, based on the ε-insensitive loss function, is defined as By introducing slack variables ξ + i and ξ − i , using the theory and method of quadratic programming, formula (9) may be rewritten as a standard quadratic programming problem, with the following particular form: Formula (10) introduces the Lagrange multiplier term, transforming formula (9) into the quadratic programming problem of formula (11), where e optimal solution of the parameters (λ + ) * and(λ − ) * can be achieved by solving formula (10). To obtain the best solution of the generalization term P g of the RBF NN based on thee ε-insensitive loss function, use formulas (12a) and (12d).
e resultant parameters of the RBF NN based on the ε-insensitive loss function can be generated using the antecedent parameters, such as the hidden layer center node and width parameters, calculated using formulas (3) and (4), in combination with the subsequent parameters calculated using formulas (12a) and (12d).

Multiview RBF NN Model Framework
A single-view data collection is typically used to build traditional RBF neural networks. For example, previous closing prices are utilized as training data to anticipate the rise and fall of the next trading day when predicting stock price trends. However, while each trading day generates many stock attribute data, only the closing price is utilized as training data, and the impact of other attribute data on prediction outcomes cannot be accounted for in the prediction model. When the traditional RBF network is dealing with a data set composed of multiple data (multiview), a more feasible strategy is to use samples from different views to construct a corresponding network model. is strategy provides a feasible solution for applications in multiview scenarios, but the correlation between the views cannot be reflected in this strategy. is will also lead to uneven generalization capabilities of prediction models obtained from different views.
is study proposes a modeling notion as illustrated in Figure 3 to express the correlation between data from distinct viewpoints in the model's prediction process, so that the new model may learn from numerous views. In this modeling strategy, data from multiple views are learned collaboratively, instead of training in isolation of sample data from each view. Such a strategy can improve the generalization ability of the new model for data from various views and improve the applicability of the model. Figure 4 depicts the overall data input method into the multiview RBF model. e data from views A and B are entered into the RBF model corresponding to view A and view B, respectively, after preprocessing. e connection weight between the hidden layer and the output layer is defined by (P g,A ) * and (P g,B ) * calculated by the following training process in the RBF model's three-layer structure.

e Construction of Multiview Collaborative Learning Objective Function.
e RBF NN is one of the most successful modeling approaches currently available. e least square error criteria are used to implement the standard RBF neural network. is sort of training strategy is best for small sample data sets or noisy data sets, as it is easy to overfit, reducing the RBF neural network's generalization capabilities. In order to address this issue, this work develops a new objective function by including the ε-insensitive loss function and structural risk term and then converts the suggested new objective function's solution into a standard quadratic programming problem.
is successfully overcomes the overfitting problem as well as noise sensitivity flaws, while also demonstrating strong resilience.
In this section, dual views are taken as the specific research scene. Based on the traditional RBF classification model, the construction of the objective function of the multiview RBF classification model is discussed. To make full use of the independence of samples between different views and the correlation between data from different views while building a multiview RBF classification model, this study provides the following objective function formula with multiview learning capabilities. where Computational Intelligence and Neuroscience In formula (13), are the objective function terms of the RBF classification model established based on the data samples of two independent views A and B. ese two ensure that new approaches and strategies may take full use of variances in the characteristics of data samples from different perspectives, resulting in a classification model that is specific to the view's features.
e new modeling technique takes into account not only the changes in sample features between views (independent information), but also the capacity of multiview learning to discover the link between views, i.e., the consistency of each view's decision output. is study creates formula (13c) with collaborative learning capacity in response to such demands. Formula (13c) can make view A and view B undertake collaborative learning. Finally, the output of the classification model corresponding to each view tends to be consistent, and the difference in the generalization performance of the classification model of each view caused by the change of perspective feature is avoided.
It should be noted that the regularization parameter τ A > 0, τ B > 0, τ S > 0 controls the complexity and degree of error of the classification model, and its value is manually set to select an appropriate value [28][29][30].

ConnectionWeights ConnectionWeights
The weights are calculated by collaborative training According to the partial derivative of the variable in equation (14) being 0, the following relationship can be derived: Substituting formula (15) to (25) into (14), and deriving formula (26) after simplification, where

Computational Intelligence and Neuroscience
H � At this point, formula (14) has been transformed into a classic quadratic programming problem as shown in formulas (26), and (26) is solved using the quadratic programming solution method in literature [8]. After completing the quadratic programming calculation, the optimized parameters (λ + (26) are obtained. Using these optimized parameters, we can derive the subsequent parameters of the optimized RBF classification model under each view as follows: Formula (26a) is the subsequent parameter of the RBF classification model corresponding to view A, and formula (26b) is the subsequent parameter of the RBF classification model corresponding to view B. As mentioned above, the cluster center and width parameters calculated by formulas (3) and (4) are used as the antecedent parameters of the multiview RBF classification model. is gives us access to all of the parameters that make up the multiview RBF classification model. Algorithm 1 depicts the multiview RBF classification model (MV-RBF) learning algorithm; please see the detailed Algorithm 1 as follows:

Experiment
In this part, we create two sets of experiments to test the performance of the multiview RBF classification model in stock trend prediction and compare and contrast the multiview RBF classification model to other algorithm models. To prove MV practicality, RBF's first set of trials compares it to the classic RBF classification model. e second set of trials compares MV-RBF against a well-used classification technique.

Setup.
To verify the feasibility of the multiview RBF classification model (MV-RBF) proposed in this paper, this section selects Lvjing real estate (ID 000502) from January 2, 2018, to December 31, 2019, for a total of 473 trading days. e various indicators constitute the original data set. We picked the two characteristics of the closing price and volume in the original data set as the two perspectives of the experiment and processed them into two data sets D 1 and D 2 using the moving window approach and data normalization described in the previous study. e data sets D 1 and D 2 have a window size of 20, which means that the input data has a dimension of 20. Part of the data in the data set for data specification is shown in Table 1. Table 1 shows part of the data in a single-view data set. Each row is used as an input, and the last column of each row represents the fluctuation of the predicted trading day and also serves as the two categories of the model classification. In addition, we changed the size of the moving window, that is, the dimension of the input data, to find a suitable window size to improve the accuracy of classification. We also chose two other features from the original data set as two perspectives, such as opening and closing prices, opening and highest prices, to see how the choice of view affected the categorization findings.
Some symbolic representations involved in the experiment are defined as follows: D 1 and D 2 represent the training data set of view 1 and view 2 in the multiview scene, respectively, and D 1 test, D 2 test are the test data sets. Since this paper is to predict the rise and fall of stock prices, we choose the accuracy that is often used in classification tasks. e accuracy rate can reflect the proportion of the correct prediction in the test sample. e manual setting parameters involved in the experiment process include regularization parameters τ A , τ B , τ S and the number of hidden layer nodes of the RBF neural network M, all of which use the parameter ranges given by cross-validation in Table 2. B. Comparison of MV-RBF and traditional RBF classification model.
We used the moving window method and data normalization to standardize the form of the data set in this section of the experiment. We selected the closing price and volume data as the experimental data sets D 1 and D 2 and used the moving window method and data normalization to standardize the form of the data set. We used a basic crossvalidation procedure, scrambled the data sets D 1 and D 2 , and ran many trials to further demonstrate the practicality of MV-RBF. Table 3 shows the outcomes of the experiment.
Six sets of experimental data are shown in Table 3. e classification impact of the multiview RBF model is higher than that of the classic RBF model, according to the experimental data. is demonstrates that when compared to the traditional single-view method, the method of constructing multiview in this paper has the ability of multiview learning, as it can more effectively utilize the independent feature space information in the data set of each view and the correlation between views. e effectiveness of the classification approach used in this study may be validated. e 6 groups of experimental results of the traditional RBF classification model on 3 data sets in Table 3 can show that the single-view sample [D 1 , D 2 ] artificially constructed by the feature expansion method can balance the difference between views to a certain extent. is shows that although there is a certain correlation between the various views, the differences between the views are also obvious. In most circumstances, the classification effect of the single-view sample [D 1 , D 2 ] based on the standard RBF model is lower than the classification effect of the classification model based on the technique of this study in any view due to this disparity.
During the experiment, we also encountered some other situations. In the fourth set of experiments in Table 3, the classification accuracy of the view D 1 dataset under the two classification models is the same. No matter how the parameters of MV-RBF are adjusted, the accuracy will not be significantly improved. In addition, in the experimental group not shown in Table 3, there are similar situations where the classification effects of the two models for the same data set are similar. With such a result, we infer that the two data sets failed to provide useful spatial feature information for each other in the process of collaborative learning, or the data sets of the two views selected in the experiment are data of two similar attributes of stocks. Even if the collaborative training process is carried out, due to the similar attributes, there is not much correlation between the two data sets, resulting in the fact that the model classification effect is not much improved.

Comparison of Multiview RBF Classification Model with
Other Commonly Used Classification Models. In the preceding part, we compared the multiview method's classification impact to that of the classic RBF classification model, demonstrating the multiview RBF classification model's efficacy. In this part, we compare the multiview approach presented in this research against other regularly used categorization methods in order to confirm its viability. For comparison, we used three frequently used classification Step 1: Set the regularization parameters τ A , τ B , τ S , as well as the RBF network's hidden layer nodes M A , M B ; Step 2: Use the FCM algorithm or other algorithm with the ability to divide the sample space to generate the data sets D A , D B corresponding to the classification model of each view sample, and the corresponding cluster centers c ik,A , c ik,B and width parameters δ k i,A δ k i,B ; Step 3: Solve with formula (14) to get the Lagrange multiplier (λ + Step 4: According to the solution of dual problem formula (14) obtained in Step 3, use formulas (25a) and (25b) to find (P g,A ) * , (P g,B ) * ; Step 5: According to the parameters of each view obtained in Step 4, an RBF classification model that meets the characteristics of each view can be generated; ALGORITHM 1: MV-RBF algorithm.  Table 4. e experimental findings in Table 4 show that the multiview RBF classification model presented in this research can be used for stock prediction analysis in the vast majority of situations. Except for individual studies, the MV-RBF model has a somewhat greater classification impact than other regularly used classification models.
is also demonstrates that, during model training, the RBF classification approach with multiview learning capability can generate the classification model for each view by fully using the independent component and relevance component of the multiview data set. Whether we look at these trained models from an independent single point of view or the correlation between several points of view, the results suggest that the strategy in this research is feasible and successful. As a result, the classification model created using the approach described in this study may forecast stock price trends and can improve the classification impact of the single-view classification model.

Experimental Result of MV-RBF Classification Model on
Other Data Sets. To further validate the efficiency of the strategy in this research, we picked stock data from different industries and sectors and processed them into acceptable data sets for experimentation. Table 5 shows the experimental findings of the SAIC Motor stock data set with the stock code 600104, while Table 5 shows the experimental results of the GREE Electric stock data set with the stock code ID 000651. e aforementioned experimental findings on various data sets demonstrate that the MV-RBF classification model performs better than the classic RBF classification model, demonstrating the efficacy of the strategy presented in this study.

Parameter Sensitivity Analysis and Cross-Validation to
Determine the Approximate Range of Parameters. We employed the approach of controlled variables to examine the sensitivity of several parameters in the MV-RBF model in this section of the experiment. e number of nodes M in the RBF NN's hidden layer, and the regularization parameters τ A , τ B , τ S in the multiview learning ability formula, are among these parameters. Compare the impact of adjusting these parameter values on the categorization model. Table 6 illustrates the results of experiments with various numbers of hidden layer nodes.
According to the experimental results in Table 6 and Figure 5, changing the number of hidden nodes in the RBF neural network had no significant effect on the experimental results, but it can be seen that the experimental data is roughly within a certain range after multiple sets of repeated experiments.
is is because the RBF neural network's hidden layer employs the FCM clustering algorithm, which redivides the cluster centers with each trial; that is, it recalculates the relevant membership degree u ji and the width parameter h (refer to Section 2). In addition, the regularization parameters τ A , τ B , τ S in the multiperspective learning ability formula are also carried out in related experiments, and the experimental results are similar to Table 6. We find that the multiview RBF neural network classification model is less susceptible to parameters but has a specific active interval, thanks to the RBF neural network's hidden layer clustering mechanism.
ere is currently no correct theoretical analysis or methodology for determining the ideal value of the insensitive parameter ε; however, this type of parameter is analogous to the insensitive parameter ε in the support vector regression (SVR) approach. e optimal value of this parameter and the variance of the noise in the data have an approximately proportional relationship, meaning that the greater the noise, the larger the value of this parameter usually required to obtain a good training effect, according to a theoretical study of this parameter in SVR.  e artificially set parameters τ A , τ B , τ S involved in the experiment process control the complexity and degree of error of the classification model. e experimental results of finding the approximate range of the regularization parameters τ A , τ B , τ S are shown in Table 7.

Complexity Analysis.
e temporal complexity of the MV-RBF classification method is mostly made up of two parts, as illustrated in Algorithm 1: the learning of the antecedent parameters (corresponding to Step 2) and the learning of the subsequent parameters (corresponding to Steps 3 and 4). In multiview learning, the antecedent parameters of the classification model corresponding to each view of the MV-RBF algorithm are obtained by the FCM clustering algorithm, and its time complexity is O (MTN), where M is the number of views, T is the number of iterations in the algorithm, and N is the number of samples. e difficulty of determining the extreme value of quadratic programming is the key to learning the subsequent parameters of each MV-RBF view. e time complexity is O (N 3 ). By using decomposition methods such as SMO to deal with secondary planning problems, it is possible to lower the time complexity to O (N 2 ). erefore, in multiview learning, the time complexity of MV-RBF subsequent parameter learning is between O (MN 2 )∼O (MN 3 ). e traditional RBF classification model used in this paper has a time complexity of only O (TN) + O (N 2 ), so the multiview MV-RBF algorithm is inferior to the traditional single-view RBF classification model in terms of time performance. e main reason is that the MV-RBF modeling strategy introduces a multiview collaborative learning method, while the traditional single-view RBF classification model does not have multiview   learning capabilities, so the MV-RBF classification model is more time-consuming. However, the generalization performance of MV-RBF has a certain improvement compared with the traditional classification model.

Conclusion
is study builds on the standard single-view RBF classification model by including the concept of multiview collaborative learning and establishing a new multiview RBF classification model based on the independence and relevance information between the views. is approach successfully uses the independence component in the multiview data set as well as the correlation component between the views to improve the classification model's accuracy under each view. e efficiency and practicality of the strategy in this research are demonstrated by a simulated experiment on a stock data set. However, owing to the complexity of the multiview methodology, this paper's study only covers the particular modeling approach of MV-RBF from a dual-view perspective. In the future, we will focus on developing a more compact and appropriate multiview categorization model. Simultaneously, the use of other traditional classification techniques in multiview scenarios will be examined.

Data Availability
e datasets used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
All the authors do not have any conflicts of interest.

12
Computational Intelligence and Neuroscience