Deposit cost data prediction method and device, equipment, medium and product

By analyzing the historical data of time and demand deposit products, combined with genetic programming algorithm and rolling window processing, the deposit cost data is predicted, which solves the problem of low prediction accuracy in the existing technology and realizes the consideration of new and existing deposits. , improving the prediction accuracy.

CN118537041APending Publication Date: 2024-08-23BANK OF COMMUNICATIONS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410528931.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When the existing technology predicts future deposit cost data of financial institutions, it can only predict existing deposits, resulting in low prediction accuracy and failure to consider the impact of new deposits.

Method used

By analyzing the historical total billing data of time deposit products and the historical balance data of current deposit products, combined with genetic programming algorithm and rolling window processing, optimal factors are generated to input into the prediction model to predict the total billing amount and current deposit products of time deposit products. The balance of the deposit product to determine daily deposit cost data.

Benefits of technology

It improves the forecast accuracy of deposit cost data, can take into account changes in new deposits and existing deposits, and provides more reliable decision support and risk management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537041A
    Figure CN118537041A
Patent Text Reader

Abstract

The invention provides a deposit cost data prediction method and device, equipment, a medium and a product, and relates to the technical field of data processing. The method comprises: for a prediction period, based on first time series data corresponding to each periodic deposit product in a plurality of periodic deposit products, determining daily predicted billing total amount data of each periodic deposit product in the prediction period; respectively determining daily predicted outflow total amount data of each regular deposit product in the prediction period; on the basis of the second time sequence data corresponding to each of the plurality of live deposit products, determining daily predicted balance data of each live deposit product in the prediction period; and determining daily predicted deposit cost data in the prediction period based on the daily predicted balance data of each live deposit product in the prediction period, the daily predicted billing total amount data of each regular deposit product in the prediction period and the daily predicted outflow total amount data of each regular deposit product in the prediction period. The prediction accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment, medium and product for predicting deposit cost data. Background Art

[0002] Deposit cost data refers to the necessary expenses incurred by financial institutions to absorb deposits. In the related art, when predicting the daily deposit cost data of financial institutions in the future, the prediction is generally based on the existing deposits, which refer to the deposits that have been processed before this period. However, customers may process new deposits during this period, so the prediction method of the related art can only achieve partial prediction, resulting in low prediction accuracy. Summary of the invention

[0003] The embodiments of the present application provide a deposit cost data prediction method, device, equipment, medium and product to improve prediction accuracy.

[0004] In a first aspect, an embodiment of the present application provides a method for predicting deposit cost data, comprising:

[0005] For the forecast period, based on the first time series data corresponding to each of the multiple time deposit products, the forecasted total order amount data of each of the multiple time deposit products during the forecast period are determined respectively; the first time series data includes the historical total order amount data corresponding to the multiple consecutive days before the forecast period for the time deposit product;

[0006] Determine the forecast total outflow data of each time deposit product during the forecast period on a daily basis;

[0007] Based on the second time series data corresponding to each of the multiple demand deposit products, respectively determine the daily forecast balance data of each of the demand deposit products within the forecast period; the second time series data includes the historical balance data corresponding to multiple consecutive days of the demand deposit product before the forecast period;

[0008] Based on the daily predicted balance data of each of the current deposit products during the forecast period, the daily predicted total billing data of each of the time deposit products during the forecast period, and the daily predicted total outflow data of each of the time deposit products during the forecast period, the daily predicted deposit cost data during the forecast period is determined.

[0009] In a possible implementation, the step of determining the predicted total billing amount data of each time deposit product during the forecast period on a daily basis based on the first time series data corresponding to each time deposit product among the plurality of time deposit products includes:

[0010] For each term deposit product, perform the following operations respectively:

[0011] Performing rolling window processing on the first time series data corresponding to the time deposit product to obtain a plurality of first basic factors; the plurality of first basic factors include index data corresponding to a plurality of windows of different lengths, respectively, and the index data includes at least one of a rolling mean, a rolling standard deviation, and a rolling skewness;

[0012] Based on a preset genetic programming algorithm and the plurality of first basic factors, a plurality of first optimal factors are generated; the number of the first optimal factors is less than the number of the first basic factors;

[0013] The first time series data, the multiple first basic factors and the multiple first optimal factors are input into a regular new deposit prediction model corresponding to the time deposit product, and the regular new deposit prediction model is used to determine the predicted total order amount data of the time deposit product every day during the prediction period.

[0014] In a possible implementation manner, generating a plurality of first optimal factors based on a preset genetic programming algorithm and the plurality of first basic factors includes:

[0015] Based on the preset genetic programming algorithm, the following operations are performed respectively:

[0016] Determining the fitness of each of the first basic factors respectively;

[0017] Selecting a first basic factor whose fitness meets the condition from the plurality of first basic factors;

[0018] Taking the minimum mean square error as a constraint condition and the selected first basic factor as the parent individual, iterative processing is performed based on multiple functions in the preset genetic programming algorithm to obtain multiple first optimal factors.

[0019] In a possible implementation, for each of the time deposit products, determining the predicted total outflow data of the time deposit product on a daily basis during the forecast period includes:

[0020] For the i-th day in the forecast period, perform the following operations:

[0021] Determine a plurality of certificates of deposit that belong to the time deposit product and have not yet expired, wherein the plurality of certificates of deposit include historical certificates of deposit and newly added certificates of deposit; the historical certificates of deposit are certificates of deposit generated before the i-th day, and the newly added certificates of deposit are certificates of deposit that may be generated on the i-th day;

[0022] For each of the certificates of deposit, the number of days from the deposit time of the certificate of deposit to the i-th day is substituted into the redemption probability distribution function to obtain the redemption probability of the certificate of deposit on the i-th day;

[0023] For each of the certificates of deposit, the product of the redemption probability of the certificate of deposit on the i-th day and the opening amount data of the certificate of deposit is determined as the predicted outflow amount data of the certificate of deposit;

[0024] Determine the sum of the predicted outflow amount data of the plurality of deposit certificates as the predicted total outflow amount data of the time deposit product on the i-th day;

[0025] Wherein, i is a positive integer greater than 0 and less than M, and M is the total number of days included in the forecast period.

[0026] In a possible implementation, the determining, based on the second time series data corresponding to each of the multiple demand deposit products, respectively the daily predicted balance data of each demand deposit product within the prediction period includes:

[0027] For each demand deposit product, perform the following operations respectively:

[0028] Performing sliding window processing on the second time series data corresponding to the demand deposit product to obtain a plurality of second basic factors; the plurality of second basic factors include index data corresponding to a plurality of windows of different lengths, respectively, and the index data include at least one of a rolling mean, a rolling standard deviation, and a rolling skewness;

[0029] Based on a preset genetic programming algorithm and the plurality of second basic factors, a plurality of second optimal factors are generated; the number of the second optimal factors is less than the number of the second basic factors;

[0030] The second time series data, the second basic factor and the second optimal factor are input into a demand deposit prediction model corresponding to the demand deposit product, and the demand deposit prediction model is used to determine the daily predicted balance data of the demand deposit product during the prediction period.

[0031] In a possible implementation manner, before determining the daily forecasted order total amount data of each time deposit product in the forecast period based on the first time series data corresponding to each time deposit product among the plurality of time deposit products, the method further includes:

[0032] Obtain first time series data corresponding to a plurality of time deposit products respectively;

[0033] For each term deposit product, perform the following operations respectively:

[0034] Performing abnormal point identification on the first time series data corresponding to the time deposit product to obtain a plurality of abnormal points; the abnormal points are the historical order total amount data corresponding to the abnormal day among the plurality of consecutive days;

[0035] For each of the abnormal days in the multiple consecutive days, the historical order total data corresponding to the abnormal day is removed, and the average of the historical order total data on the day before the abnormal day and the historical order total data on the day after the abnormal day is determined as the updated historical order total data for the abnormal day;

[0036] Among them, abnormal days exist periodically and are quarterly; they also include:

[0037] In the case where there is a possibility of an abnormal day in the forecast period, the forecast abnormal day is determined; the average value of the historical total billing amount data corresponding to the first abnormal day one quarter away from the forecast abnormal day, the second abnormal day two quarters away from the forecast abnormal day, the third abnormal day three quarters away from the forecast abnormal day, and the fourth abnormal day four quarters away from the forecast abnormal day are determined as the abnormal total billing amount data of the forecast abnormal day;

[0038] Accordingly, the method of determining the predicted total order amount data of each time deposit product in the forecast period on a daily basis based on the first time series data corresponding to each time deposit product in the plurality of time deposit products includes:

[0039] For each of the time deposit products, based on the first time series data corresponding to each of the time deposit products, determine the predicted total order amount data of each of the time deposit products on a daily basis within the prediction period;

[0040] For the predicted abnormal day in the forecast period, the predicted billing total amount data of the predicted abnormal day is replaced by the abnormal billing total amount data to obtain updated predicted billing total amount data.

[0041] In a second aspect, an embodiment of the present application provides a device for predicting deposit cost data, including:

[0042] A first determination module is used to determine, for a forecast period, forecasted total billing amount data of each of the plurality of time deposit products on a daily basis within the forecast period based on first time series data corresponding to each of the plurality of time deposit products; the first time series data includes historical total billing amount data corresponding to a plurality of consecutive days before the forecast period for the time deposit product;

[0043] A second determination module is used to respectively determine the daily predicted total outflow data of each of the time deposit products within the prediction period;

[0044] A third determination module is used to determine the daily predicted balance data of each demand deposit product in the forecast period based on the second time series data corresponding to each demand deposit product among the multiple demand deposit products; the second time series data includes the historical balance data corresponding to multiple consecutive days before the forecast period of the demand deposit product;

[0045] The fourth determination module is used to determine the daily predicted deposit cost data during the forecast period based on the daily predicted balance data of each of the current deposit products during the forecast period, the daily predicted total billing data of each of the time deposit products during the forecast period, and the daily predicted total outflow data of each of the time deposit products during the forecast period.

[0046] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory communicatively connected to the processor;

[0047] The memory stores computer-executable instructions;

[0048] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0049] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0050] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0051] The deposit cost data prediction method, device, equipment, medium and product provided in the embodiments of the present application determine, for possible new deposits, the predicted total billing amount data of the time deposit product during the prediction period based on the historical billing amount data corresponding to multiple consecutive days before the prediction period for the time deposit product; determine the predicted total outflow amount data of the time deposit product during the prediction period for the existing time deposits; and determine the predicted balance data of the demand deposit product during the prediction period based on the historical balance data corresponding to multiple consecutive days before the prediction period for the demand deposit product. The predictions are made from multiple dimensions, and based on this, the predicted deposit cost data for each day during the prediction period can be determined, thereby improving the prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0053] Figure 1 A flowchart of a deposit cost data prediction method provided for this application;

[0054] Figure 2 A flowchart of another method for predicting deposit cost data provided for this application;

[0055] Figure 3 A schematic diagram of the iterative process of a preset genetic programming algorithm provided in this application;

[0056] Figure 4 A schematic diagram of a GRU network provided for this application;

[0057] Figure 5 A flowchart of another method for predicting deposit cost data provided in this application;

[0058] Figure 6 A schematic diagram of the structure of a deposit cost data prediction device provided in this application;

[0059] Figure 7 A schematic diagram of the structure of an electronic device provided in this application.

[0060] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0061] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0062] The terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the following embodiments, "multiple" means more than two, unless otherwise clearly and specifically defined.

[0063] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0064] In addition, this application involves conducting big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and using artificial intelligence technology to make automated decisions, and making technical solutions that have a significant impact on personal rights and interests based on the results of automated decisions. The application provides users with corresponding operation entrances for them to choose to agree or reject the results of automated decisions; if the user chooses to reject, the expert decision-making process will be entered.

[0065] Some terms involved in this application are explained below.

[0066] Genetic programming algorithm: An optimization algorithm that simulates the evolutionary process in nature to find the optimal solution. The basic idea of ​​this algorithm is to represent the solution to the problem to be optimized as an individual, and then use genetic operators (such as selection, crossover and mutation) to evolve these individuals, and finally obtain an individual with the highest fitness as the optimal solution. Genetic programming algorithms usually include the following steps:

[0067] 1. Initialize the population: Randomly generate a certain number of individuals as the initial population.

[0068] 2. Determine fitness: Calculate the fitness of each individual, that is, the quality of the solution.

[0069] 3. Selection operation: select some individuals as parents according to their fitness values.

[0070] 4. Crossover operation: Randomly select two parents for crossover operation to generate new individuals.

[0071] 5. Mutation operation: Perform mutation operation on the generated new individuals to introduce randomness to increase diversity.

[0072] 6. Update the population: According to the fitness value, keep the individuals with higher fitness and replace the individuals with lower fitness.

[0073] 7. Termination condition: Repeat the above steps until the stopping condition is met, such as reaching the maximum number of iterations or finding a satisfactory solution.

[0074] GRU (Gated Recurrent Unit): A variant of a recurrent neural network (RNN) that is used to solve the problem of long-term dependencies in RNN. It makes some simplifications based on the LSTM (Long Short-Term Memory) network, removes some of the gating mechanisms, and is easier to train and calculate. The two gating units in GRU are called update gates and reset gates. The update gate controls the update of the cell state, while the reset gate controls the forgetting of past states. This design allows GRU to capture long-term dependencies more effectively when processing longer sequences. Compared with traditional RNNs, GRU is easier to avoid the problem of gradient vanishing or exploding during training, and has better performance in capturing long-term dependencies. Therefore, GRU has been widely used in many sequence modeling tasks.

[0075] As mentioned in the background technology, deposit cost data refers to the necessary expenses incurred by financial institutions to absorb deposits. In the related art, when predicting the daily deposit cost data of financial institutions in the future, the prediction is generally made for the existing deposits, which refer to the deposits that have been processed before this period. However, customers may process new deposits during this period, so the prediction method of the related art can only achieve partial prediction, resulting in low prediction accuracy.

[0076] In view of the technical problems existing in the related art, the inventors of the present application have found in their research that it is possible to predict the existing deposits and new deposits respectively, so as to obtain relatively accurate deposit cost data. Specifically, for possible new deposits, the predicted total billing data of the time deposit product during the forecast period is determined based on the historical total billing data corresponding to the multiple consecutive days before the forecast period. For the existing time deposits, the predicted total outflow data of the time deposit product during the forecast period is determined. For the demand deposits, the predicted balance data of the demand deposit product during the forecast period is determined based on the historical balance data corresponding to the multiple consecutive days before the forecast period. The predictions are made from multiple dimensions. Based on this, the predicted deposit cost data of each day during the forecast period can be determined, which improves the accuracy of the prediction.

[0077] The execution subject of the prediction method of deposit cost data provided in the present application is a prediction device for deposit cost data, and the prediction device for deposit cost data is integrated in an electronic device. Exemplarily, the electronic device is provided as a terminal or a server. The terminal is a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. In the following embodiments, the electronic device is provided as a server as an example for explanation.

[0078] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0079] Figure 1 A flowchart of a deposit cost data prediction method provided for this application is shown in FIG. Figure 1 As shown, the method includes steps S101 to S104.

[0080] S101. For a forecast period, based on the first time series data corresponding to each of the multiple time deposit products, determine the forecasted total order amount data of each time deposit product on each day during the forecast period; the first time series data includes the historical total order amount data corresponding to the time deposit product for multiple consecutive days before the forecast period.

[0081] The forecast period is the time period for the deposit cost data to be forecasted, which includes multiple consecutive days in the future that have not yet occurred. The start and end dates of the forecast period can be set according to actual needs, for example, the forecast period is from January 1 to January 31, March 1 to March 31, etc.

[0082] In actual applications, if a financial institution has a need to predict deposit cost data, the staff of the financial institution can trigger a prediction instruction through the terminal device used by the financial institution, so that the terminal device sends a prediction request to the server, so that the server responds to the prediction request, executes the prediction method of deposit cost data provided by this application, predicts the predicted deposit cost data for each day in the prediction period, and then sends the predicted deposit cost data for each day in the prediction period to the terminal device, so that the terminal device displays the predicted deposit cost data for each day in the prediction period for the staff to view. Among them, the staff can set the start and end time of the prediction period through the terminal device, and then trigger the prediction instruction, so that the prediction request sent by the terminal device carries the start and end time of the prediction period.

[0083] In response to the prediction request, the server obtains the first time series data corresponding to each of the multiple time deposit products, and obtains the second time series data corresponding to each of the multiple demand deposit products, thereby executing step S101, step S102 and step S103 respectively. Exemplarily, the server obtains the daily historical order total data of each time deposit product in the historical time period and the daily historical balance data of each demand deposit product in the historical time period from the database, and for each time deposit product, forms a time series with the daily historical order total data of the time deposit product in the historical time period to obtain the first time series data, and for each demand deposit product, forms a time series with the daily historical balance data of the demand deposit product in the historical time period to obtain the second time series data. In which, the historical time period is a time period before the prediction period, the time period includes multiple consecutive days, and the historical time period is continuous with the prediction period, for example, the end date of the historical time period is December 31, and the start date of the prediction period is January 1. The span of the historical time period can be set according to actual needs, such as half a year, 1 year, etc.

[0084] Financial institutions provide multiple time deposit products and multiple demand deposit products. Customers can apply for the required deposit products according to their own needs. Financial institutions record each transaction data. The transaction data can be a deposit transaction or a withdrawal transaction. The transaction data of a deposit transaction includes depositor information, deposit account, deposit date, deposit amount, deposit type, time deposit term and interest rate, etc. The transaction data of a withdrawal transaction includes withdrawer information, withdrawal account, withdrawal time, withdrawal amount, etc. The depositor information includes the name and ID number of the depositor, and the deposit type includes time deposit or demand deposit. Correspondingly, the server of the financial institution determines the total amount of bills issued for each time deposit product on each day and the balance data of each demand deposit product on each day based on the recorded transaction data, and stores the determined data in the database for subsequent use. Among them, the total amount of bills issued is the total amount of deposits deposited.

[0085] Step S101 is to predict the total amount of orders opened each day during the forecast period for each time deposit product, that is, to predict how much new deposits each time deposit product may have in the future.

[0086] S102. Determine the predicted total outflow data for each time deposit product during the forecast period on a daily basis.

[0087] In actual application, taking any fixed deposit product as an example, if a customer applies for the fixed deposit product, he or she can withdraw all the deposits on the deposit certificate when the fixed deposit term on the deposit certificate is reached. In addition, most fixed deposit products also support early withdrawal of part of the deposit, so the fixed deposit product has two situations: withdrawal at maturity and early withdrawal.

[0088] In the case of early withdrawal, the deposit on the deposit certificate has the possibility of being withdrawn every day before maturity. Accordingly, for the time deposit product, this embodiment predicts the predicted outflow amount data of multiple deposit certificates belonging to the time deposit product and not yet matured on this day for each day in the forecast period, and determines the sum of the predicted outflow amount data of these multiple deposit certificates on this day as the predicted total outflow data of the time deposit product on this day. It should be noted that for each day in the forecast period, the deposit certificates belonging to the time deposit product and not yet matured include both the historical deposit certificates generated before this day and the newly added deposit certificates that may be generated on this day, and the deposits on the historical deposit certificates and the newly added deposit certificates may be withdrawn and have the possibility of outflow. Accordingly, the predicted total outflow data of the time deposit product predicted in this embodiment every day in the forecast period includes both the possible outflow amount data of the historical deposit certificates and the possible outflow amount data of the newly added deposit certificates.

[0089] For the withdrawal upon maturity, taking any deposit certificate as an example, the deposit on the deposit certificate has the possibility of being withdrawn every day before maturity, so when the term deposit term on the deposit certificate is reached, the balance on the deposit certificate can be withdrawn in full. Accordingly, for the term deposit product, this embodiment also predicts the predicted maturity amount data of each deposit certificate belonging to the term deposit product and expiring on this day for each day within the prediction period, and determines the sum of the predicted maturity amount data of each deposit certificate as the predicted maturity total amount data of the term deposit product on this day.

[0090] S103. Based on the second time series data corresponding to each demand deposit product among the multiple demand deposit products, determine the daily predicted balance data of each demand deposit product within the prediction period; the second time series data includes the historical balance data corresponding to the demand deposit product for multiple consecutive days before the prediction period.

[0091] The method for obtaining the second time series data is described in step S101, which will not be described in detail here. In actual applications, if a customer has applied for a demand deposit product, the deposit on the deposit certificate can be withdrawn at any time, and the deposit can be withdrawn in full or in part. It can be seen that there is a possibility of outflow of deposits every day, so this embodiment also predicts the predicted balance data of the demand deposit product every day during the prediction period.

[0092] S104. Determine the daily predicted deposit cost data during the forecast period based on the daily predicted balance data of each demand deposit product during the forecast period, the daily predicted total billing data of each time deposit product during the forecast period, and the daily predicted total outflow data of each time deposit product during the forecast period.

[0093] Exemplarily, the deposit cost data is the deposit cost rate, and the deposit cost rate is usually expressed in the form of the Weighted Average Cost of Funds (WACOF), and the average deposit cost rate = deposit interest expense / average deposit balance. For demand deposit products, the daily interest during the forecast period is the product of the predicted balance data and the product interest rate. For time deposit products, the daily interest during the forecast period is the product of the predicted balance data and the product interest rate. Accordingly, the total interest per day during the forecast period is the sum of the interest of the demand deposit product and the interest of the time deposit product, and the total balance per day during the forecast period is the sum of the predicted balance data of the demand deposit product and the predicted balance data of the time deposit product. Among them, for each day during the forecast period, the predicted balance data of the time deposit product on this day is: the sum of the predicted balance data of the previous day and the predicted total order amount data of this day minus the predicted total outflow data of this day minus the predicted total maturity data of this day.

[0094] Then the deposit cost rate on the i-th day during the forecast period is calculated by the following formula:

[0095] Points accumulated on the i-th day = the number of days from (January 1 to the i-th day of the current year);

[0096] The annual daily average of the i-th day = the average of the daily balances (from January 1 to the i-th day of the year);

[0097] The accumulated interest on the i-th day = the sum of the daily interest from January 1 to the i-th day of the year;

[0098] The deposit cost rate on the i-th day = the accumulated interest on the i-th day × 365 / the points on the i-th day / the average daily deposit balance on the i-th day.

[0099] Wherein, i is a positive integer greater than 0 and less than M, and M is the total number of days included in the forecast period.

[0100] It should be noted that the product interest rate of demand deposit products or time deposit products may change during the forecast period, and this change is difficult to predict. Therefore, when determining the deposit cost rate, it can be assumed that the product interest rate during the forecast period is the same as the product interest rate on the day before the forecast period, in order to determine the deposit cost rate.

[0101] This embodiment determines the predicted total billing amount data of the time deposit product for each day during the forecast period based on the historical billing amount data corresponding to multiple consecutive days before the forecast period for the time deposit product for possible new deposits; determines the predicted total outflow amount data of the time deposit product for each day during the forecast period for the existing time deposits; and determines the predicted balance data of the current deposit product for each day during the forecast period based on the historical balance data corresponding to multiple consecutive days before the forecast period for the current deposit product for demand deposits. Predictions are made from multiple dimensions, and based on this, the predicted deposit cost data for each day during the forecast period can be determined, thereby improving the accuracy of the prediction.

[0102] In some embodiments, Figure 2 As shown, in S101, for each time deposit product, based on the first time series data corresponding to the time deposit product, the operation of determining the daily predicted total order amount data of the time deposit product within the prediction period includes the following steps S201-S203.

[0103] S201. Perform rolling window processing on the first time series data corresponding to the time deposit product to obtain a plurality of first basic factors; the plurality of first basic factors include indicator data corresponding to windows of a plurality of different lengths, and the indicator data include at least one of a rolling mean, a rolling standard deviation, and a rolling skewness.

[0104] Among them, rolling window processing refers to dividing the time series into several windows according to a fixed window size, such as a certain time length (such as day, week, month, etc.), taking one window for analysis each time, and then moving the window forward by a certain step length, and then analyzing it again, and repeating this process until the entire time series is analyzed. The length of the window and the step length of each movement can be set according to actual needs. Exemplarily, the step length is 1 day, and the length of the window is 7 days, 30 days or 90 days, then the above-mentioned windows of different lengths may include a window of 7 days, a window of 30 days, and a window of 90 days. The indicator data corresponding to each window of each length includes at least one of the rolling mean, the rolling standard deviation, and the rolling skewness. Among them, the rolling mean is specifically a mean value sequence, which includes the mean values ​​corresponding to each window respectively, and the mean value corresponding to any window is the mean value of the data in the window. The rolling standard deviation is specifically a standard deviation sequence, which includes the standard deviation corresponding to each window respectively, and the standard deviation corresponding to any window is the standard deviation of the data in the window. The rolling skewness is specifically a skewness sequence, which includes the skewness corresponding to each window, and the skewness corresponding to any window is the skewness of the data in the window.

[0105] For example, taking a window with a length of 7 as an example, during rolling window processing, the first window is taken from the first time series data. The first window includes the 1st to 7th data in the first time series data. The average value, standard deviation and skewness of this window are calculated respectively. Then, the second window is taken from the first time series data. The second window includes the 2nd to 8th data in the first time series data. The average value, standard deviation and skewness of this window are calculated respectively. This process is deduced by analogy until the average value, standard deviation and skewness of the last window are calculated to obtain the average value sequence, standard deviation sequence and skewness sequence.

[0106] S202: Generate multiple first optimal factors based on a preset genetic programming algorithm and multiple first basic factors; the number of the first optimal factors is less than the number of the first basic factors.

[0107] In this step, a plurality of first basic factors are processed by a preset genetic programming algorithm to obtain a plurality of first optimal factors, so that the first optimal factors are more referenceable than the first basic factors. The preset genetic programming algorithm is a genetic programming algorithm pre-deployed to the server.

[0108] Optionally, step S202 is specifically implemented by performing the following operations based on a preset genetic programming algorithm: determining the fitness of each first basic factor respectively; selecting a first basic factor whose fitness meets the conditions from multiple first basic factors; taking the minimum mean square error as a constraint condition, taking the selected first basic factor as the parent individual, and performing iterative processing based on multiple functions in the preset genetic programming algorithm to obtain multiple first optimal factors.

[0109] The fitness can be determined by using a fitness function to determine the fitness of each first basic factor. The fitness function can be set according to actual needs, for example, the fitness function can be an accuracy rate, etc. The conditions that the fitness meets can be set according to actual needs, for example, the condition is that the accuracy rate is greater than a preset accuracy rate threshold. The multiple functions include sub (subtraction), add (addition), mul (multiplication), div (division) and log (logarithm), etc. See Figure 3 , which shows an iterative process of a preset genetic programming algorithm, genotype represents multiple first basic factors, and x represents the first optimal factor.

[0110] It should be noted that in the above implementation, the number of first optimal factors is not fixed. When generating the first optimal factors, any factors that meet the constraint condition of minimum mean square error are counted as the first optimal factors.

[0111] Through this optimization process based on a preset genetic programming algorithm, factors with better fitness can be selected from multiple first basic factors, and multiple optimal solutions can be obtained through iterative processing, thereby mining better quality factors.

[0112] S203. Input the first time series data, multiple first basic factors and multiple first optimal factors into a regular new deposit prediction model corresponding to the time deposit product, and use the regular new deposit prediction model to determine the predicted total order amount data of the time deposit product every day during the prediction period.

[0113] The first time series data, a plurality of first basic factors and a plurality of first optimal factors are concatenated into a factor matrix, and the factor matrix is ​​used as input data and input into a regular new deposit prediction model.

[0114] In this embodiment, the term and interest rate of each time deposit product may be different, so a corresponding regular new deposit prediction model is provided for each time deposit product, and the regular new deposit prediction model is used to predict the daily predicted total billing data of the time deposit product during the prediction period. Exemplarily, the model architecture of the regular new deposit prediction model is a GRU network or other deep learning network.

[0115] Take the GRU network as an example, see Figure 4 , which shows a GRU network, where h t-1 is the hidden state passed down from the previous moment, x t is the feature of the current input, combined with x t and h t-1 You will get the output y at the current moment t and the hidden state h at the next moment t ; Z t is the update gate, which controls the proportion of old information in new information and captures the long-term dependencies in the sequence; r t It is the reset gate that controls how much old information needs to be remembered and captures short-term dependencies in the sequence; is a candidate latent variable, and the self-learning function controls the influence of past information on the current moment; finally, a GRU unit architecture is h t , using the update gate to combine the hidden state at the previous moment and the candidate hidden state at the current moment.

[0116] Among them, the formula for forward propagation of the GRU network is: t =σ(W z ·[h t-1 ,x t ]); r t =σ(W r ·[h t-1 ,x t]); y t =σ(h t ·W o ). Among them, [] is to concatenate the matrices in the square brackets, such as: [2,3] and

[11] are concatenated into [2,3,11]; * represents the Hadamard product of the matrix, that is, the element-wise multiplication; σ is the sigmoid function, which is used to scale the data to (0, 1); tanh is the bitangent function, which is used to scale the data to (-1, 1).

[0117] Optionally, the training process of the regular new deposit prediction model includes: obtaining sample data and label data; taking the label data as the supervision data, iteratively training the initial regular new deposit prediction model based on the sample data until the training conditions are met, and obtaining a trained regular new deposit prediction model. The sample data includes sample time series data, multiple sample basic factors, and multiple sample optimal factors, the sample time series data includes the daily total amount of bills of the regular deposit product in the first sample time period, the label data includes the daily total amount of bills of the regular deposit product in the second sample time period, the first sample time period is continuous with the second sample time period, and the first sample time period is located before the second sample time period.

[0118] Among them, in the iterative training, the regular new deposit prediction model predicts the daily total order amount data in the second sample time period according to the input sample time series data, multiple sample basic factors and multiple sample optimal factors, obtains the predicted value, determines the loss value according to the predicted value and the label data, and adjusts the model parameters according to the loss value. If the training conditions are not met, the next iterative training is carried out, and if the training conditions are met, the training is stopped. Among them, the method of obtaining the sample time series data, the sample basic factors and the sample optimal factors refers to the above embodiment, which will not be repeated here. The trained regular new deposit prediction model has a high prediction accuracy and is used to determine the predicted total order amount data for each day in the prediction period.

[0119] Experiments have shown that using the GRU network as the model architecture has better performance and accuracy after training. For example, during training, the loss function is the mean square error, the grid algorithm is used to adjust the parameters, the optimization algorithm is the gradient descent method, and the optimal parameters are determined by observing the training loss of the model. When the loss of the training set and the test set continues to decrease monotonically, that is, there is no overfitting or underfitting phenomenon, the model parameters are considered to be optimal and the model training is completed.

[0120] For the multiple time deposit products in this embodiment, the predicted total billing amount data of each time deposit product on each day during the prediction period is predicted according to the above implementation method.

[0121] In this embodiment, by performing rolling window processing on the first time series data and generating multiple first basic factors, it is helpful to extract and select features that have an important impact on the prediction of regular new deposits; by using a preset genetic programming algorithm to generate multiple first optimal factors, the prediction accuracy and generalization ability of the model can be improved, thereby improving the prediction effect; by combining multiple first basic factors and multiple first optimal factors, and adopting a regular new deposit prediction model, the total amount of orders for regular deposit products in the future can be more accurately predicted. In general, this method combines feature engineering, optimization algorithms and prediction models, which can improve the accuracy and efficiency of regular new deposit predictions and provide more reliable decision support for financial institutions.

[0122] In some embodiments, in S102, for each time deposit product, determining the predicted total outflow data of the time deposit product on each day during the forecast period includes: for the i-th day in the forecast period, performing the following operations: determining multiple certificates of deposit that belong to the time deposit product and have not yet expired, the multiple certificates of deposit include historical certificates of deposit and newly added certificates of deposit, the historical certificates of deposit are certificates of deposit generated before the i-th day, and the newly added certificates of deposit are certificates of deposit that may be generated on the i-th day; for each certificate of deposit, substituting the number of days from the deposit time of the certificate of deposit to the i-th day into the redemption probability distribution function to obtain the redemption probability of the certificate of deposit on the i-th day; for each certificate of deposit, determining the product of the redemption probability of the certificate of deposit on the i-th day and the order amount data of the certificate of deposit as the predicted outflow amount data of the certificate of deposit; determining the sum of the predicted outflow amount data of the multiple certificates of deposit as the predicted total outflow data of the time deposit product on the i-th day; wherein i is a positive integer greater than 0 and less than M, and M is the total number of days included in the forecast period.

[0123] Among them, for the i-th day, if the i-th day is the first day of the forecast period, the historical certificates of deposit generated before the i-th day are the truly generated certificates of deposit; if the i-th day is a day after the first day of the forecast period, the historical certificates of deposit generated before the i-th day include both the truly generated certificates of deposit and the newly added certificates of deposit on each day from the first day to the i-1th day of the forecast period.

[0124] Among them, the redemption probability distribution function is p = F (t), where t refers to the number of days from the deposit time of the deposit certificate to the i-th day, in days; p is the redemption probability, ranging from 0% to 100%; F () is obtained from experience, which can be determined based on the actual redemption probability of the fixed deposit product every day in the past 12 months. For example, the fixed deposit term of fixed deposit product A is 30 days, and the deposit amount is 100 yuan. If 20 yuan is withdrawn on the first day, the redemption probability on the first day is 20%, and if 10 yuan is withdrawn on the fifth day, the redemption probability on the fifth day is 10%. Since there are a large number of certificates of deposit for fixed deposit product A, the average redemption probability of fixed deposit product A from deposit to maturity in the past 12 months can be determined, thereby generating F () corresponding to fixed deposit product A.

[0125] Through the above operations, the forecasted total outflow data of the time deposit product on the i-th day can be calculated with high accuracy. By calculating the forecasted total outflow data for each day during the forecast period, financial institutions can better manage capital flow risks and make timely adjustments and decisions. Understanding the forecasted total outflow data can help financial institutions conduct more effective capital planning and budget allocation to ensure the rational use and flow of funds. Based on the forecasted total outflow data, institutions can formulate more targeted business strategies and product designs to meet customer needs and improve profitability.

[0126] In some embodiments, in S103, for each demand deposit product, based on the second time series data corresponding to the demand deposit product, the operation of determining the daily predicted balance data of the demand deposit product during the forecast period is specifically implemented as follows: for each demand deposit product, the following operations are performed respectively: the second time series data corresponding to the demand deposit product is subjected to sliding window processing to obtain multiple second basic factors; the multiple second basic factors include indicator data corresponding to multiple windows of different lengths, and the indicator data includes at least one of a rolling mean, a rolling standard deviation, and a rolling skewness; based on a preset genetic programming algorithm and multiple second basic factors, multiple second optimal factors are generated; the number of second optimal factors is less than the number of second basic factors; the second time series data, the second basic factors, and the second optimal factors are input into the demand deposit prediction model corresponding to the demand deposit product, and the demand deposit prediction model is used to determine the daily predicted balance data of the demand deposit product during the forecast period.

[0127] Among them, the relevant contents of sliding window processing and preset genetic programming algorithm can be found in the above Figure 2 The illustrated embodiments will not be described in detail here.

[0128] In this embodiment, the interest rate of each demand deposit product may be different, so a corresponding demand deposit prediction model is provided for each demand deposit product. The demand deposit prediction model is used to predict the daily predicted balance data of the demand deposit product during the prediction period. Exemplarily, the model architecture of the demand deposit prediction model is GRU or other deep learning networks. Optionally, the training process of the demand deposit prediction model can be seen in the above Figure 2 The training process of the periodically added deposit prediction model in the illustrated embodiment will not be described in detail here.

[0129] For the multiple demand deposit products in this embodiment, the predicted balance data of each demand deposit product on a daily basis within the prediction period is predicted according to the above implementation method.

[0130] In this embodiment, by performing rolling window processing on the second time series data and generating multiple second basic factors, it is helpful to extract and select features that have an important impact on the demand deposit prediction; by using a preset genetic programming algorithm to generate multiple second optimal factors, the prediction accuracy and generalization ability of the model can be improved, thereby improving the prediction effect; by combining multiple second basic factors and multiple second optimal factors, and adopting a demand deposit prediction model, the daily balance data of demand deposit products in the future can be more accurately predicted. In general, this method combines feature engineering, optimization algorithms and prediction models, which can improve the accuracy and efficiency of demand deposit predictions and provide more reliable decision support for financial institutions.

[0131] In some embodiments, time series data may be affected by dramatic changes in business processes or market conditions, resulting in outliers. The presence of outliers will affect the stability of the model and need to be removed before prediction. Then both the first time series data and the second time series data may have outliers. The following uses the first time series data as an example to illustrate the process of identifying and analyzing outliers. The process of identifying and analyzing outliers in the second time series data is similar and will not be repeated here.

[0132] Before step S101, the deposit cost data prediction method provided by the present application also includes: obtaining first time series data corresponding to multiple time deposit products respectively; accordingly, for each time deposit product, performing the following operations respectively: identifying abnormal points on the first time series data corresponding to the time deposit product to obtain multiple abnormal points; the abnormal point is the historical order total amount data corresponding to the abnormal day among multiple consecutive days in the prediction period; for each abnormal day, the historical order total amount data corresponding to the abnormal day is eliminated, and the average value of the historical order total amount data on the day before the abnormal day and the historical order total amount data on the day after the abnormal day is determined as the updated historical order total amount data for the abnormal day.

[0133] The outlier identification method may be based on standard deviation, specifically, using z-score to traverse the first time series data by 2 or 3 times the standard deviation to identify the outlier. i <reference mean - 2 × reference standard deviation) or (X i >reference mean + 2 × reference standard deviation)}, where X i is the historical order total amount data of the i-th day in the first time series data, the reference average value is the average value of all data in the first time series data, and the reference standard deviation is the standard deviation of all data in the first time series data.

[0134] Abnormal points can easily cause data fluctuations and instability. By identifying abnormal points and using the historical order total data of the two days before and after the abnormal day as the updated historical order total data on the abnormal day, the impact of abnormal points on the data can be eliminated, making the data smoother and more stable, which helps to reduce data volatility. The updated historical order total data can be used as a more reliable input for establishing a prediction model. The updated data is more in line with the actual situation and can improve the accuracy and stability of the model.

[0135] On the basis of the above embodiment, optionally, abnormal days exist periodically and are quarterly; the deposit cost data prediction method provided in the present application also includes: determining the predicted abnormal day when there is a possibility of abnormal days in the prediction period; determining the average value of the historical total billing amount data corresponding to the first abnormal day one quarter away from the predicted abnormal day, the second abnormal day two quarters away from the predicted abnormal day, the third abnormal day three quarters away from the predicted abnormal day, and the fourth abnormal day four quarters away from the predicted abnormal day as the abnormal total billing amount data of the predicted abnormal day.

[0136] Correspondingly, step S101 includes: for each time deposit product, performing the following operations respectively: based on the first time series data corresponding to the time deposit product, determining the predicted total billing amount data of the time deposit product for each day during the forecast period; for the predicted abnormal day in the forecast period, replacing the predicted total billing amount data of the predicted abnormal day with the abnormal total billing amount data to obtain the updated predicted total billing amount data.

[0137] Among them, abnormal days exist periodically and the cycle is taken as a quarter. For example, the abnormal days are January 31, April 30, July 31 and October 31. If the forecast period includes any of these days, then there is a high probability that there will be abnormal days in the forecast period. Taking the forecast period including January 31 as an example, the predicted abnormal day is January 31. The first abnormal day one quarter away from the predicted abnormal day is October 31 last year, the second abnormal day two quarters away is July 31 last year, the third abnormal day three quarters away is April 30 last year, and the fourth abnormal day four quarters away is January 31 last year. Accordingly, the average value of the historical invoice total amount data corresponding to these multiple days is more likely to be close to the actual invoice total amount data of the predicted abnormal day than the predicted invoice total amount data predicted by the model. Therefore, data accuracy is improved through data replacement. For example, y(t) = average{y(t-1 quarter), y(t-2 quarters), y(t-3 quarters), y(t-4 quarters)}, where t is the forecast abnormal day, y(t) is the forecasted total order amount data, y(t-1 quarter) is the historical total order amount data one quarter ago, and so on. Average means taking the average.

[0138] By updating the forecasted total invoice amount data for forecast abnormal days, it is made more consistent with the actual business situation and its accuracy is improved.

[0139] The prediction method for deposit cost data provided in this application combines deep learning algorithms and time series analysis technology to achieve accurate prediction of deposit cost data to provide decision support and risk management. It provides a quantitative basis for the business at the micro level, including the different impacts of changes in existing businesses and new businesses. For existing businesses, the future balance changes are calculated and predicted based on business rules and data distribution. For new businesses, based on different products and terms, comprehensive predictions are made through genetic algorithms and time series models to calculate future balance changes. Forecast and adjust possible abnormal points in the business to make it more in line with business reality.

[0140] For example, see Figure 5 Deposits are divided into time deposits and demand deposits. The demand deposits are predicted by the demand deposit prediction model to predict the daily balance. Time deposits are divided into existing deposits and new deposits. The new deposits are predicted by the time-based new deposit prediction model to predict the daily total bill amount. The existing deposits are predicted by the total amount due and the total amount outflow, so as to obtain the daily deposit cost data during the prediction period.

[0141] The following is an explanation of the application scenarios of the deposit cost data prediction method provided in this application.

[0142] The first application scenario: continue to see Figure 5When the deposit cost rate is predicted to rise above the warning line threshold on a certain day in the future, financial institutions can actively manage the composition of new deposit interest rates during the forecast period to reduce the overall deposit cost rate. The warning line threshold can be set according to actual needs.

[0143] The second application scenario: The method provided in this application is helpful for determining the deposit-loan spread. The deposit-loan spread refers to the difference between the average loan interest rate of a financial institution and the average deposit interest rate, and is the main source of operating income for financial institutions. The deposit-loan spread directly affects the profitability and risk management capabilities of financial institutions, so accurate prediction of the deposit-loan spread is of great significance to the operating decisions and risk control of financial institutions. Compared with the planning of loan placement, the prediction of the average deposit interest rate is particularly important in the process of predicting the deposit-loan spread. Among them, the average deposit interest rate = deposit interest expense / average deposit balance. Therefore, the average deposit interest rate can be calculated according to the calculation method of the above-mentioned deposit cost rate, which will not be repeated here. After determining the deposit-loan spread based on the average loan interest rate and the average deposit interest rate, the deposit-loan spread can be divided into high, medium and low levels, and corresponding business strategies can be formulated based on the classification results, such as formulating optimized deposit-loan combinations, etc., to increase the attractiveness and scale of deposits, thereby better meeting customer needs and improving the profitability of financial institutions.

[0144] Based on the above-mentioned deposit cost data prediction method, the present application also provides a deposit cost data prediction device. Figure 6 A schematic diagram of the structure of a deposit cost data prediction device provided in this application, such as Figure 6 As shown, the deposit cost data prediction device 30 provided in this embodiment includes:

[0145] The first determination module 301 is used to determine the predicted total order amount data of each time deposit product in the prediction period based on the first time series data corresponding to each time deposit product in the prediction period; the first time series data includes the historical total order amount data corresponding to multiple consecutive days before the prediction period of the time deposit product;

[0146] The second determination module 302 is used to determine the predicted total outflow data of each time deposit product during the prediction period on a daily basis;

[0147] The third determination module 303 is used to determine the daily predicted balance data of each demand deposit product in the prediction period based on the second time series data corresponding to each demand deposit product among the multiple demand deposit products; the second time series data includes the historical balance data corresponding to multiple consecutive days of the demand deposit product before the prediction period;

[0148] The fourth determination module 304 is used to determine the daily predicted deposit cost data during the forecast period based on the daily predicted balance data of each demand deposit product during the forecast period, the daily predicted total billing data of each time deposit product during the forecast period, and the daily predicted total outflow data of each time deposit product during the forecast period.

[0149] In a possible implementation manner, the first determining module 301 is configured to:

[0150] For each time deposit product, perform the following operations respectively:

[0151] Performing rolling window processing on the first time series data corresponding to the time deposit product to obtain a plurality of first basic factors; the plurality of first basic factors include index data corresponding to a plurality of windows of different lengths, respectively, and the index data includes at least one of a rolling mean, a rolling standard deviation, and a rolling skewness;

[0152] Based on a preset genetic programming algorithm and a plurality of first basic factors, a plurality of first optimal factors are generated; the number of the first optimal factors is less than the number of the first basic factors;

[0153] The first time series data, multiple first basic factors and multiple first optimal factors are input into the regular new deposit prediction model corresponding to the time deposit product, and the regular new deposit prediction model is used to determine the predicted total order amount data of the time deposit product every day during the prediction period.

[0154] In a possible implementation manner, the first determining module 301 is configured to:

[0155] Based on the preset genetic programming algorithm, the following operations are performed respectively:

[0156] Determine the fitness of each first basic factor respectively;

[0157] Selecting a first basic factor whose fitness meets the condition from a plurality of first basic factors;

[0158] Taking the minimum mean square error as a constraint condition and the selected first basic factor as the parent individual, iterative processing is performed based on multiple functions in a preset genetic programming algorithm to obtain multiple first optimal factors.

[0159] In a possible implementation, for each time deposit product, the second determination module 302 is configured to:

[0160] For the i-th day in the forecast period, perform the following operations:

[0161] Determine multiple certificates of deposit that belong to the time deposit product and have not yet expired, where the multiple certificates of deposit include historical certificates of deposit and newly added certificates of deposit; historical certificates of deposit are certificates of deposit generated before the i-th day, and newly added certificates of deposit are certificates of deposit that may be generated on the i-th day;

[0162] For each certificate of deposit, substitute the number of days from the deposit date to the i-th day into the redemption probability distribution function to obtain the redemption probability of the certificate of deposit on the i-th day;

[0163] For each certificate of deposit, the product of the redemption probability of the certificate of deposit on the i-th day and the opening amount data of the certificate of deposit is determined as the predicted outflow amount data of the certificate of deposit;

[0164] The sum of the predicted outflow amount data of multiple certificates of deposit is determined as the predicted total outflow data of the time deposit product on the i-th day;

[0165] Wherein, i is a positive integer greater than 0 and less than M, and M is the total number of days included in the forecast period.

[0166] In a possible implementation manner, the third determining module 303 is configured to:

[0167] For each demand deposit product, perform the following operations respectively:

[0168] Performing sliding window processing on the second time series data corresponding to the demand deposit product to obtain a plurality of second basic factors; the plurality of second basic factors include index data corresponding to a plurality of windows of different lengths, respectively, and the index data includes at least one of a rolling mean, a rolling standard deviation, and a rolling skewness;

[0169] Based on a preset genetic programming algorithm and a plurality of second basic factors, a plurality of second optimal factors are generated; the number of the second optimal factors is less than the number of the second basic factors;

[0170] The second time series data, the second basic factor and the second optimal factor are input into the demand deposit prediction model corresponding to the demand deposit product, and the demand deposit prediction model is used to determine the daily predicted balance data of the demand deposit product during the prediction period.

[0171] In a possible implementation, it further includes:

[0172] An acquisition module, used to acquire first time series data corresponding to a plurality of time deposit products respectively;

[0173] For each time deposit product, perform the following operations respectively:

[0174] An identification module is used to identify abnormal points on the first time series data corresponding to the time deposit product to obtain multiple abnormal points; the abnormal points are historical order total amount data corresponding to the abnormal day among multiple consecutive days;

[0175] An updating module is used to remove the historical order total amount data corresponding to each abnormal day among multiple consecutive days, and determine the average of the historical order total amount data on the day before the abnormal day and the historical order total amount data on the day after the abnormal day as the updated historical order total amount data for the abnormal day;

[0176] Among them, abnormal days exist periodically and are quarterly; they also include:

[0177] In the case where there is a possibility of an abnormal day in the forecast period, the forecast abnormal day is determined; the average value of the historical total billing amount data corresponding to the first abnormal day one quarter apart from the forecast abnormal day, the second abnormal day two quarters apart from the forecast abnormal day, the third abnormal day three quarters apart from the forecast abnormal day, and the fourth abnormal day four quarters apart from the forecast abnormal day is determined as the abnormal total billing amount data of the forecast abnormal day;

[0178] Accordingly, based on the first time series data corresponding to each of the multiple time deposit products, the predicted total order amount data of each time deposit product during the forecast period is determined respectively, including:

[0179] For each time deposit product, based on the first time series data corresponding to each time deposit product, determine the predicted total order amount data of each time deposit product on each day during the forecast period;

[0180] For the forecast abnormal day in the forecast period, the forecast billing total amount data of the forecast abnormal day is replaced with the abnormal billing total amount data to obtain the updated forecast billing total amount data.

[0181] The deposit cost data prediction device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be described in detail here.

[0182] The present application also provides an electronic device, which can be provided as a terminal or a server.

[0183] Figure 7 This is a schematic diagram of the structure of an electronic device provided in this application. Figure 7 As shown, the electronic device 40 provided in this embodiment includes: a processor 401 and a memory 402 communicatively connected to the processor 401. Exemplarily, the processor 401 and the memory 402 are connected via a bus.

[0184] In a specific implementation process, the memory 402 stores computer-executable instructions, and the processor 401 executes the computer-executable instructions stored in the memory 402 , so that the processor 401 executes the above method.

[0185] The specific implementation process of the processor 401 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0186] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0187] The present application also provides a computer program product, including a computer program, which is used to implement the above method when executed by a processor.

[0188] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0189] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0190] It should be further noted that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flow chart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0191] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0192] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0193] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. Unless otherwise specified, the processor may be any appropriate hardware processor, such as a central processing unit (CPU), a graphics processing unit (GPU), an application specific integrated circuit (ASIC), a digital signal processor (DSP), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components. Unless otherwise specified, the memory may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a USB flash drive, random-access memory (RAM), static random-access memory (SRAM), dynamic random-access memory (DRAM), enhanced dynamic random-access memory (EDRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), high-bandwidth memory (HBM) or hybrid memory cube (HMC) and other media that can store program code.

[0194] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the methods of each embodiment of the present application.

[0195] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0196] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for predicting deposit cost data, It is characterized in that include: For the forecast period, based on the first time series data corresponding to each of the multiple time deposit products, the forecasted total order amount data of each of the multiple time deposit products during the forecast period are determined respectively; the first time series data includes the historical total order amount data corresponding to the multiple consecutive days before the forecast period for the time deposit product; Determine the forecast total outflow data of each time deposit product during the forecast period on a daily basis; Based on the second time series data corresponding to each of the multiple demand deposit products, respectively determine the daily forecast balance data of each of the demand deposit products within the forecast period; the second time series data includes the historical balance data corresponding to multiple consecutive days of the demand deposit product before the forecast period; Based on the daily predicted balance data of each of the current deposit products during the forecast period, the daily predicted total billing data of each of the time deposit products during the forecast period, and the daily predicted total outflow data of each of the time deposit products during the forecast period, the daily predicted deposit cost data during the forecast period is determined.

2. The method according to claim 1, It is characterized in that The step of determining the predicted total order amount data of each of the plurality of time deposit products on a daily basis within the forecast period based on the first time series data corresponding to each of the plurality of time deposit products comprises: For each term deposit product, perform the following operations respectively: Performing rolling window processing on the first time series data corresponding to the time deposit product to obtain a plurality of first basic factors; the plurality of first basic factors include index data corresponding to a plurality of windows of different lengths, respectively, and the index data includes at least one of a rolling mean, a rolling standard deviation, and a rolling skewness; Based on a preset genetic programming algorithm and the plurality of first basic factors, a plurality of first optimal factors are generated; the number of the first optimal factors is less than the number of the first basic factors; The first time series data, the multiple first basic factors and the multiple first optimal factors are input into a regular new deposit prediction model corresponding to the time deposit product, and the regular new deposit prediction model is used to determine the predicted total order amount data of the time deposit product every day during the prediction period.

3. The method according to claim 2, It is characterized in that The step of generating a plurality of first optimal factors based on a preset genetic programming algorithm and the plurality of first basic factors comprises: Based on the preset genetic programming algorithm, the following operations are performed respectively: Determining the fitness of each of the first basic factors respectively; Selecting a first basic factor whose fitness meets the condition from the plurality of first basic factors; Taking the minimum mean square error as a constraint condition and the selected first basic factor as the parent individual, iterative processing is performed based on multiple functions in the preset genetic programming algorithm to obtain multiple first optimal factors.

4. The method according to claim 1, It is characterized in that For each of the time deposit products, the predicted total outflow data of the time deposit product on a daily basis during the forecast period is determined, including: For the i-th day in the forecast period, perform the following operations: Determine a plurality of certificates of deposit that belong to the time deposit product and have not yet expired, wherein the plurality of certificates of deposit include historical certificates of deposit and newly added certificates of deposit; the historical certificates of deposit are certificates of deposit generated before the i-th day, and the newly added certificates of deposit are certificates of deposit that may be generated on the i-th day; For each of the certificates of deposit, the number of days from the deposit time of the certificate of deposit to the i-th day is substituted into the redemption probability distribution function to obtain the redemption probability of the certificate of deposit on the i-th day; For each of the certificates of deposit, the product of the redemption probability of the certificate of deposit on the i-th day and the opening amount data of the certificate of deposit is determined as the predicted outflow amount data of the certificate of deposit; Determine the sum of the predicted outflow amount data of the plurality of deposit certificates as the predicted total outflow amount data of the time deposit product on the i-th day; Wherein, i is a positive integer greater than 0 and less than M, and M is the total number of days included in the forecast period.

5. The method according to claim 1, It is characterized in that The step of determining the daily predicted balance data of each demand deposit product in the prediction period based on the second time series data corresponding to each demand deposit product among the plurality of demand deposit products comprises: For each demand deposit product, perform the following operations respectively: Performing sliding window processing on the second time series data corresponding to the demand deposit product to obtain a plurality of second basic factors; the plurality of second basic factors include index data corresponding to a plurality of windows of different lengths, respectively, and the index data include at least one of a rolling mean, a rolling standard deviation, and a rolling skewness; Based on a preset genetic programming algorithm and the plurality of second basic factors, a plurality of second optimal factors are generated; the number of the second optimal factors is less than the number of the second basic factors; The second time series data, the second basic factor and the second optimal factor are input into a demand deposit prediction model corresponding to the demand deposit product, and the demand deposit prediction model is used to determine the daily predicted balance data of the demand deposit product during the prediction period.

6. The method according to claim 1, It is characterized in that Before determining the predicted total billing amount data of each time deposit product in the forecast period on a daily basis based on the first time series data corresponding to each time deposit product among the plurality of time deposit products, the method further includes: Obtain first time series data corresponding to a plurality of time deposit products respectively; For each term deposit product, perform the following operations respectively: Performing abnormal point identification on the first time series data corresponding to the time deposit product to obtain a plurality of abnormal points; the abnormal points are the historical order total amount data corresponding to the abnormal day among the plurality of consecutive days; For each of the abnormal days in the multiple consecutive days, the historical order total data corresponding to the abnormal day is removed, and the average of the historical order total data on the day before the abnormal day and the historical order total data on the day after the abnormal day is determined as the updated historical order total data for the abnormal day; Among them, abnormal days exist periodically and are quarterly; they also include: In the case where there is a possibility of an abnormal day in the forecast period, the forecast abnormal day is determined; the average value of the historical total billing amount data corresponding to the first abnormal day one quarter away from the forecast abnormal day, the second abnormal day two quarters away from the forecast abnormal day, the third abnormal day three quarters away from the forecast abnormal day, and the fourth abnormal day four quarters away from the forecast abnormal day are determined as the abnormal total billing amount data of the forecast abnormal day; Accordingly, the method of determining the predicted total order amount data of each time deposit product in the forecast period on a daily basis based on the first time series data corresponding to each time deposit product in the plurality of time deposit products includes: For each of the time deposit products, based on the first time series data corresponding to each of the time deposit products, determine the predicted total order amount data of each of the time deposit products on a daily basis within the prediction period; For the predicted abnormal day in the forecast period, the predicted billing total amount data of the predicted abnormal day is replaced by the abnormal billing total amount data to obtain updated predicted billing total amount data.

7. A device for predicting deposit cost data, It is characterized in that include: A first determination module is used to determine, for a forecast period, forecasted total billing amount data of each of the plurality of time deposit products on a daily basis within the forecast period based on first time series data corresponding to each of the plurality of time deposit products; the first time series data includes historical total billing amount data corresponding to a plurality of consecutive days before the forecast period for the time deposit product; A second determination module is used to respectively determine the daily predicted total outflow data of each of the time deposit products within the prediction period; A third determination module is used to determine the daily predicted balance data of each demand deposit product in the forecast period based on the second time series data corresponding to each demand deposit product among the multiple demand deposit products; the second time series data includes the historical balance data corresponding to multiple consecutive days before the forecast period of the demand deposit product; The fourth determination module is used to determine the daily predicted deposit cost data during the forecast period based on the daily predicted balance data of each of the current deposit products during the forecast period, the daily predicted total billing data of each of the time deposit products during the forecast period, and the daily predicted total outflow data of each of the time deposit products during the forecast period.

8. An electronic device, It is characterized in that include: A processor and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the deposit cost data prediction method as described in any one of claims 1-6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the deposit cost data prediction method as described in any one of claims 1-6.

10. A computer program product, It is characterized in that It includes a computer program which, when executed by a processor, implements the method for predicting deposit cost data as described in any one of claims 1-6.