Data processing method, system, electronic device and computer readable medium
By selecting any sub-data except the first sub-data from the original data as label data, and constructing multiple training data from the sub-data before the label data as feature data, the problem of insufficient training data is solved and improved the prediction effect.
Patent Information
- Application Number
- CN201810006211.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-01-02
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2038-01-02
AI Technical Summary
In the process of intelligent prediction, insufficient amount of training data leads to poor prediction results. Especially when applying mature machine learning algorithms such as ARIMA and GBDT, the problem of insufficient data amount is caused by different data dimensions.
By selecting any sub-data except the first sub-data from the original data as label data, and using the sub-data before the label data as feature data, multiple training data are constructed to expand the amount of training data and improve the training effect.
It effectively alleviates the problem of insufficient training data, enriches the training data, improves the prediction effect, and provides the possibility of improving the prediction effect.
Smart Images

Figure CN109993194B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and more specifically, to a data processing method, system, electronic device, and computer-readable medium. Background Art
[0002] In the process of intelligent prediction of content such as weather, behavior, and events, predictions are essentially made for ordered data, and currently more mature machine learning algorithms such as the Autoregressive Integrated Moving Average Model (ARIMA), Gradient Boosting Decision Tree (GBDT), and deep learning can be used. However, when applying these algorithms, there is always the problem of insufficient training data. These different dimensional problems result in different amounts of data available for model training, and insufficient data for training directly affects the prediction effect. Summary of the invention
[0003] In view of this, the present disclosure provides a data processing method, system, electronic device and computer-readable medium.
[0004] One aspect of the present disclosure provides a data processing method, including obtaining at least one piece of original data, the original data including a plurality of sub-data in order, using any sub-data except the first sub-data as label data, selecting at least one sub-data before the label data in the original data as feature data, and training a prediction model based on the feature data and the label data.
[0005] According to an embodiment of the present disclosure, taking any one sub-data except the first sub-data as label data and selecting at least one sub-data before the label data in the original data as feature data includes taking any one sub-data except the first one as label data and selecting multiple consecutive sub-data before the label data in the original data as feature data.
[0006] According to an embodiment of the present disclosure, taking any sub-data except the first sub-data as label data and selecting at least one sub-data before the label data in the original data as feature data includes, when taking the N+i-th sub-data in the original data as label data, selecting a plurality of sub-data starting from the K+i-th sub-data and a number L as feature data, wherein N, K, and L are positive integers, i is an integer, K+i≥1 and K+L≤N.
[0007] According to an embodiment of the present disclosure, taking any sub-data except the first sub-data as label data, selecting at least one sub-data before the label data in the original data as feature data includes, when the Nth sub-data in the original data is taken as label data, selecting multiple sub-data starting from the K+ith sub-data and a number L as feature data, wherein N, K, and L are positive integers, i is an integer, K+i≥1 and K+i+L≤N.
[0008] Another aspect of the present disclosure provides a data processing system, including: an acquisition module, a selection module, and a training module. The acquisition module is used to acquire at least one piece of original data, wherein the original data includes a plurality of sub-data in order. The selection module is used to use any sub-data other than the first sub-data as label data, and select at least one sub-data before the label data in the original data as feature data. The training module is used to train a prediction model based on the feature data and the label data.
[0009] According to an embodiment of the present disclosure, the selection module includes a first selection submodule, which is used to use any sub-data except the first one as label data and select multiple consecutive sub-data before the label data in the original data as feature data.
[0010] According to an embodiment of the present disclosure, the selection module includes a second selection sub-module, which is used to select a plurality of sub-data starting from the K+i-th sub-data and L in number as feature data, with the N+i-th sub-data in the original data being used as label data, wherein N, K, and L are positive integers, i is an integer, K+i≥1, and K+L≤N.
[0011] According to an embodiment of the present disclosure, the selection module includes a third selection sub-module, which is used to select a plurality of sub-data starting from the K+i-th sub-data and L in number as feature data, with the N-th sub-data in the original data being used as label data, wherein N, K, and L are positive integers, i is an integer, K+i≥1, and K+i+L≤N.
[0012] Another aspect of the present disclosure provides an electronic device, comprising one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute any one of the above methods.
[0013] Another aspect of the present disclosure provides a computer-readable medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to perform any one of the above methods.
[0014] Another aspect of the present disclosure provides a computer program, which includes computer executable instructions, and the instructions are used to implement the method described above when executed.
[0015] According to the embodiments of the present disclosure, multiple training data are effectively constructed through the selection of feature data and label data, which alleviates the problem of insufficient training data in the prior art, enriches the training data, improves the training effect, and further provides a possible way to improve the prediction effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0017] Figure 1 A schematic diagram schematically illustrates an application scenario of a data processing system and method according to an embodiment of the present disclosure;
[0018] Figure 2 A schematic diagram schematically shows raw data according to an embodiment of the present disclosure;
[0019] Figure 3 A flowchart schematically shows a data processing method according to an embodiment of the present disclosure;
[0020] Figure 4 A schematic diagram schematically shows a data processing method according to an embodiment of the present disclosure;
[0021] Figure 5 A block diagram schematically shows a data processing system according to an embodiment of the present disclosure; and
[0022] Figure 6 A block diagram of a computer system of an electronic device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0023] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0024] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0025] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0026] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but not be limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but not be limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). Those skilled in the art should also understand that any transitional conjunctions and / or phrases that substantially indicate two or more optional items, whether in the specification, claims, or drawings, should be understood to give the possibility of including one of these items, either of these items, or both of these items. For example, the phrase "A or B" should be understood to include the possibilities of "A" or "B", or "A and B".
[0027] The embodiments of the present disclosure provide a data processing method, which effectively expands the training data by selecting feature data and label data to improve the training effect when the original data is limited, thereby providing a possible way to improve the prediction effect.
[0028] Figure 1 The following is a schematic diagram of an application scenario of a data processing system and method according to an embodiment of the present disclosure. It should be noted that: Figure 1 The examples shown are merely examples of application scenarios to which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure cannot be used in other systems, environments or scenarios.
[0029] like Figure 1 As shown, the general data prediction process includes operations S111 to S114 and S120. Operations S111 to S114 are the process of training the prediction model, and operation S120 is the process of using the trained model for prediction.
[0030] In operation S111, relevant data for predicting solution requirements are obtained. For example, various input methods usually predict the characters that will appear later based on the existing characters. Therefore, for such prediction, the relevant data for solution requirements are the first several characters and the subsequent one or more characters that appear in the historical data, wherein the first several characters are used as feature data, and the subsequent one or more characters are used as label data, and the feature data and label data constitute complete training data.
[0031] In operation S112, relevant data is preprocessed. The preprocessing may include various forms, such as removing abnormal data, etc. In some prediction processes, artificial data, duplicate data, etc. may be filtered out as needed. Those skilled in the art may design a preprocessing method according to the needs of a specific prediction process to reduce the impact of abnormal data in the training data.
[0032] In operation S113, the processed relevant data is processed by a computing platform to form relevant features of the requirements. For example, in an embodiment where the input method predicts the text that appears later, the features of the text can be extracted, for example, the text can be calculated into a multi-dimensional feature vector according to certain algorithms for subsequent training and prediction.
[0033] In operation S114, a machine learning model is used to train the model according to the relevant features of the processed sample. For example, the machine model may be an RNN neural network, etc. The model parameters are trained by taking the feature data represented by the features as input and the label data represented by the features as output. The trained model can be used as a prediction model for prediction.
[0034] In operation S120, the trained model is used to predict the target to be predicted and the prediction result is output. At this time, since the model parameters have been trained, when the relevant data is input, the model parameters can be used for calculation and the prediction result can be output.
[0035] In the above process, we often face the problem of insufficient training data. Problems of different dimensions lead to different amounts of data available for model training, and insufficient data for training directly affects the prediction effect.
[0036] The data processing method provided in the embodiment of the present disclosure can be applied, for example, before the above operation S113 to expand the data to improve the training effect and further improve the prediction effect. Figure 1 The method shown in the figure is arranged between operation S112 and operation S113, and can actually be arranged between S111 and S112 as required, which is not limited in the present disclosure.
[0037] Figure 2A schematic diagram of raw data according to an embodiment of the present disclosure is schematically shown.
[0038] like Figure 2 As shown, the original data to be trained may be multiple, for example, m pieces of original data are shown in the figure, where m is a positive integer. Each piece of original data includes multiple sub-data, and each piece of original data shown in the figure includes n sub-data, where n is a positive integer. It should be understood that the number of sub-data contained in each piece of original data may be different.
[0039] Normally, each piece of original data will be used for training once. For example, when predicting a certain data (for example, the nth data) based on 5 consecutive data, x11~x15 will be used as feature data and xln as label data to form a piece of training data. x21~x25 will be used as feature data and x2n as label data to form a piece of training data. And so on, a total of m pieces of training data will be formed for training.
[0040] Figure 3 The flowchart of the data processing method according to the embodiment of the present disclosure is schematically shown.
[0041] like Figure 3 As shown, the method includes operations S310 to S330.
[0042] In operation S310, at least one original data is obtained, wherein the original data includes a plurality of sub-data in sequence. Figure 2 The original data described will not be repeated here.
[0043] In operation S320, any sub-data except the first sub-data is used as label data, and at least one sub-data before the label data in the original data is selected as feature data.
[0044] For example, when the j-th sub-data is used as label data, multiple non-continuous previous sub-data can be selected as feature data for training. For example, for the p-th original data, sub-data xp1, xp3, xp4, xp5 can be used as feature data, and sub-data xpj can be used as label data to form a training data. For another example, sub-data xp2, xp3, xp4, xp6 can be used as feature data, and sub-data xp(j+1) can be used as label data to form a training data.
[0045] According to an embodiment of the present disclosure, taking any one sub-data except the first sub-data as label data and selecting at least one sub-data before the label data in the original data as feature data includes taking any one sub-data except the first one as label data and selecting multiple consecutive sub-data before the label data in the original data as feature data.
[0046] For example, when the jth sub-data is used as label data, the sub-data xp1, xp2, xp3, xp4, and xp5 can be used as feature data, and the sub-data xpj can be used as label data to form a training data. For another example, the sub-data xp2, xp3, and xp4 can be used as feature data, and the sub-data xp(j+1) can be used as label data to form a training data.
[0047] According to an embodiment of the present disclosure, taking any sub-data except the first sub-data as label data and selecting at least one sub-data before the label data in the original data as feature data includes, when taking the N+i-th sub-data in the original data as label data, selecting a plurality of sub-data starting from the K+i-th sub-data and a number L as feature data, wherein N, K, and L are positive integers, i is an integer, K+i≥1 and K+L≤N.
[0048] This method expands the training data for the case where, after obtaining a plurality of consecutive sub-data, sub-data after a specific number of sub-data are predicted.
[0049] Reference below Figure 4 , the method of the embodiment of the present disclosure is described.
[0050] Figure 4 A schematic diagram of a data processing method according to an embodiment of the present disclosure is schematically shown.
[0051] like Figure 4 As shown, for a piece of original data, for example, the pth piece of original data, when i=0, sub-data xpN is used as label data, and L sub-data from xpK to xp(K+L-1) are used as feature data to form a training data. When i changes, the feature data and label data change accordingly, so that a piece of original data can be used to form multiple training data, and at most (total number of sub-data - N+K) pieces of training data can be formed. For example, when i=1, sub-data xp(N+1) is used as label data, and L sub-data from xp(K+1) to xp(K+L) are used as feature data to form another training data.
[0052] Specifically, taking N=10, K=1, L=4 as an example, since K+i≥1, given the above parameters, i is an integer greater than or equal to 0. When i=0, sub-data xp1, xp2, xp3, xp4 are taken as feature data, and sub-data xp10 is taken as label data; when i=1, sub-data xp2, xp3, xp4, xp5 are taken as feature data, and sub-data xp11 is taken as label data; and so on, at most (total number of sub-data - 9) pieces of training data can be formed, which greatly expands the amount of training data compared to the original one piece of training data.
[0053] According to an embodiment of the present disclosure, taking any sub-data except the first sub-data as label data, selecting at least one sub-data before the label data in the original data as feature data includes, when the Nth sub-data in the original data is taken as label data, selecting multiple sub-data starting from the K+ith sub-data and a number L as feature data, wherein N, K, and L are positive integers, i is an integer, K+i≥1 and K+i+L≤N.
[0054] The method of the embodiment of the present disclosure is similar to the previous embodiment, except that when i changes, the feature data changes, while the label data remains unchanged. Therefore, the expanded training data can be used as training data for a prediction model for predicting sub-data after a plurality of consecutive sub-data separated by different numbers of sub-data.
[0055] Return to reference Figure 3 In operation S330, a prediction model is trained based on the feature data and label data. This operation is similar to Figure 1 Operations S113 and S114 shown in FIG. 1 are not described in detail here.
[0056] When the original data is limited, this method can effectively expand the training data by selecting feature data and label data to improve the training effect and thus improve the prediction effect.
[0057] Figure 5 The block diagram of a data processing system 500 according to an embodiment of the present disclosure is schematically shown.
[0058] like Figure 5 As shown, the data processing system 500 includes an acquisition module 510 , a selection module 520 and a training module 530 .
[0059] The acquisition module 510, for example, executes the above reference Figure 3 The described operation S310 is used to obtain at least one piece of original data, where the original data includes a plurality of sub-data in sequence.
[0060] Select module 520, for example, to execute the above reference Figure 3 The described operation S320 is used to use any sub-data except the first sub-data as label data, and select at least one sub-data before the label data in the original data as feature data.
[0061] The training module 530, for example, executes the above reference Figure 3 The described operation S330 is used to train a prediction model based on the feature data and label data.
[0062] According to an embodiment of the present disclosure, the selection module 520 includes a first selection submodule, which is used to use any sub-data except the first one as label data and select a plurality of consecutive sub-data before the label data in the original data as feature data.
[0063] According to an embodiment of the present disclosure, the selection module 520 includes a second selection sub-module, which is used to select a plurality of sub-data starting from the K+i-th sub-data and L in number as feature data, when the N+i-th sub-data in the original data is used as label data, wherein N, K, and L are positive integers, i is an integer, K+i≥1 and K+L≤N.
[0064] According to an embodiment of the present disclosure, the selection module 520 includes a third selection sub-module, which is used to select a plurality of sub-data starting from the K+i-th sub-data and L in number as feature data, when the N-th sub-data in the original data is used as label data, wherein N, K, and L are positive integers, i is an integer, K+i≥1, and K+i+L≤N.
[0065] It is understandable that the above modules can be combined in one module to be implemented, or any one of the modules can be split into multiple modules. Alternatively, at least some functions of one or more of these modules can be combined with at least some functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the above modules can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented in hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or in a suitable combination of software, hardware and firmware. Alternatively, at least one of the above modules can be at least partially implemented as a computer program module, and when the program is run by a computer, the function of the corresponding module can be executed.
[0066] Figure 6 A block diagram of a computer system of an electronic device according to an embodiment of the present disclosure is schematically shown. Figure 6The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0067] like Figure 6 As shown, the computer system 600 according to the embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (such as an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a processor for executing reference Figure 3 The described method flow according to the embodiment of the present disclosure may be a single processing unit or multiple processing units for different actions.
[0068] In RAM 603, various programs and data required for the operation of system 600 are stored. Processor 601, ROM 602, and RAM 603 are connected to each other via bus 604. Processor 601 executes the above-referenced functions by executing the programs in ROM 602 and / or RAM 603. Figure 2 to Figure 4 The various operations of the method according to the embodiment of the present disclosure are described. It should be noted that the program may also be stored in one or more memories other than ROM 602 and RAM 603. The processor 601 may also execute the above referenced program by executing the program stored in the one or more memories. Figure 3 Various operations of the method according to the embodiments of the present disclosure are described.
[0069] According to an embodiment of the present disclosure, the system 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The system 600 may further include one or more of the following components connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0070] According to an embodiment of the present disclosure, the method described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0071] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the foregoing. According to an embodiment of the present disclosure, the computer-readable medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.
[0072] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0073] As another aspect, the present disclosure further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device executes the reference Figure 3 Various operations of the method according to the embodiments of the present disclosure are described.
[0074] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A data processing method, comprising: Acquire at least one piece of original data, wherein the original data includes a plurality of sub-data in order, and the original data represents text data; Using any sub-data except the first sub-data as label data, and selecting at least one sub-data before the label data in the original data as feature data; as well as Based on the feature data and label data, a prediction model is trained.
2. The method according to claim 1, wherein: The method of using any sub-data except the first sub-data as label data and selecting at least one sub-data before the label data in the original data as feature data comprises: Any sub-data except the first one is used as label data, and a plurality of consecutive sub-data before the label data in the original data are selected as feature data.
3. The method according to claim 1, wherein: The method of using any sub-data except the first sub-data as label data and selecting at least one sub-data before the label data in the original data as feature data comprises: When the N+i-th sub-data in the original data is used as the label data, multiple sub-data starting from the K+i-th sub-data and with a number of L are selected as feature data, where N, K, and L are positive integers, i is an integer, K+i≥1, and K+L≤N.
4. The method according to claim 1, wherein: The method of using any sub-data except the first sub-data as label data and selecting at least one sub-data before the label data in the original data as feature data comprises: When the Nth sub-data in the original data is used as label data, multiple sub-data starting from the K+ith sub-data and with a number of L are selected as feature data, where N, K, and L are positive integers, i is an integer, K+i≥1, and K+i+L≤N.
5. A data processing system comprising: An acquisition module, used for acquiring at least one piece of original data, wherein the original data includes a plurality of sub-data in order, and the original data represents text data; A selection module, configured to use any sub-data except the first sub-data as label data, and select at least one sub-data before the label data in the original data as feature data; as well as The training module is used to train the prediction model based on the feature data and label data.
6. The system according to claim 5, wherein: The selection module includes: The first selection submodule is used to use any sub-data except the first one as label data, and select a plurality of consecutive sub-data before the label data in the original data as feature data.
7. The system according to claim 5, wherein: The selection module includes: The second selection submodule is used to select a plurality of sub-data starting from the K+i-th sub-data and L in number as feature data, with the N+i-th sub-data in the original data being used as label data, wherein N, K, and L are positive integers, i is an integer, K+i≥1, and K+L≤N.
8. The system according to claim 5, wherein: The selection module includes: The third selection submodule is used to select a plurality of sub-data starting from the K+i-th sub-data and L in number as feature data when the N-th sub-data in the original data is used as label data, wherein N, K, and L are positive integers, i is an integer, K+i≥1 and K+i+L≤N.
9. An electronic device, comprising: one or more processors; as well as A storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute any one of the methods described in claims 1 to 4.
10. A computer-readable medium having executable instructions stored thereon, wherein when the instructions are executed by a processor, the processor executes any one of the methods according to claims 1 to 4.
