WO2021174881A1 - Multi-dimensional information combination prediction method, apparatus, computer device, and medium - Google Patents

Multi-dimensional information combination prediction method, apparatus, computer device, and medium Download PDF

Info

Publication number
WO2021174881A1
WO2021174881A1 PCT/CN2020/125112 CN2020125112W WO2021174881A1 WO 2021174881 A1 WO2021174881 A1 WO 2021174881A1 CN 2020125112 W CN2020125112 W CN 2020125112W WO 2021174881 A1 WO2021174881 A1 WO 2021174881A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
prediction
time
series
timing
Prior art date
Application number
PCT/CN2020/125112
Other languages
French (fr)
Chinese (zh)
Inventor
刘卓
孙行智
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021174881A1 publication Critical patent/WO2021174881A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/049Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems

Definitions

  • This application relates to the field of artificial intelligence intelligent decision-making technology, and relates to neural network technology in the field of intelligent decision-making technology, and in particular to a combination prediction method, device, computer equipment and medium of multi-dimensional information.
  • a predictive model refers to a computer model that predicts the future behavior or state of an object based on the quantitative relationship between things described in mathematical language or formulas. It reveals the inherent regularity of things to a certain extent, and it is used when predicting. As a direct basis for calculating the predicted value.
  • Time series information (such as dynamic information) is used to predict the target object in a time series dimension (can be regarded as a dynamic dimension), or non-time series information is used.
  • static information predict the target object in a non-time-series dimension (which can be regarded as a static dimension).
  • the inventor realizes that the method of using a single dimension to predict the target object cannot comprehensively consider the target object, resulting in low prediction accuracy.
  • the purpose of this application is to provide a combination prediction method, device, computer equipment and medium of multi-dimensional information, which are used to solve the problem of low prediction accuracy due to the inability to comprehensively consider the target object in the prior art; this application It can be applied to smart medical scenarios to promote the construction of smart cities.
  • this application provides a combined prediction method of multi-dimensional information, including:
  • the prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
  • this application also provides a multi-dimensional information combined prediction device, including:
  • the input module is used to receive the prediction request sent by the user terminal;
  • the time series prediction module is used to extract the time series feature corresponding to the time series information in the prediction request, call a preset time series model to calculate the time series feature to obtain a time series prediction result;
  • the non-time-series prediction module is configured to extract the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
  • the comprehensive prediction module is used to calculate the time series prediction result and the non-time series prediction result through a preset prediction model to obtain prediction information.
  • this application also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor of the computer device executes the computer program.
  • the combined prediction method of multi-dimensional information, the combined prediction method of multi-dimensional information includes:
  • the prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
  • the present application also provides a computer-readable storage medium with a computer program stored on the readable storage medium, and the computer program stored in the readable storage medium realizes multi-dimensional information when executed by a processor.
  • the combined prediction method of multi-dimensional information includes:
  • the prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
  • the combined prediction method, device, computer equipment, and medium of multi-dimensional information provided in this application calculate the time series characteristics corresponding to the time series information through the time series model, so as to accurately and quickly obtain the time series prediction result of the object corresponding to the time series information in the dimension of the time series information.
  • Calculate the non-time-series features corresponding to the non-time-series information through the non-time-series model so as to accurately and quickly obtain the non-time-series prediction results of the objects corresponding to the non-time-series information in the dimension of the non-time-series information.
  • the time-series forecast result obtains forecast information that takes into account both time-series information and non-time-series information, realizes multi-dimensional forecasting of forecast requests, improves the comprehensiveness of the forecast reference dimensions, and thereby improves the accuracy of the forecast.
  • FIG. 1 is a flowchart of Embodiment 1 of a combined prediction method for multi-dimensional information according to this application;
  • FIG. 2 is a schematic diagram of the environmental application of the multi-dimensional information combination prediction method in Embodiment 2 of the multi-dimensional information combination prediction method of this application;
  • FIG. 3 is a specific method flow chart of the combined prediction method of multi-dimensional information in the second embodiment of the combined prediction method of multi-dimensional information according to the present application;
  • FIG. 5 is a flowchart of non-time-series characterization processing in Embodiment 2 of the combined prediction method for multi-dimensional information of the present application;
  • FIG. 6 is a schematic diagram of program modules of Embodiment 3 of a combined prediction apparatus for multi-dimensional information of this application;
  • FIG. 7 is a schematic diagram of the hardware structure of the computer device in the fourth embodiment of the computer device of this application.
  • the combined prediction method of multi-dimensional information in this embodiment includes:
  • S104 Extract the time series feature corresponding to the time series information in the prediction request, call a preset time series model to calculate the time series feature to obtain a time series prediction result;
  • S106 Extract the non-time-series feature corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series feature to obtain a non-time-series prediction result;
  • the prediction request has object information, time series information, and non-time series information.
  • the object information is the type of the object corresponding to the prediction request; for example, the type may be the name of the disease obtained by the object (such as a patient), such as diabetes, heart disease, and myocardial infarction.
  • the time sequence information is the state data accumulated over time by the object corresponding to the prediction request, and the state data reflects the behavior and shape of the object.
  • the state data, where the behavior can be the prescription medication obtained by the patient, and the form can be the patient’s symptoms and key inspection values.
  • the time series characteristics corresponding to the time series information through the time series model to accurately and quickly obtain the time series prediction results of the objects corresponding to the time series information in the dimension of the time series information.
  • the non-time-series prediction results of the objects corresponding to the non-time-series information are obtained accurately and quickly, and the time-series prediction results and non-time-series prediction results are obtained through the prediction model, and the prediction information that takes into account both the time-series information and the non-time-series information is obtained.
  • the forecast request is forecasted in multiple dimensions, which improves the comprehensiveness of the forecast reference dimensions, and thus improves the accuracy of the forecast.
  • This application can be applied in smart medical scenarios to promote the construction of smart cities.
  • This embodiment is a specific application scenario of the foregoing Embodiment 1. Through this embodiment, the method provided by this application can be described more clearly and specifically.
  • the time series feature is calculated to obtain the time series prediction result
  • the non-time series feature is calculated to obtain the non-time series prediction result
  • the time series prediction result and the non-time series prediction result are calculated.
  • the prediction information obtained from the prediction result is taken as an example to illustrate the method provided in this embodiment in detail. It should be noted that this embodiment is only exemplary, and does not limit the protection scope of the embodiment of this application.
  • Fig. 2 schematically shows an environmental application diagram of the multi-dimensional information combination prediction method according to the second embodiment of the present application.
  • the authentication server 2 where the multi-dimensional information combination prediction method is located is connected to the user terminal 4 through the network 3, and the server 2 may provide services through one or more networks 3, and the network 3 may include various Network equipment, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices and/or etc.
  • the network 3 may include physical links, such as coaxial cable links, twisted pair cable links, optical fiber links, combinations thereof, and/or the like.
  • the network 3 may include a wireless link, such as a cellular link, a satellite link, a Wi-Fi link, and/or the like; the user terminal 4 may be a computer device such as a smart phone, a tablet computer, a notebook computer, and a desktop computer.
  • FIG. 3 is a specific method flowchart of a multi-dimensional information combined prediction method provided by an embodiment of the present application. The method specifically includes steps S201 to S207.
  • S201 Receive a prediction request sent by a user terminal; where the prediction request has object information, time sequence information, and non-time sequence information.
  • the object information is the type of the object corresponding to the prediction request; for example, the type may be the name of the disease obtained by the object (such as a patient), such as diabetes, heart disease, and myocardial infarction.
  • the time sequence information is the state data accumulated over time by the object corresponding to the prediction request, and the state data reflects the behavior and shape of the object.
  • the state data among which the behavior can be the prescription medication obtained by the patient, and the shape can be the patient’s symptoms and key inspection values.
  • the non-chronological information is the attribute data of the object corresponding to the prediction request reflected in the prediction request; for example, the attribute data may be the basic personal information of the object (such as the patient), such as identity information, social information, Living habits, etc., where the identity information may include: gender, age, and ethnicity; the social information may include: education level, occupation; and living habits may include: smoking status.
  • S202 Extract the object information in the prediction request, and obtain a time series model and a non-time series model corresponding to the object information from a preset model set.
  • this step uses the object information in the prediction request to obtain data from the preset model set.
  • the time series model and the non-time series model corresponding to the object information wherein the time series model is used to predict the behavior or state of the object (for example, compliance, recovery possibility, etc.) from the dimension of the time series information
  • Time-series prediction information where the non-time-series model is used to predict the behavior or state (for example, compliance, recovery possibility, etc.) of the object from the dimension of the non-time-series information to obtain non-time-series prediction information.
  • the time series model and the non-time series model trained through the training sample corresponding to the object information (for example, the training sample of the object information is diabetes) , Used to predict the forecast request.
  • S203 Perform a time sequence characterization process on the time sequence information in the prediction request to obtain a time sequence feature.
  • this step is to perform the time series characterization process on the time series information to obtain the time series characteristics displayed in the form of vectors, so that the neural network model can learn the time series through the time series characteristics The content of the information, and predict the time series prediction results based on the content.
  • sequence characterization process includes the following steps:
  • S31 Split the timing information according to a preset split rule to obtain at least one timing sub-information.
  • the splitting rule is a method of splitting information preset by the user.
  • the splitting rule is to treat the information corresponding to the same medical visit order as an independent time sequence sub-information.
  • the first sequence sub-information is as follows:
  • the second sequence sub-information is as follows:
  • the third sequence sub-information is as follows:
  • the fourth sequence sub-information is as follows:
  • the timing threshold can be set by the user, for example: 5.
  • this step provides zero-padded sub-information when the timing sub-information does not reach the timing threshold to ensure that the timing model can be normal Run to ensure the accuracy of the output timing prediction results.
  • the number of timing sub-information obtained is 4, and the timing threshold is 5. Therefore, it is necessary to create a zero-padded sub-information as follows:
  • S35 Extract the timing sub-information in the sub-information set, and identify the vector value corresponding to each data item in the timing sub-information through a preset timing vector table, and according to the data item in the timing sub-information Arrange the vector values corresponding to each of the data items to obtain the time sequence sub-features corresponding to the time sequence sub-information; wherein, the data item is an indivisible minimum unit in the time sequence sub-information.
  • the time series vector table is formulated by the user according to needs, and has a data information table with the mapping relationship between each data item and the vector value in the time series sub-information.
  • the vector value corresponding to the first time is 0.1
  • the vector value corresponding to drug A is 0.2
  • the vector value of the combination of headache and nausea is 0.3
  • the time sequence word vector obtained is:
  • the first to fourth timing information's timing sub-features and the zero-padded sub-feature are obtained, and the following timing features are obtained:
  • S204 Extract the time series feature corresponding to the time series information in the prediction request, and call a preset time series model to calculate the time series feature to obtain a time series prediction result.
  • this step calculates the time series characteristics corresponding to the time series information through the preset time series model, so as to accurately and quickly obtain the object corresponding to the time series information in the dimension of the time series information. Time series forecast results.
  • the LSTM (Long Short Term Memory) model is used as the time series model, and the initial LSTM model is trained through preset time series samples to obtain the time series model, and the time series samples include vectors representing the content of the time series samples.
  • the time series feature sample and the compliance value reflecting the object corresponding to the time series sample wherein the time series feature sample is used as the input vector of the initial LSTM model, the compliance value is used as the training target of the initial LSTM model, and the compliance value
  • the value is expressed as a decimal number less than or equal to 1 between 0-1 to reflect the degree of compliance of the patient to the doctor. Therefore, in this step, the patient's time series information is calculated to predict the patient's compliance value, that is, the time series prediction result.
  • LSTM Long Short-Term Memory
  • the process and operating principle belong to the prior art, and those skilled in the art can train and use the LSTM model through the prior art. Therefore, the training process and operating principle of the LSTM model will not be described in detail here.
  • the compliance (Patient compliance/Treatment compliance) is also called compliance, which refers to the treatment of the subject (i.e., the patient) according to the doctor's prescription and the execution of behavior consistent with the doctor's order.
  • the compliance value refers to the subject's treatment in accordance with the regulations, And the quantified degree of performing the behavior consistent with the doctor's order, for example: 0.5, which means that the patient's treatment to the doctor, and the degree of completion of the execution of the doctor's order is 50%.
  • S205 Perform non-sequential characterization processing on the non-sequential information in the prediction request to obtain non-sequential features.
  • this step uses non-time-series characterization processing on the non-time-series information to obtain non-time-series features in the form of vectors, so that the neural network model can pass
  • the non-sequential feature learns the content of the non-sequential information, and predicts based on the content to obtain the non-sequential prediction result.
  • the non-sequential characterization processing includes the following steps:
  • S51 Identify the vector value corresponding to each data item in the non-sequential information through a preset non-sequential vector table, where the data item is an indivisible minimum unit in the non-sequential sub-information.
  • the non-sequential vector table is formulated by the user according to needs, and has a data information table with the mapping relationship between each data item and the vector value in the non-sequential sub-information.
  • the non-sequential information is as follows:
  • the vector value corresponding to gender male is 1
  • the vector value corresponding to age 28 is 0.28
  • the vector value corresponding to ethnicity is Han
  • the vector value is 0, education level is undergraduate
  • the vector value is 0.5
  • occupation is corresponding to engineer
  • the vector value is 0.03
  • the vector value corresponding to the marital status being unmarried is 0.1
  • the vector value corresponding to the smoking status being non-smoking is 1.
  • S206 Extract the non-time-series feature corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series feature to obtain a non-time-series prediction result.
  • this step calculates the non-sequential features corresponding to the non-sequential information through the preset non-sequential model, so as to accurately and quickly obtain the non-sequential information in the dimension
  • the non-time-series prediction result of the object corresponding to the non-time-series information is calculated.
  • a deep neural network composed of multiple fully-connected layers (FC) is used as the non-sequential model, and the deep neural network is trained through preset non-sequential samples to obtain the results.
  • FC fully-connected layers
  • the non-time-series samples include non-time-series feature samples that represent the content of the non-time-series samples in the form of vectors, and a compliance value reflecting the object corresponding to the non-time-series samples, wherein the non-time-series feature samples are used as the initial deep neural network model Input vector, the adherence value is used as the training target of the initial deep neural network model, and the adherence value is expressed as any decimal between 0-1 and less than or equal to 1, to reflect the degree of compliance of the patient to the doctor . Therefore, in this step, the patient's non-sequential information is calculated to predict the patient's compliance value, that is, the non-sequential prediction result.
  • FC fully connected layers
  • the compliance is also called compliance, which refers to the treatment of the subject (i.e., the patient) according to the doctor's prescription and the execution of behavior consistent with the doctor's order.
  • the compliance value refers to the subject's treatment in accordance with the regulations, And the quantified degree of performing the behavior consistent with the doctor's order, for example: 0.5, which means that the patient's treatment to the doctor, and the degree of completion of the execution of the doctor's order is 50%.
  • S207 Calculate the time series prediction result and the non-time series prediction result through a preset prediction model to obtain prediction information.
  • this step uses the prediction model to compare the time series prediction results and non-time series prediction results, and obtains that both time series information and time series information are considered.
  • the prediction information of non-time series information improves the accuracy of the prediction.
  • the objective function of the prediction model is a geometric mean function, as follows:
  • M is the prediction information
  • Scoe1 is the time series prediction result
  • Scoe2 is the non-time series prediction result.
  • the time series prediction result of object A is 0.4, the non-time series prediction result is 0.4; the time series prediction result of object B is 0.1, and the non-time series prediction result is 0.9; if the average method is used, the prediction information of object A is 0.4, and the object The prediction information of B is 0.5. That is to say, object B, which has a large difference between the time series prediction result and the non-time series prediction result and is unstable, is more compliant than object A, which is obviously unreasonable in reality. Using the prediction model in this step, it will be obtained that the prediction information of object A is 0.4 and the prediction information of object B is 0.3, which is obviously more in line with reality, thereby improving the accuracy of prediction.
  • the method includes:
  • the corresponding summary information is obtained based on the prediction information.
  • the summary information is obtained by hashing the prediction information, for example, obtained by using the sha256s algorithm.
  • Uploading summary information to the blockchain can ensure its security and fairness and transparency to users.
  • the user equipment can download the summary information from the blockchain in order to verify whether the predicted information has been tampered with.
  • the blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • a multi-dimensional information combination prediction apparatus 1 of this embodiment includes:
  • the input module 11 is used to receive the prediction request sent by the user terminal;
  • the time series prediction module 14 is used to extract the time series feature corresponding to the time series information in the prediction request, and call a preset time series model to calculate the time series feature to obtain a time series prediction result;
  • the non-time-series prediction module 16 is configured to extract the non-time-series feature corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series feature to obtain a non-time-series prediction result;
  • the comprehensive prediction module 17 is configured to calculate the time series prediction result and the non-time series prediction result through a preset prediction model to obtain prediction information.
  • the multi-dimensional information combination prediction device 1 further includes:
  • the model selection module 12 is configured to extract the object information in the prediction request, and obtain a time series model and a non-time series model corresponding to the object information from a preset model set.
  • the multi-dimensional information combination prediction device 1 further includes:
  • the timing processing module 13 is used to perform timing characterization processing on the timing information in the prediction request to obtain timing characteristics.
  • the multi-dimensional information combination prediction device 1 further includes:
  • the non-sequential processing module 15 is configured to perform non-sequential characterization processing on the non-sequential information in the prediction request to obtain non-sequential features.
  • the technical solution is applied to the field of intelligent decision-making of artificial intelligence, and it is constructed to call the time series model constructed based on the neural network to calculate the time series feature to obtain the time series prediction result, and to call the non-time series model constructed based on the neural network to calculate the non-time series feature Obtain a non-time-series prediction result, and calculate the time-series prediction result and the non-time-series prediction result through a prediction model to obtain a multi-dimensional prediction model of prediction information.
  • this application also provides a computer device 5.
  • the components of the multi-dimensional information combination prediction device 1 of the third embodiment can be dispersed in different computer devices.
  • the computer device 5 can be a smart phone that executes a program, Tablet computers, notebook computers, desktop computers, rack servers, blade servers, tower servers or cabinet servers (including independent servers, or server clusters composed of multiple application servers), etc.
  • the computer device in this embodiment at least includes but is not limited to: a memory 51 and a processor 52 that can be communicatively connected to each other through a system bus, as shown in FIG. 7. It should be pointed out that FIG. 7 only shows a computer device with components, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
  • the memory 51 (ie, readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), Read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, etc.
  • the memory 51 may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device.
  • the memory 51 may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, SMC), and a Secure Digital (SD).
  • SD Secure Digital
  • the memory 51 may also include both the internal storage unit of the computer device and its external storage device.
  • the memory 51 is generally used to store the operating system and various application software installed in the computer equipment, such as the program code of the multi-dimensional information combination prediction device of the third embodiment, and so on.
  • the memory 51 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 52 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips.
  • the processor 52 is generally used to control the overall operation of the computer equipment.
  • the processor 52 is used to run program codes or process data stored in the memory 51, for example, to run a combined prediction device for multi-dimensional information, to implement the multi-dimensional information combined prediction method of the first and second embodiments.
  • the combined prediction method of multi-dimensional information includes:
  • the prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
  • the computer-readable storage medium may be volatile or non-volatile, such as flash memory, hard disk, multimedia card, Card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable Read-only memory (PROM), magnetic memory, magnetic disks, optical disks, servers, App application malls, etc., have computer programs stored thereon, and corresponding functions are realized when the programs are executed by the processor 52.
  • the computer-readable storage medium of this embodiment is used to store the combined prediction device of multi-dimensional information. When executed by the processor 52, the combined prediction method of multi-dimensional information of Embodiment 1 and Embodiment 2 is realized.
  • the combination of the multi-dimensional information Forecasting methods include:
  • the prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.

Abstract

Provided are a multi-dimensional information combination prediction method, apparatus, computer device, and medium, relating to the technical field of artificial intelligence. Comprised are: receiving a prediction request sent by a user terminal (S101); extracting a time series feature corresponding to time series information in the prediction request, and invoking a preset time series model to calculate the time series feature to obtain a time series prediction result (S104); extracting non-time-series features corresponding to the non-time-series information in the prediction request, and invoking a preset non-time-series model to calculate the non-time-series feature to obtain a non-time-series prediction result (S106); calculating the time series prediction result and the non-time-series prediction result by means of a preset prediction model to obtain prediction information (S107). The invention also relates to blockchain technology; information can be stored in blockchain nodes. The invention achieves multi-dimensional prediction of prediction requests, improving the comprehensiveness of the prediction reference dimensions, and thus increasing the accuracy of prediction.

Description

多维度信息的组合预测方法、装置、计算机设备及介质Multi-dimensional information combination prediction method, device, computer equipment and medium
本申请要求于2020年9月4日递交的申请号为CN 202010920980.2、名称为“多维度信息的组合预测方法、装置、计算机设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on September 4, 2020, with the application number CN 202010920980.2 and titled "Multi-dimensional information combination prediction method, device, computer equipment and medium", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及人工智能的智能决策技术领域,并涉及智能决策技术领域的神经网络技术,尤其涉及一种多维度信息的组合预测方法、装置、计算机设备及介质。This application relates to the field of artificial intelligence intelligent decision-making technology, and relates to neural network technology in the field of intelligent decision-making technology, and in particular to a combination prediction method, device, computer equipment and medium of multi-dimensional information.
背景技术Background technique
预测模型是指根据数学语言或公式所描述的事物间的数量关系,并根据该关系预测对象未来行为或状态的计算机模型,其在一定程度上揭示了事物间的内在规律性,预测时把它作为计算预测值的直接依据。A predictive model refers to a computer model that predicts the future behavior or state of an object based on the quantitative relationship between things described in mathematical language or formulas. It reveals the inherent regularity of things to a certain extent, and it is used when predicting. As a direct basis for calculating the predicted value.
当前的预测模型通常是采用单一维度的数据对目标对象进行预测,一般为采用时序信息(如:动态信息)在时序维度(可视为动态维度)上对目标对象进行预测,或采用非时序信息(如:静态信息)在非时序维度(可视为静态维度)上对目标对象进行预测。发明人意识到,采用单一维度对目标对象进行预测的方法,无法全面的对目标对象进行考量,导致预测准确度较低。Current prediction models usually use single-dimensional data to predict the target object. Generally, time series information (such as dynamic information) is used to predict the target object in a time series dimension (can be regarded as a dynamic dimension), or non-time series information is used. (Such as static information) predict the target object in a non-time-series dimension (which can be regarded as a static dimension). The inventor realizes that the method of using a single dimension to predict the target object cannot comprehensively consider the target object, resulting in low prediction accuracy.
发明内容Summary of the invention
本申请的目的是提供一种多维度信息的组合预测方法、装置、计算机设备及介质,用于解决现有技术存在的无法全面的对目标对象进行考量导致预测准确度较低的问题;本申请可应用于智慧医疗场景中,从而推动智慧城市的建设。The purpose of this application is to provide a combination prediction method, device, computer equipment and medium of multi-dimensional information, which are used to solve the problem of low prediction accuracy due to the inability to comprehensively consider the target object in the prior art; this application It can be applied to smart medical scenarios to promote the construction of smart cities.
为实现上述目的,本申请提供一种多维度信息的组合预测方法,包括:In order to achieve the above objective, this application provides a combined prediction method of multi-dimensional information, including:
接收用户端发送的预测请求;Receive the prediction request sent by the client;
提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;Extracting the timing feature corresponding to the timing information in the prediction request, calling a preset timing model to calculate the timing feature to obtain a timing prediction result;
提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;Extracting the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
为实现上述目的,本申请还提供一种多维度信息的组合预测装置,包括:In order to achieve the above objective, this application also provides a multi-dimensional information combined prediction device, including:
输入模块,用于接收用户端发送的预测请求;The input module is used to receive the prediction request sent by the user terminal;
时序预测模块,用于提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;The time series prediction module is used to extract the time series feature corresponding to the time series information in the prediction request, call a preset time series model to calculate the time series feature to obtain a time series prediction result;
非时序预测模块,用于提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;The non-time-series prediction module is configured to extract the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
综合预测模块,用于通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The comprehensive prediction module is used to calculate the time series prediction result and the non-time series prediction result through a preset prediction model to obtain prediction information.
为实现上述目的,本申请还提供一种计算机设备,其包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述计算机设备的处理器执行所述计算机程序时实现多维度信息的组合预测方法,所述多维度信息的组合预测方法包括:In order to achieve the above objective, this application also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. The processor of the computer device executes the computer program. The combined prediction method of multi-dimensional information, the combined prediction method of multi-dimensional information includes:
接收用户端发送的预测请求;Receive the prediction request sent by the client;
提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;Extracting the timing feature corresponding to the timing information in the prediction request, calling a preset timing model to calculate the timing feature to obtain a timing prediction result;
提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;Extracting the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
为实现上述目的,本申请还提供一种计算机可读存储介质,所述可读存储介质上存储有计算机程序,所述可读存储介质存储的所述计算机程序被处理器执行时实现多维度信息的组合预测方法,所述多维度信息的组合预测方法包括:In order to achieve the above objective, the present application also provides a computer-readable storage medium with a computer program stored on the readable storage medium, and the computer program stored in the readable storage medium realizes multi-dimensional information when executed by a processor. The combined prediction method of multi-dimensional information includes:
接收用户端发送的预测请求;Receive the prediction request sent by the client;
提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;Extracting the timing feature corresponding to the timing information in the prediction request, calling a preset timing model to calculate the timing feature to obtain a timing prediction result;
提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;Extracting the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
本申请提供的多维度信息的组合预测方法、装置、计算机设备及介质,通过时序模型计算时序信息对应的时序特征,以在时序信息的维度上准确快速的得到时序信息对应的对象的时序预测结果,通过非时序模型计算非时序信息对应的非时序特征,以在非时序信息的维度上准确快速的得到非时序信息对应的对象的非时序预测结果,通过预测模型对所述时序预测结果和非时序预测结果,得到同时考量了时序信息和非时序信息的预测信息,实现了多维度对预测请求进行预测,提升了预测参考维度的全面性,进而提高了预测的准确度。The combined prediction method, device, computer equipment, and medium of multi-dimensional information provided in this application calculate the time series characteristics corresponding to the time series information through the time series model, so as to accurately and quickly obtain the time series prediction result of the object corresponding to the time series information in the dimension of the time series information. Calculate the non-time-series features corresponding to the non-time-series information through the non-time-series model, so as to accurately and quickly obtain the non-time-series prediction results of the objects corresponding to the non-time-series information in the dimension of the non-time-series information. The time-series forecast result obtains forecast information that takes into account both time-series information and non-time-series information, realizes multi-dimensional forecasting of forecast requests, improves the comprehensiveness of the forecast reference dimensions, and thereby improves the accuracy of the forecast.
附图说明Description of the drawings
图1为本申请多维度信息的组合预测方法实施例一的流程图;FIG. 1 is a flowchart of Embodiment 1 of a combined prediction method for multi-dimensional information according to this application;
图2为本申请多维度信息的组合预测方法实施例二中多维度信息的组合预测方法的环境应用示意图;2 is a schematic diagram of the environmental application of the multi-dimensional information combination prediction method in Embodiment 2 of the multi-dimensional information combination prediction method of this application;
图3是本申请多维度信息的组合预测方法实施例二中多维度信息的组合预测方法的具体方法流程图;FIG. 3 is a specific method flow chart of the combined prediction method of multi-dimensional information in the second embodiment of the combined prediction method of multi-dimensional information according to the present application;
图4是本申请多维度信息的组合预测方法实施例二中时序特征化处理的流程图;4 is a flowchart of the time sequence characterization process in the second embodiment of the combined prediction method for multi-dimensional information according to the present application;
图5是本申请多维度信息的组合预测方法实施例二中非时序特征化处理的流程图;FIG. 5 is a flowchart of non-time-series characterization processing in Embodiment 2 of the combined prediction method for multi-dimensional information of the present application;
图6为本申请多维度信息的组合预测装置实施例三的程序模块示意图;6 is a schematic diagram of program modules of Embodiment 3 of a combined prediction apparatus for multi-dimensional information of this application;
图7为本申请计算机设备实施例四中计算机设备的硬件结构示意图。FIG. 7 is a schematic diagram of the hardware structure of the computer device in the fourth embodiment of the computer device of this application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions, and advantages of this application clearer and clearer, the following further describes the application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and are not used to limit the application. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
现提供以下实施例:The following examples are now provided:
实施例一:Example one:
请参阅图1,本实施例的一种多维度信息的组合预测方法,包括:Please refer to FIG. 1. The combined prediction method of multi-dimensional information in this embodiment includes:
S101:接收用户端发送的预测请求;S101: Receive a prediction request sent by the user terminal;
S104:提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;S104: Extract the time series feature corresponding to the time series information in the prediction request, call a preset time series model to calculate the time series feature to obtain a time series prediction result;
S106:提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;S106: Extract the non-time-series feature corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series feature to obtain a non-time-series prediction result;
S107:通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。S107: Calculate the time series prediction result and the non-time series prediction result through a preset prediction model to obtain prediction information.
于本实施例中,所述预测请求具有对象信息、时序信息和非时序信息。所述对象信息是预测请求对应的对象的类型;示例性地,所述类型可为所述对象(如:患者)所得的病症名称,如:糖尿病、心脏病、心肌梗塞等。所述时序信息是预测请求对应的对象随时间推移而累加的状态数据,所述状态数据反映了所述对象的行为和形态,示例性地,患者(即所述对象)在多次就诊所得到的状态数据,其中,行为可为患者得到的处方用药,形态可为患者的症状及关键检验检查值。In this embodiment, the prediction request has object information, time series information, and non-time series information. The object information is the type of the object corresponding to the prediction request; for example, the type may be the name of the disease obtained by the object (such as a patient), such as diabetes, heart disease, and myocardial infarction. The time sequence information is the state data accumulated over time by the object corresponding to the prediction request, and the state data reflects the behavior and shape of the object. The state data, where the behavior can be the prescription medication obtained by the patient, and the form can be the patient’s symptoms and key inspection values.
通过时序模型计算时序信息对应的时序特征,以在时序信息的维度上准确快速的得到时序信息对应的对象的时序预测结果,通过非时序模型计算非时序信息对应的非时序特征,以在非时序信息的维度上准确快速的得到非时序信息对应的对象的非时序预测结果,通过预测模型对所述时序预测结果和非时序预测结果,得到同时考量了时序信息和非时序信息的预测信息,实现了多维度对预测请求进行预测,提升了预测参考维度的全面性,进而提高了预测的准确度。Calculate the time series characteristics corresponding to the time series information through the time series model to accurately and quickly obtain the time series prediction results of the objects corresponding to the time series information in the dimension of the time series information. In the dimension of information, the non-time-series prediction results of the objects corresponding to the non-time-series information are obtained accurately and quickly, and the time-series prediction results and non-time-series prediction results are obtained through the prediction model, and the prediction information that takes into account both the time-series information and the non-time-series information is obtained. The forecast request is forecasted in multiple dimensions, which improves the comprehensiveness of the forecast reference dimensions, and thus improves the accuracy of the forecast.
本申请可应用于智慧医疗场景中,从而推动智慧城市的建设。This application can be applied in smart medical scenarios to promote the construction of smart cities.
实施例二:Embodiment two:
本实施例为上述实施例一的一种具体应用场景,通过本实施例,能够更加清楚、具体地阐述本申请所提供的方法。This embodiment is a specific application scenario of the foregoing Embodiment 1. Through this embodiment, the method provided by this application can be described more clearly and specifically.
下面,以在运行有多维度信息的组合预测方法的服务器中,对时序特征进行计算得到时序预测结果,及对非时序特征进行计算得到非时序预测结果,再计算所述时序预测结果和非时序预测结果得到预测信息为例,来对本实施例提供的方法进行具体说明。需要说明的是,本实施例只是示例性的,并不限制本申请实施例所保护的范围。Next, in a server running the combined prediction method with multi-dimensional information, the time series feature is calculated to obtain the time series prediction result, and the non-time series feature is calculated to obtain the non-time series prediction result, and then the time series prediction result and the non-time series prediction result are calculated. The prediction information obtained from the prediction result is taken as an example to illustrate the method provided in this embodiment in detail. It should be noted that this embodiment is only exemplary, and does not limit the protection scope of the embodiment of this application.
图2示意性示出了根据本申请实施例二的多维度信息的组合预测方法的环境应用示意图。Fig. 2 schematically shows an environmental application diagram of the multi-dimensional information combination prediction method according to the second embodiment of the present application.
在示例性的实施例中,多维度信息的组合预测方法所在的认证服务器2通过网络3分别连接用户端4,所述服务器2可以通过一个或多个网络3提供服务,网络3可以包括各种网络设备,例如路由器,交换机,多路复用器,集线器,调制解调器,网桥,中继器,防火墙,代理设备和/或等等。网络3可以包括物理链路,例如同轴电缆链路,双绞线电缆链路,光纤链路,它们的组合和/或类似物。网络3可以包括无线链路,例如蜂窝链路,卫星链路,Wi-Fi链路和/或类似物;所述用户端4可为智能手机、平板电脑、笔记本电脑、台式电脑等计算机设备。In an exemplary embodiment, the authentication server 2 where the multi-dimensional information combination prediction method is located is connected to the user terminal 4 through the network 3, and the server 2 may provide services through one or more networks 3, and the network 3 may include various Network equipment, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices and/or etc. The network 3 may include physical links, such as coaxial cable links, twisted pair cable links, optical fiber links, combinations thereof, and/or the like. The network 3 may include a wireless link, such as a cellular link, a satellite link, a Wi-Fi link, and/or the like; the user terminal 4 may be a computer device such as a smart phone, a tablet computer, a notebook computer, and a desktop computer.
图3是本申请一个实施例提供的一种多维度信息的组合预测方法的具体方法流程图,该方法具体包括步骤S201至S207。FIG. 3 is a specific method flowchart of a multi-dimensional information combined prediction method provided by an embodiment of the present application. The method specifically includes steps S201 to S207.
S201:接收用户端发送的预测请求;其中,所述预测请求具有对象信息、时序信息和非时序信息。S201: Receive a prediction request sent by a user terminal; where the prediction request has object information, time sequence information, and non-time sequence information.
所述对象信息是预测请求对应的对象的类型;示例性地,所述类型可为所述对象(如:患者)所得的病症名称,如:糖尿病、心脏病、心肌梗塞等。The object information is the type of the object corresponding to the prediction request; for example, the type may be the name of the disease obtained by the object (such as a patient), such as diabetes, heart disease, and myocardial infarction.
所述时序信息是预测请求对应的对象随时间推移而累加的状态数据,所述状态数据反映了所述对象的行为和形态,示例性地,患者(即所述对象)在多次就诊所得到的状态数据,其中,行为可为患者得到的处方用药,形态可为患者的症状及关键检验检查值。The time sequence information is the state data accumulated over time by the object corresponding to the prediction request, and the state data reflects the behavior and shape of the object. The state data, among which the behavior can be the prescription medication obtained by the patient, and the shape can be the patient’s symptoms and key inspection values.
例如,假设患者因其病痛进行了五次就诊,得到了五次医师对患者进行诊断而给出的时序信息,如下表所示:For example, suppose that the patient has five visits due to his illness, and the time sequence information given by the physician for the diagnosis of the patient is obtained five times, as shown in the following table:
就诊次序Order of visits 处方用药Prescription medication 患者症状Patient symptoms 关键检验检查值Critical inspection check value
第一次the first time A药Medicine A 头痛、恶心Headache, nausea 心率:M1 血压:N1Heart rate: M1 Blood pressure: N1
第二次the second time A药、B药Medicine A, Medicine B 头痛Headache 心率:M2 血压:N2Heart rate: M2 Blood pressure: N2
第三次the third time B药Medicine B 轻微头痛,恶心Mild headache, nausea 心率:M3 血压:N3Heart rate: M3 Blood pressure: N3
第四次the fourth time C药C medicine 轻微头痛Mild headache 心率:M4 血压:N4Heart rate: M4 Blood pressure: N4
所述非时序信息是预测请求中反映预测请求对应的对象的属性数据;示例性地,所述属性数据可为所述对象(如:患者)的个人基本情况,如:身份信息、社会信息、生活习惯等,其中,所述身份信息可包括:性别、年龄、民族;所述社会信息可包括:受教育程度、职业;生活习惯可包括:吸烟状况。The non-chronological information is the attribute data of the object corresponding to the prediction request reflected in the prediction request; for example, the attribute data may be the basic personal information of the object (such as the patient), such as identity information, social information, Living habits, etc., where the identity information may include: gender, age, and ethnicity; the social information may include: education level, occupation; and living habits may include: smoking status.
例如:得到张三(即所述对象)的属性数据,如下表所示:For example: get the attribute data of Zhang San (that is, the object), as shown in the following table:
性别gender 年龄age 民族nationality 受教育程度education level 职业profession 婚姻情况Marital status 吸烟状况Smoking status
male 2828 Chinese 本科Undergraduate 工程师engineer 未婚unmarried 不吸烟do not smoke
S202:提取预测请求中的对象信息,从预设的模型集合中获取与所述对象信息对应时序模型和非时序模型。S202: Extract the object information in the prediction request, and obtain a time series model and a non-time series model corresponding to the object information from a preset model set.
为保证能够对不同类型的预测请求进行有针对性的计算和预测,以提高该预测请求对应的对象的预测准确度,本步骤通过预测请求中的对象信息,从预设的模型集合中获取与所述对象信息对应的时序模型和非时序模型,其中,所述时序模型用于从所述时序信息的维度对所述对象的行为或状态(例如:依从性、痊愈可能性等)进行预测得到时序预测信息,所述非时序模型用于从非时序信息的维度对所述对象的行为或状态(例如:依从性、痊愈可能性等)进行预测得到非时序预测信息。In order to ensure targeted calculations and predictions for different types of prediction requests, so as to improve the prediction accuracy of the objects corresponding to the prediction requests, this step uses the object information in the prediction request to obtain data from the preset model set. The time series model and the non-time series model corresponding to the object information, wherein the time series model is used to predict the behavior or state of the object (for example, compliance, recovery possibility, etc.) from the dimension of the time series information Time-series prediction information, where the non-time-series model is used to predict the behavior or state (for example, compliance, recovery possibility, etc.) of the object from the dimension of the non-time-series information to obtain non-time-series prediction information.
示例性地,如果提取到的对象信息为糖尿病,那么就从模型集合中,将预通过该对象信息所对应的训练样本(如:对象信息为糖尿病的训练样本)训练的时序模型和非时序模型,用于预测该预测请求。Exemplarily, if the extracted object information is diabetes, then from the model set, the time series model and the non-time series model trained through the training sample corresponding to the object information (for example, the training sample of the object information is diabetes) , Used to predict the forecast request.
S203:对所述预测请求中的时序信息进行时序特征化处理得到时序特征。S203: Perform a time sequence characterization process on the time sequence information in the prediction request to obtain a time sequence feature.
为便于通过神经网络模型对时序信息进行计算得到所需的时序预测结果,本步骤通过对时序信息进行时序特征化处理得到以向量形式展现的时序特征,以便于神经网络模型通过该时序特征获知时序信息的内容,并根据该内容进行预测得到时序预测结果。In order to facilitate the calculation of the time series information through the neural network model to obtain the required time series prediction results, this step is to perform the time series characterization process on the time series information to obtain the time series characteristics displayed in the form of vectors, so that the neural network model can learn the time series through the time series characteristics The content of the information, and predict the time series prediction results based on the content.
在一个优选的实施例中,请参阅图4,所述时序特征化处理包括以下步骤:In a preferred embodiment, referring to FIG. 4, the sequence characterization process includes the following steps:
S31:根据预设的拆分规则拆分所述时序信息得到至少一个时序子信息。S31: Split the timing information according to a preset split rule to obtain at least one timing sub-information.
本步骤中,所述拆分规则是由使用者预置的拆分信息的方法,于本实施例中,所述拆分规则是将同一就诊次序对应的信息作为一个独立的时序子信息,以对所述时序信息进行拆分,基于上述举例,将得到如下的时序子信息:In this step, the splitting rule is a method of splitting information preset by the user. In this embodiment, the splitting rule is to treat the information corresponding to the same medical visit order as an independent time sequence sub-information. By splitting the timing information, based on the above example, the following timing sub-information will be obtained:
第一时序子信息,如下:The first sequence sub-information is as follows:
就诊次序Order of visits 处方用药Prescription medication 患者症状Patient symptoms 关键检验检查值Critical inspection check value
第一次the first time A药Medicine A 头痛、恶心Headache, nausea 心率:M1 血压:N1Heart rate: M1 Blood pressure: N1
第二时序子信息,如下:The second sequence sub-information is as follows:
就诊次序Order of visits 处方用药Prescription medication 患者症状Patient symptoms 关键检验检查值Critical inspection check value
第二次the second time A药、B药Medicine A, Medicine B 头痛Headache 心率:M2 血压:N2Heart rate: M2 Blood pressure: N2
第三时序子信息,如下:The third sequence sub-information is as follows:
就诊次序Order of visits 处方用药Prescription medication 患者症状Patient symptoms 关键检验检查值Critical inspection check value
第三次the third time B药Medicine B 轻微头痛,恶心Mild headache, nausea 心率:M3 血压:N3Heart rate: M3 Blood pressure: N3
第四时序子信息,如下:The fourth sequence sub-information is as follows:
就诊次序Order of visits 处方用药Prescription medication 患者症状Patient symptoms 关键检验检查值Critical inspection check value
第四次the fourth time C药C medicine 轻微头痛Mild headache 心率:M4 血压:N4Heart rate: M4 Blood pressure: N4
S32:判断得到的时序子信息的数量是否达到预设的时序阈值;S32: Determine whether the number of obtained timing sub-information reaches a preset timing threshold;
本步骤中,所述时序阈值可由使用者自行设置,例如:5。In this step, the timing threshold can be set by the user, for example: 5.
S33:若是,则汇总所述时序子信息获得子信息集合。S33: If yes, summarize the sequence sub-information to obtain a sub-information set.
S34:若否,则创制补零子信息并将其与所述时序子信息汇总得到子信息集合,使所述子信息集合中补零子信息及时序子信息的数量达到所述时序阈值。S34: If not, create zero-padded sub-information and summarize it with the timing sub-information to obtain a sub-information set, so that the number of zero-padded sub-information and timing sub-information in the sub-information set reaches the timing threshold.
为保证得到的时序特征能够被预置的时序模型计算并最终输出更为准确的时序预测结果,本步骤通过对时序子信息未达到时序阈值的情况提供补零子信息,以保证时序模型能够正常运行,进而保证输出的时序预测结果的准确性。In order to ensure that the obtained timing features can be calculated by the preset timing model and finally output more accurate timing prediction results, this step provides zero-padded sub-information when the timing sub-information does not reach the timing threshold to ensure that the timing model can be normal Run to ensure the accuracy of the output timing prediction results.
示例性地,基于上述举例,得到的时序子信息的数量为4,而时序阈值为5,因此需要创制一个补零子信息,如下:Exemplarily, based on the above example, the number of timing sub-information obtained is 4, and the timing threshold is 5. Therefore, it is necessary to create a zero-padded sub-information as follows:
就诊次序Order of visits 处方用药Prescription medication 患者症状Patient symptoms 关键检验检查值Critical inspection check value
00 00 00 00
S35:提取所述子信息集合中的时序子信息,并通过预置的时序向量表识别所述时序子 信息中各数据项所对应的向量值,根据所述数据项在所述时序子信息中的位置排列各所述数据项对应的向量值,得到所述时序子信息对应的时序子特征;其中,所述数据项是所述时序子信息中的不可分割的最小单位。S35: Extract the timing sub-information in the sub-information set, and identify the vector value corresponding to each data item in the timing sub-information through a preset timing vector table, and according to the data item in the timing sub-information Arrange the vector values corresponding to each of the data items to obtain the time sequence sub-features corresponding to the time sequence sub-information; wherein, the data item is an indivisible minimum unit in the time sequence sub-information.
本步骤中,所述时序向量表是由使用者根据需要制定的,具有时序子信息中各数据项与向量值的映射关系的数据信息表。In this step, the time series vector table is formulated by the user according to needs, and has a data information table with the mapping relationship between each data item and the vector value in the time series sub-information.
示例性地,基于上述方案以第一时序信息举例:Exemplarily, taking the first sequence information as an example based on the above solution:
就诊次序Order of visits 处方用药Prescription medication 患者症状Patient symptoms 关键检验检查值Critical inspection check value
第一次the first time A药Medicine A 头痛、恶心Headache, nausea 心率:M1 血压:N1Heart rate: M1 Blood pressure: N1
若在时序向量表中,第一次对应的向量值为0.1,A药对应的向量值为0.2,头痛和恶心所构成的组合的向量值为0.3,心率:M1及血压:N1对应的向量值为0.1,那么得到的时序字向量为:If in the time series vector table, the vector value corresponding to the first time is 0.1, the vector value corresponding to drug A is 0.2, the vector value of the combination of headache and nausea is 0.3, the vector value corresponding to heart rate: M1 and blood pressure: N1 Is 0.1, then the time sequence word vector obtained is:
{0.1,0.2,0.3,0.1}{0.1,0.2,0.3,0.1}
示例性地,基于上述方案以第二时序信息举例:Exemplarily, taking the second sequence information as an example based on the above solution:
就诊次序Order of visits 处方用药Prescription medication 患者症状Patient symptoms 关键检验检查值Critical inspection check value
第二次the second time A药、B药Medicine A, Medicine B 头痛Headache 心率:M2 血压:N2Heart rate: M2 Blood pressure: N2
第二次对应的向量值为0.2,A药和B药对应的向量值为0.25,头痛所构成的组合的向量值为0.2,心率:M2及血压:N2对应的向量值为0.15,那么得到的时序字向量为:The second time the corresponding vector value is 0.2, the vector value corresponding to drug A and drug B is 0.25, the vector value of the combination of headache is 0.2, and the vector value corresponding to heart rate: M2 and blood pressure: N2 is 0.15, then you get The time series word vector is:
{0.2,0.25,0.2,0.15}{0.2,0.25,0.2,0.15}
S36:根据所述时序子信息在所述时序信息中的位置,排列各所述时序子特征得到所述时序信息对应的时序特征。S36: According to the position of the timing sub-information in the timing information, arrange the timing sub-features to obtain the timing feature corresponding to the timing information.
示例性地,基于上述举例得到第一-第四的时序信息的时序子特征以及所述补零子特征,得到如下时序特征:Exemplarily, based on the above examples, the first to fourth timing information's timing sub-features and the zero-padded sub-feature are obtained, and the following timing features are obtained:
Figure PCTCN2020125112-appb-000001
Figure PCTCN2020125112-appb-000001
S204:提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果。S204: Extract the time series feature corresponding to the time series information in the prediction request, and call a preset time series model to calculate the time series feature to obtain a time series prediction result.
为实现快速准确的对时序信息进行预测得到相应的时序预测结果,本步骤通过预设的时序模型计算时序信息对应的时序特征,以在时序信息的维度上准确快速的得到时序信息对应的对象的时序预测结果。In order to quickly and accurately predict the time series information to obtain the corresponding time series prediction results, this step calculates the time series characteristics corresponding to the time series information through the preset time series model, so as to accurately and quickly obtain the object corresponding to the time series information in the dimension of the time series information. Time series forecast results.
于本实施例中,采用LSTM(Long Short Term Memory)模型作为时序模型,通过预置的时序样本对初始LSTM模型进行训练得到所述时序模型,所述时序样本包括以向量形式表征时序样本内容的时序特征样本,及反应所述时序样本对应的对象的依从性值,其中,所述时序特征样本作为初始LSTM模型的输入向量,所述依从性值作为初始LSTM模型的训练目标,所述依从性值是以0-1之间任一小于或等于1的小数表示的,以反映患者对医生的依从性程度。因此,本步骤是通过对患者的时序信息进行计算以预测该患者的依从性值,即所述时序预测结果。In this embodiment, the LSTM (Long Short Term Memory) model is used as the time series model, and the initial LSTM model is trained through preset time series samples to obtain the time series model, and the time series samples include vectors representing the content of the time series samples. The time series feature sample and the compliance value reflecting the object corresponding to the time series sample, wherein the time series feature sample is used as the input vector of the initial LSTM model, the compliance value is used as the training target of the initial LSTM model, and the compliance value The value is expressed as a decimal number less than or equal to 1 between 0-1 to reflect the degree of compliance of the patient to the doctor. Therefore, in this step, the patient's time series information is calculated to predict the patient's compliance value, that is, the time series prediction result.
需要说明的是,LSTM(Long Short-Term Memory)是长短期记忆网络,是一种时间递归神经网络,适合于处理和预测时间序列中间隔和延迟相对较长的重要事件,由于LSTM模型的训练过程和运行原理属于现有技术,本领域技术人员可通过现有技术即可实现训练及运用LSTM模型,因此,LSTM模型的训练过程和运行原理在此不做赘述。所述依从性(Patient compliance/Treatment compliance)也称顺从性,是对象(即:患者)按医生规定进行治疗、及执行与医嘱一致的行为,所述依从性值是指对象按照规定进行治疗、及执行与医嘱 一致的行为的量化程度,例如:0.5,即说明了患者对医生所做的治疗,及执行医嘱的完成度为50%。It should be noted that LSTM (Long Short-Term Memory) is a long and short-term memory network, a time recursive neural network, suitable for processing and predicting important events with relatively long intervals and delays in a time series, due to the training of the LSTM model The process and operating principle belong to the prior art, and those skilled in the art can train and use the LSTM model through the prior art. Therefore, the training process and operating principle of the LSTM model will not be described in detail here. The compliance (Patient compliance/Treatment compliance) is also called compliance, which refers to the treatment of the subject (i.e., the patient) according to the doctor's prescription and the execution of behavior consistent with the doctor's order. The compliance value refers to the subject's treatment in accordance with the regulations, And the quantified degree of performing the behavior consistent with the doctor's order, for example: 0.5, which means that the patient's treatment to the doctor, and the degree of completion of the execution of the doctor's order is 50%.
S205:对所述预测请求中的非时序信息进行非时序特征化处理得到非时序特征。S205: Perform non-sequential characterization processing on the non-sequential information in the prediction request to obtain non-sequential features.
为便于通过神经网络模型对非时序信息进行计算得到所需的非时序预测结果,本步骤通过对非时序信息进行非时序特征化处理得到以向量形式展现的非时序特征,以便于神经网络模型通过该非时序特征获知非时序信息的内容,并根据该内容进行预测得到非时序预测结果。In order to facilitate the calculation of non-time-series information through the neural network model to obtain the required non-time-series prediction results, this step uses non-time-series characterization processing on the non-time-series information to obtain non-time-series features in the form of vectors, so that the neural network model can pass The non-sequential feature learns the content of the non-sequential information, and predicts based on the content to obtain the non-sequential prediction result.
在一个优选的实施例中,请参阅图5,所述非时序特征化处理包括以下步骤:In a preferred embodiment, referring to FIG. 5, the non-sequential characterization processing includes the following steps:
S51:通过预置的非时序向量表识别所述非时序信息中各数据项对应的向量值,其中,所述数据项是所述非时序子信息中的不可分割的最小单位。S51: Identify the vector value corresponding to each data item in the non-sequential information through a preset non-sequential vector table, where the data item is an indivisible minimum unit in the non-sequential sub-information.
本步骤中,所述非时序向量表是由使用者根据需要制定的,具有非时序子信息中各数据项与向量值的映射关系的数据信息表。In this step, the non-sequential vector table is formulated by the user according to needs, and has a data information table with the mapping relationship between each data item and the vector value in the non-sequential sub-information.
S52:根据所述数据项在所述非时序信息中的位置,排列各所述数据项对应的向量值并汇总得到非时序特征。S52: According to the position of the data item in the non-sequential information, arrange the vector values corresponding to each data item and summarize to obtain the non-sequential feature.
示例性地,基于上述举例,非时序信息如下:Exemplarily, based on the above example, the non-sequential information is as follows:
性别gender 年龄age 民族nationality 受教育程度education level 职业profession 婚姻情况Marital status 吸烟状况Smoking status
male 2828 Chinese 本科Undergraduate 工程师engineer 未婚unmarried 不吸烟do not smoke
若非时序向量表中,性别男对应的向量值为1,年龄28对应的向量值为0.28,民族为汉对应的向量值为0,受教育程度为本科的向量值为0.5,职业是工程师对应的向量值为0.03,婚姻状况是未婚对应的向量值为0.1,吸烟状况是不吸烟对应的向量值为1,那么,得到的非时序特征如下:If in the non-time series vector table, the vector value corresponding to gender male is 1, the vector value corresponding to age 28 is 0.28, the vector value corresponding to ethnicity is Han, the vector value is 0, education level is undergraduate, the vector value is 0.5, occupation is corresponding to engineer The vector value is 0.03, the vector value corresponding to the marital status being unmarried is 0.1, and the vector value corresponding to the smoking status being non-smoking is 1. Then, the non-chronological characteristics obtained are as follows:
{1,0.28,0,0.5,0.03,0.1,1}{1,0.28,0,0.5,0.03,0.1,1}
S206:提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果。S206: Extract the non-time-series feature corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series feature to obtain a non-time-series prediction result.
为实现快速准确的对非时序信息进行预测得到相应的非时序预测结果,本步骤通过预设的非时序模型计算非时序信息对应的非时序特征,以在非时序信息的维度上准确快速的得到非时序信息对应的对象的非时序预测结果。In order to achieve fast and accurate prediction of non-sequential information to obtain the corresponding non-sequential prediction results, this step calculates the non-sequential features corresponding to the non-sequential information through the preset non-sequential model, so as to accurately and quickly obtain the non-sequential information in the dimension The non-time-series prediction result of the object corresponding to the non-time-series information.
于本实施例中,采用由多个全连接层(Fully-connected layer,FC)组成的深度神经网络作为所述非时序模型,通过预置的非时序样本对所述深度神经网络进行训练得到所述非时序模型;In this embodiment, a deep neural network composed of multiple fully-connected layers (FC) is used as the non-sequential model, and the deep neural network is trained through preset non-sequential samples to obtain the results. The non-chronological model;
所述非时序样本包括以向量形式表征非时序样本内容的非时序特征样本,及反应所述非时序样本对应的对象的依从性值,其中,所述非时序特征样本作为初始深度神经网络模型的输入向量,所述依从性值作为初始深度神经网络模型的训练目标,所述依从性值是以0-1之间任一小于或等于1的小数表示的,以反映患者对医生的依从性程度。因此,本步骤是通过对患者的非时序信息进行计算以预测该患者的依从性值,即所述非时序预测结果。The non-time-series samples include non-time-series feature samples that represent the content of the non-time-series samples in the form of vectors, and a compliance value reflecting the object corresponding to the non-time-series samples, wherein the non-time-series feature samples are used as the initial deep neural network model Input vector, the adherence value is used as the training target of the initial deep neural network model, and the adherence value is expressed as any decimal between 0-1 and less than or equal to 1, to reflect the degree of compliance of the patient to the doctor . Therefore, in this step, the patient's non-sequential information is calculated to predict the patient's compliance value, that is, the non-sequential prediction result.
需要说明的是,全连接层(fully connected layers,FC)在卷积神经网络技术中起到“分类器”的作用,其用于将获得的“分布式特征表示”映射到样本标记空间的作用。因此,通过构建多个全连接层(Fully-connected layer,FC)所组成的深度神经网络对所述非时序特征进行分类,将起到快速准确的根据非时序信息对患者进行预测得到该患者依从性值(即:非时序预测结果)的效果。It should be noted that fully connected layers (FC) play the role of "classifier" in the convolutional neural network technology, which is used to map the obtained "distributed feature representation" to the sample label space. . Therefore, by constructing a deep neural network composed of multiple fully-connected layers (FC) to classify the non-chronological features, it will quickly and accurately predict the patient's compliance based on the non-chronological information. The effect of performance value (ie: non-chronological prediction result).
因由多个全连接层组成的深度神经网络的训练过程和运行原理属于现有技术,本领域技术人员可通过现有技术即可实现训练及运用该深度神经网络,因此,深度神经网络的训练过程和运行原理在此不做赘述。所述依从性(Patient compliance/Treatment compliance)也称顺从性,是对象(即:患者)按医生规定进行治疗、及执行与医嘱一致的行为,所述依从性值是指对象按照规定进行治疗、及执行与医嘱一致的行为的量化程度,例如:0.5,即说明了患者对医生所做的治疗,及执行医嘱的完成度为50%.Because the training process and operating principle of the deep neural network composed of multiple fully connected layers belong to the prior art, those skilled in the art can train and use the deep neural network through the existing technology. Therefore, the training process of the deep neural network And the operating principle will not be repeated here. The compliance (Patient compliance/Treatment compliance) is also called compliance, which refers to the treatment of the subject (i.e., the patient) according to the doctor's prescription and the execution of behavior consistent with the doctor's order. The compliance value refers to the subject's treatment in accordance with the regulations, And the quantified degree of performing the behavior consistent with the doctor's order, for example: 0.5, which means that the patient's treatment to the doctor, and the degree of completion of the execution of the doctor's order is 50%.
S207:通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。S207: Calculate the time series prediction result and the non-time series prediction result through a preset prediction model to obtain prediction information.
为保证能够从时序信息和非时序信息两个维度,对预测请求对应的对象进行准确的预测判断,本步骤通过预测模型对所述时序预测结果和非时序预测结果,得到同时考量了时序信息和非时序信息的预测信息,提高了预测的准确度。In order to ensure that accurate prediction judgments can be made on the objects corresponding to the prediction request from the two dimensions of time series information and non-time series information, this step uses the prediction model to compare the time series prediction results and non-time series prediction results, and obtains that both time series information and time series information are considered. The prediction information of non-time series information improves the accuracy of the prediction.
在一个优选的实施例中,所述预测模型的目标函数为几何平均值函数,如下:In a preferred embodiment, the objective function of the prediction model is a geometric mean function, as follows:
Figure PCTCN2020125112-appb-000002
Figure PCTCN2020125112-appb-000002
其中,M为预测信息,Scroe1为时序预测结果,Scroe2为非时序预测结果。Among them, M is the prediction information, Scoe1 is the time series prediction result, and Scoe2 is the non-time series prediction result.
由于从时序预测结果和非时序预测结果两个维度对所述对象进行预测评价,不仅需要考虑到时序预测结果和非时序预测结果本身的对最终预测信息的影响,还要考虑到所述时序预测结果和非时序预测结果之间的差异对最终预测信息的影响,而使用几何平均值函数恰好满足了上述两个影响方面的考量。Since the prediction evaluation of the object is performed from two dimensions of the time series prediction result and the non-time series prediction result, not only the influence of the time series prediction result and the non-time series prediction result itself on the final prediction information needs to be considered, but also the time series prediction The difference between the result and the non-time-series forecast result affects the final forecast information, and the use of the geometric mean function just satisfies the above two influence considerations.
例如:对象A的时序预测结果是0.4,非时序预测结果是0.4;对象B的时序预测结果是0.1,非时序预测结果是0.9;如果采用平均值的方法,对象A的预测信息是0.4,对象B的预测信息是0.5,也就是说,时序预测结果和非时序预测结果差异较大且不稳定的对象B要比对象A更具有依从性,在现实中显然是不合理的。而采用本步骤中的预测模型,则会得出对象A的预测信息是0.4,对象B的预测信息是0.3,这显然更符合现实,进而提高了预测的准确度。For example: the time series prediction result of object A is 0.4, the non-time series prediction result is 0.4; the time series prediction result of object B is 0.1, and the non-time series prediction result is 0.9; if the average method is used, the prediction information of object A is 0.4, and the object The prediction information of B is 0.5. That is to say, object B, which has a large difference between the time series prediction result and the non-time series prediction result and is unstable, is more compliant than object A, which is obviously unreasonable in reality. Using the prediction model in this step, it will be obtained that the prediction information of object A is 0.4 and the prediction information of object B is 0.3, which is obviously more in line with reality, thereby improving the accuracy of prediction.
同时,相比于通过设置时序预测结果和非时序预测结果的权重来保证最终预测信息准确度的方法,不仅无法考量时序预测结果和非时序预测结果差异较大对最终预测信息的影响,还会因设置所述权重导致预测模型对差异较小时序预测结果和非时序预测结果产生过拟合,而对差异较大时序预测结果和非时序预测结果产生欠拟合的问题发生。At the same time, compared to the method of ensuring the accuracy of the final prediction information by setting the weights of the time series prediction results and the non-time series prediction results, it is not only unable to consider the impact of the large difference between the time series prediction results and the non-time series prediction results on the final prediction information, but also The setting of the weight causes the prediction model to overfit the time series prediction results and the non-time series prediction results with small differences, and the problem of underfitting the time series prediction results and the non-time series prediction results with large differences occurs.
优选的,通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息之后,包括:Preferably, after calculating the time series prediction result and the non-time series prediction result to obtain the prediction information through a preset prediction model, the method includes:
将所述预测信息上传至区块链中。Upload the prediction information to the blockchain.
需要说明的是,基于预测信息得到对应的摘要信息,具体来说,摘要信息由预测信息进行散列处理得到,比如利用sha256s算法处理得到。将摘要信息上传至区块链可保证其安全性和对用户的公正透明性。用户设备可以从区块链中下载得该摘要信息,以便查证预测信息是否被篡改。本示例所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。It should be noted that the corresponding summary information is obtained based on the prediction information. Specifically, the summary information is obtained by hashing the prediction information, for example, obtained by using the sha256s algorithm. Uploading summary information to the blockchain can ensure its security and fairness and transparency to users. The user equipment can download the summary information from the blockchain in order to verify whether the predicted information has been tampered with. The blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
实施例三:Embodiment three:
请参阅图6,本实施例的一种多维度信息的组合预测装置1,包括:Please refer to FIG. 6, a multi-dimensional information combination prediction apparatus 1 of this embodiment includes:
输入模块11,用于接收用户端发送的预测请求;The input module 11 is used to receive the prediction request sent by the user terminal;
时序预测模块14,用于提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;The time series prediction module 14 is used to extract the time series feature corresponding to the time series information in the prediction request, and call a preset time series model to calculate the time series feature to obtain a time series prediction result;
非时序预测模块16,用于提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;The non-time-series prediction module 16 is configured to extract the non-time-series feature corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series feature to obtain a non-time-series prediction result;
综合预测模块17,用于通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The comprehensive prediction module 17 is configured to calculate the time series prediction result and the non-time series prediction result through a preset prediction model to obtain prediction information.
可选的,所述多维度信息的组合预测装置1还包括:Optionally, the multi-dimensional information combination prediction device 1 further includes:
模型选择模块12,用于提取预测请求中的对象信息,从预设的模型集合中获取与所述对象信息对应时序模型和非时序模型。The model selection module 12 is configured to extract the object information in the prediction request, and obtain a time series model and a non-time series model corresponding to the object information from a preset model set.
可选的,所述多维度信息的组合预测装置1还包括:Optionally, the multi-dimensional information combination prediction device 1 further includes:
时序处理模块13,用于对所述预测请求中的时序信息进行时序特征化处理得到时序特 征。The timing processing module 13 is used to perform timing characterization processing on the timing information in the prediction request to obtain timing characteristics.
可选的,所述多维度信息的组合预测装置1还包括:Optionally, the multi-dimensional information combination prediction device 1 further includes:
非时序处理模块15,用于对所述预测请求中的非时序信息进行非时序特征化处理得到非时序特征。The non-sequential processing module 15 is configured to perform non-sequential characterization processing on the non-sequential information in the prediction request to obtain non-sequential features.
本技术方案应用于人工智能的智能决策领域,构建了调用基于神经网络所构建的时序模型计算所述时序特征得到时序预测结果,及调用基于神经网络所构建的非时序模型计算所述非时序特征得到非时序预测结果,并通过预测模型计算所述时序预测结果和非时序预测结果得到预测信息的多维度预测模型。The technical solution is applied to the field of intelligent decision-making of artificial intelligence, and it is constructed to call the time series model constructed based on the neural network to calculate the time series feature to obtain the time series prediction result, and to call the non-time series model constructed based on the neural network to calculate the non-time series feature Obtain a non-time-series prediction result, and calculate the time-series prediction result and the non-time-series prediction result through a prediction model to obtain a multi-dimensional prediction model of prediction information.
实施例四:Embodiment four:
为实现上述目的,本申请还提供一种计算机设备5,实施例三的多维度信息的组合预测装置1的组成部分可分散于不同的计算机设备中,计算机设备5可以是执行程序的智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个应用服务器所组成的服务器集群)等。本实施例的计算机设备至少包括但不限于:可通过系统总线相互通信连接的存储器51、处理器52,如图7所示。需要指出的是,图7仅示出了具有组件-的计算机设备,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In order to achieve the above objective, this application also provides a computer device 5. The components of the multi-dimensional information combination prediction device 1 of the third embodiment can be dispersed in different computer devices. The computer device 5 can be a smart phone that executes a program, Tablet computers, notebook computers, desktop computers, rack servers, blade servers, tower servers or cabinet servers (including independent servers, or server clusters composed of multiple application servers), etc. The computer device in this embodiment at least includes but is not limited to: a memory 51 and a processor 52 that can be communicatively connected to each other through a system bus, as shown in FIG. 7. It should be pointed out that FIG. 7 only shows a computer device with components, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
本实施例中,存储器51(即可读存储介质)包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器51可以是计算机设备的内部存储单元,例如该计算机设备的硬盘或内存。在另一些实施例中,存储器51也可以是计算机设备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,存储器51还可以既包括计算机设备的内部存储单元也包括其外部存储设备。本实施例中,存储器51通常用于存储安装于计算机设备的操作系统和各类应用软件,例如实施例三的多维度信息的组合预测装置的程序代码等。此外,存储器51还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the memory 51 (ie, readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), Read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the memory 51 may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, SMC), and a Secure Digital (SD). Card, Flash Card, etc. Of course, the memory 51 may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 51 is generally used to store the operating system and various application software installed in the computer equipment, such as the program code of the multi-dimensional information combination prediction device of the third embodiment, and so on. In addition, the memory 51 can also be used to temporarily store various types of data that have been output or will be output.
处理器52在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器52通常用于控制计算机设备的总体操作。本实施例中,处理器52用于运行存储器51中存储的程序代码或者处理数据,例如运行多维度信息的组合预测装置,以实现实施例一和实施例二的多维度信息的组合预测方法,所述多维度信息的组合预测方法包括:In some embodiments, the processor 52 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 52 is generally used to control the overall operation of the computer equipment. In this embodiment, the processor 52 is used to run program codes or process data stored in the memory 51, for example, to run a combined prediction device for multi-dimensional information, to implement the multi-dimensional information combined prediction method of the first and second embodiments. The combined prediction method of multi-dimensional information includes:
接收用户端发送的预测请求;Receive the prediction request sent by the client;
提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;Extracting the timing feature corresponding to the timing information in the prediction request, calling a preset timing model to calculate the timing feature to obtain a timing prediction result;
提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;Extracting the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
实施例五:Embodiment five:
为实现上述目的,本申请还提供一种计算机可读存储介质,本实施例中该计算机可读存储介质可以是易失性的,也可以是非易失性的,如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等,其上存储有计算机程序,程序被处理器52执行时实现相应功能。本实施例的计算机可读存储介质用于存储多维度信息的组合预测装置,被处理器52执行时实现实施例一和实施例二的多维度信息的组合预测方法,所 述多维度信息的组合预测方法包括:To achieve the above objective, this application also provides a computer-readable storage medium. In this embodiment, the computer-readable storage medium may be volatile or non-volatile, such as flash memory, hard disk, multimedia card, Card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable Read-only memory (PROM), magnetic memory, magnetic disks, optical disks, servers, App application malls, etc., have computer programs stored thereon, and corresponding functions are realized when the programs are executed by the processor 52. The computer-readable storage medium of this embodiment is used to store the combined prediction device of multi-dimensional information. When executed by the processor 52, the combined prediction method of multi-dimensional information of Embodiment 1 and Embodiment 2 is realized. The combination of the multi-dimensional information Forecasting methods include:
接收用户端发送的预测请求;Receive the prediction request sent by the client;
提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;Extracting the timing feature corresponding to the timing information in the prediction request, calling a preset timing model to calculate the timing feature to obtain a timing prediction result;
提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;Extracting the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are for description only, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the application, and do not limit the scope of the patent for this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of the application, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种多维度信息的组合预测方法,其中,包括:A combined forecasting method of multi-dimensional information, including:
    接收用户端发送的预测请求;Receive the prediction request sent by the client;
    提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;Extracting the timing feature corresponding to the timing information in the prediction request, calling a preset timing model to calculate the timing feature to obtain a timing prediction result;
    提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;Extracting the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
    通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
  2. 根据权利要求1所述的多维度信息的组合预测方法,其中,接收用户端发送的预测请求之后,包括:The combined prediction method of multi-dimensional information according to claim 1, wherein after receiving the prediction request sent by the user terminal, the method comprises:
    提取预测请求中的对象信息,从预设的模型集合中获取与所述对象信息对应时序模型和非时序模型。The object information in the prediction request is extracted, and the time series model and the non-time series model corresponding to the object information are obtained from a preset model set.
  3. 根据权利要求1所述的多维度信息的组合预测方法,其中,提取预测请求中时序信息所对应的时序特征之前,包括:The method for combined prediction of multi-dimensional information according to claim 1, wherein before extracting the time sequence feature corresponding to the time sequence information in the prediction request, the method comprises:
    对所述预测请求中的时序信息进行时序特征化处理得到时序特征;Performing sequence characterization processing on the sequence information in the prediction request to obtain sequence characteristics;
    提取所述预测请求中非时序信息所对应的非时序特征之前,包括:Before extracting the non-time-series feature corresponding to the non-time-series information in the prediction request, the method includes:
    对所述预测请求中的非时序信息进行非时序特征化处理得到非时序特征。Non-sequential characterization processing is performed on the non-sequential information in the prediction request to obtain non-sequential features.
  4. 根据权利要求3所述的多维度信息的组合预测方法,其中,所述时序特征化处理包括以下步骤:The method for combined prediction of multi-dimensional information according to claim 3, wherein the time sequence characterization processing includes the following steps:
    根据预设的拆分规则拆分所述时序信息得到至少一个时序子信息;Splitting the timing information according to a preset splitting rule to obtain at least one timing sub-information;
    判断得到的时序子信息的数量是否达到预设的时序阈值;Judging whether the number of obtained timing sub-information reaches a preset timing threshold;
    若是,则汇总所述时序子信息获得子信息集合;If yes, sum up the time sequence sub-information to obtain a sub-information set;
    若否,则创制补零子信息并将其与所述时序子信息汇总得到子信息集合,使所述子信息集合中补零子信息及时序子信息的数量达到所述时序阈值;If not, create zero-padded sub-information and summarize it with the timing sub-information to obtain a sub-information set, so that the number of zero-padded sub-information and timing sub-information in the sub-information set reaches the timing threshold;
    提取所述子信息集合中的时序子信息,并通过预置的时序向量表识别所述时序子信息中各数据项所对应的向量值,根据所述数据项在所述时序子信息中的位置排列各所述数据项对应的向量值,得到所述时序子信息对应的时序子特征;其中,所述数据项是所述时序子信息中的不可分割的最小单位;Extract the timing sub-information in the sub-information set, and identify the vector value corresponding to each data item in the timing sub-information through a preset timing vector table, according to the position of the data item in the timing sub-information Arranging the vector values corresponding to each of the data items to obtain the time sequence sub-features corresponding to the time sequence sub-information; wherein, the data item is an indivisible minimum unit in the time sequence sub-information;
    根据所述时序子信息在所述时序信息中的位置,排列各所述时序子特征得到所述时序信息对应的时序特征。According to the position of the timing sub-information in the timing information, the timing sub-features are arranged to obtain the timing characteristics corresponding to the timing information.
  5. 根据权利要求3所述的多维度信息的组合预测方法,其中,所述非时序特征化处理包括以下步骤:The combined prediction method of multi-dimensional information according to claim 3, wherein the non-time-series characterization processing includes the following steps:
    通过预置的非时序向量表识别所述非时序信息中各数据项对应的向量值,其中,所述数据项是所述非时序子信息中的不可分割的最小单位;Identify the vector value corresponding to each data item in the non-sequential information through a preset non-sequential vector table, where the data item is an indivisible minimum unit in the non-sequential sub-information;
    根据所述数据项在所述非时序信息中的位置,排列各所述数据项对应的向量值并汇总得到非时序特征。According to the position of the data item in the non-sequential information, the vector values corresponding to each of the data items are arranged and summarized to obtain the non-sequential feature.
  6. 根据权利要求1所述的多维度信息的组合预测方法,其中,采用LSTM模型作为时序模型,所述时序模型为通过预置的时序样本对初始LSTM模型进行训练所获得;The method for combined prediction of multi-dimensional information according to claim 1, wherein an LSTM model is used as a time series model, and the time series model is obtained by training the initial LSTM model with preset time series samples;
    采用由多个全连接层组成的深度神经网络作为所述非时序模型,所述非时序模型为通过预置的非时序样本对所述深度神经网络进行训练所获得。A deep neural network composed of multiple fully connected layers is used as the non-sequential model, and the non-sequential model is obtained by training the deep neural network through preset non-sequential samples.
  7. 根据权利要求1所述的多维度信息的组合预测方法,其中,所述预测模型的目标函数为几何平均值函数,如下:The combined prediction method of multi-dimensional information according to claim 1, wherein the objective function of the prediction model is a geometric mean function, as follows:
    Figure PCTCN2020125112-appb-100001
    Figure PCTCN2020125112-appb-100001
    其中,M为预测信息,Scroe1为时序预测结果,Scroe2为非时序预测结果;Among them, M is the prediction information, Scoe1 is the time series prediction result, and Scoe2 is the non-time series prediction result;
    通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息之后,包括:After calculating the time series prediction result and the non-time series prediction result through the preset prediction model to obtain the prediction information, it includes:
    将所述预测信息上传至区块链中。Upload the prediction information to the blockchain.
  8. 一种多维度信息的组合预测装置,其中,包括:A combined prediction device for multi-dimensional information, which includes:
    输入模块,用于接收用户端发送的预测请求;The input module is used to receive the prediction request sent by the user terminal;
    时序预测模块,用于提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;The time series prediction module is used to extract the time series feature corresponding to the time series information in the prediction request, call a preset time series model to calculate the time series feature to obtain a time series prediction result;
    非时序预测模块,用于提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;The non-time-series prediction module is configured to extract the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
    综合预测模块,用于通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The comprehensive prediction module is used to calculate the time series prediction result and the non-time series prediction result through a preset prediction model to obtain prediction information.
  9. 一种计算机设备,其包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其中,所述计算机设备的处理器执行所述计算机程序时实现多维度信息的组合预测方法,所述多维度信息的组合预测方法包括:A computer device comprising a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor of the computer device implements a combination prediction method of multi-dimensional information when the computer program is executed , The combined prediction method of multi-dimensional information includes:
    接收用户端发送的预测请求;Receive the prediction request sent by the client;
    提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;Extracting the timing feature corresponding to the timing information in the prediction request, calling a preset timing model to calculate the timing feature to obtain a timing prediction result;
    提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;Extracting the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
    通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
  10. 根据权利要求9所述的计算机设备,其中,接收用户端发送的预测请求之后,包括:The computer device according to claim 9, wherein after receiving the prediction request sent by the user terminal, the method comprises:
    提取预测请求中的对象信息,从预设的模型集合中获取与所述对象信息对应时序模型和非时序模型。The object information in the prediction request is extracted, and the time series model and the non-time series model corresponding to the object information are obtained from a preset model set.
  11. 根据权利要求9所述的计算机设备,其中,提取预测请求中时序信息所对应的时序特征之前,包括:9. The computer device according to claim 9, wherein before extracting the timing feature corresponding to the timing information in the prediction request, it comprises:
    对所述预测请求中的时序信息进行时序特征化处理得到时序特征;Performing sequence characterization processing on the sequence information in the prediction request to obtain sequence characteristics;
    提取所述预测请求中非时序信息所对应的非时序特征之前,包括:Before extracting the non-time-series feature corresponding to the non-time-series information in the prediction request, the method includes:
    对所述预测请求中的非时序信息进行非时序特征化处理得到非时序特征;Performing non-time-series characterization processing on the non-time-series information in the prediction request to obtain non-time-series features;
    所述时序特征化处理包括以下步骤:The time sequence characterization process includes the following steps:
    根据预设的拆分规则拆分所述时序信息得到至少一个时序子信息;Splitting the timing information according to a preset splitting rule to obtain at least one timing sub-information;
    判断得到的时序子信息的数量是否达到预设的时序阈值;Judging whether the number of obtained timing sub-information reaches a preset timing threshold;
    若是,则汇总所述时序子信息获得子信息集合;If yes, sum up the time sequence sub-information to obtain a sub-information set;
    若否,则创制补零子信息并将其与所述时序子信息汇总得到子信息集合,使所述子信息集合中补零子信息及时序子信息的数量达到所述时序阈值;If not, create zero-padded sub-information and summarize it with the timing sub-information to obtain a sub-information set, so that the number of zero-padded sub-information and timing sub-information in the sub-information set reaches the timing threshold;
    提取所述子信息集合中的时序子信息,并通过预置的时序向量表识别所述时序子信息中各数据项所对应的向量值,根据所述数据项在所述时序子信息中的位置排列各所述数据项对应的向量值,得到所述时序子信息对应的时序子特征;其中,所述数据项是所述时序子信息中的不可分割的最小单位;Extract the timing sub-information in the sub-information set, and identify the vector value corresponding to each data item in the timing sub-information through a preset timing vector table, according to the position of the data item in the timing sub-information Arranging the vector values corresponding to each of the data items to obtain the time sequence sub-features corresponding to the time sequence sub-information; wherein, the data item is an indivisible minimum unit in the time sequence sub-information;
    根据所述时序子信息在所述时序信息中的位置,排列各所述时序子特征得到所述时序信息对应的时序特征。According to the position of the timing sub-information in the timing information, the timing sub-features are arranged to obtain the timing characteristics corresponding to the timing information.
  12. 根据权利要求11所述的计算机设备,其中,所述非时序特征化处理包括以下步骤:The computer device according to claim 11, wherein the non-sequential characterization processing includes the following steps:
    通过预置的非时序向量表识别所述非时序信息中各数据项对应的向量值,其中,所述数据项是所述非时序子信息中的不可分割的最小单位;Identify the vector value corresponding to each data item in the non-sequential information through a preset non-sequential vector table, where the data item is an indivisible minimum unit in the non-sequential sub-information;
    根据所述数据项在所述非时序信息中的位置,排列各所述数据项对应的向量值并 汇总得到非时序特征。According to the position of the data item in the non-sequential information, the vector values corresponding to each of the data items are arranged and summarized to obtain the non-sequential feature.
  13. 根据权利要求9所述的计算机设备,其中,采用LSTM模型作为时序模型,所述时序模型为通过预置的时序样本对初始LSTM模型进行训练所获得;The computer device according to claim 9, wherein an LSTM model is used as the time series model, and the time series model is obtained by training the initial LSTM model with preset time series samples;
    采用由多个全连接层组成的深度神经网络作为所述非时序模型,所述非时序模型为通过预置的非时序样本对所述深度神经网络进行训练所获得。A deep neural network composed of multiple fully connected layers is used as the non-sequential model, and the non-sequential model is obtained by training the deep neural network through preset non-sequential samples.
  14. 根据权利要求9所述的计算机设备,其中,所述预测模型的目标函数为几何平均值函数,如下:The computer device according to claim 9, wherein the objective function of the prediction model is a geometric mean function, as follows:
    Figure PCTCN2020125112-appb-100002
    Figure PCTCN2020125112-appb-100002
    其中,M为预测信息,Scroe1为时序预测结果,Scroe2为非时序预测结果;Among them, M is the prediction information, Scoe1 is the time series prediction result, and Scoe2 is the non-time series prediction result;
    通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息之后,包括:After calculating the time series prediction result and the non-time series prediction result through the preset prediction model to obtain the prediction information, it includes:
    将所述预测信息上传至区块链中。Upload the prediction information to the blockchain.
  15. 一种计算机可读存储介质,所述可读存储介质上存储有计算机程序,其中,所述可读存储介质存储的所述计算机程序被处理器执行时实现多维度信息的组合预测方法,所述多维度信息的组合预测方法包括:A computer-readable storage medium having a computer program stored on the readable storage medium, wherein the computer program stored in the readable storage medium is executed by a processor to implement a combined prediction method of multi-dimensional information, the Combination forecasting methods of multi-dimensional information include:
    接收用户端发送的预测请求;Receive the prediction request sent by the client;
    提取预测请求中时序信息所对应的时序特征,调用预设的时序模型计算所述时序特征得到时序预测结果;Extracting the timing feature corresponding to the timing information in the prediction request, calling a preset timing model to calculate the timing feature to obtain a timing prediction result;
    提取所述预测请求中非时序信息所对应的非时序特征,调用预设的非时序模型计算所述非时序特征得到非时序预测结果;Extracting the non-time-series features corresponding to the non-time-series information in the prediction request, and call a preset non-time-series model to calculate the non-time-series features to obtain a non-time-series prediction result;
    通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息。The prediction information is obtained by calculating the time series prediction result and the non-time series prediction result through a preset prediction model.
  16. 根据权利要求15所述的计算机可读存储介质,其中,接收用户端发送的预测请求之后,包括:The computer-readable storage medium according to claim 15, wherein after receiving the prediction request sent by the user terminal, the method comprises:
    提取预测请求中的对象信息,从预设的模型集合中获取与所述对象信息对应时序模型和非时序模型。The object information in the prediction request is extracted, and the time series model and the non-time series model corresponding to the object information are obtained from a preset model set.
  17. 根据权利要求15所述的计算机可读存储介质,其中,提取预测请求中时序信息所对应的时序特征之前,包括:15. The computer-readable storage medium according to claim 15, wherein before extracting the timing feature corresponding to the timing information in the prediction request, the method comprises:
    对所述预测请求中的时序信息进行时序特征化处理得到时序特征;Performing sequence characterization processing on the sequence information in the prediction request to obtain sequence characteristics;
    提取所述预测请求中非时序信息所对应的非时序特征之前,包括:Before extracting the non-time-series feature corresponding to the non-time-series information in the prediction request, the method includes:
    对所述预测请求中的非时序信息进行非时序特征化处理得到非时序特征;Performing non-time-series characterization processing on the non-time-series information in the prediction request to obtain non-time-series features;
    所述时序特征化处理包括以下步骤:The time sequence characterization process includes the following steps:
    根据预设的拆分规则拆分所述时序信息得到至少一个时序子信息;Splitting the timing information according to a preset splitting rule to obtain at least one timing sub-information;
    判断得到的时序子信息的数量是否达到预设的时序阈值;Judging whether the number of obtained timing sub-information reaches a preset timing threshold;
    若是,则汇总所述时序子信息获得子信息集合;If yes, sum up the time sequence sub-information to obtain a sub-information set;
    若否,则创制补零子信息并将其与所述时序子信息汇总得到子信息集合,使所述子信息集合中补零子信息及时序子信息的数量达到所述时序阈值;If not, create zero-padded sub-information and summarize it with the timing sub-information to obtain a sub-information set, so that the number of zero-padded sub-information and timing sub-information in the sub-information set reaches the timing threshold;
    提取所述子信息集合中的时序子信息,并通过预置的时序向量表识别所述时序子信息中各数据项所对应的向量值,根据所述数据项在所述时序子信息中的位置排列各所述数据项对应的向量值,得到所述时序子信息对应的时序子特征;其中,所述数据项是所述时序子信息中的不可分割的最小单位;Extract the timing sub-information in the sub-information set, and identify the vector value corresponding to each data item in the timing sub-information through a preset timing vector table, according to the position of the data item in the timing sub-information Arranging the vector values corresponding to each of the data items to obtain the time sequence sub-features corresponding to the time sequence sub-information; wherein, the data item is an indivisible minimum unit in the time sequence sub-information;
    根据所述时序子信息在所述时序信息中的位置,排列各所述时序子特征得到所述时序信息对应的时序特征。According to the position of the timing sub-information in the timing information, the timing sub-features are arranged to obtain the timing characteristics corresponding to the timing information.
  18. 根据权利要求17所述的计算机可读存储介质,其中,所述非时序特征化处理包括以下步骤:18. The computer-readable storage medium of claim 17, wherein the non-sequential characterization process comprises the following steps:
    通过预置的非时序向量表识别所述非时序信息中各数据项对应的向量值,其中, 所述数据项是所述非时序子信息中的不可分割的最小单位;Identifying the vector value corresponding to each data item in the non-sequential information through a preset non-sequential vector table, where the data item is an indivisible minimum unit in the non-sequential sub-information;
    根据所述数据项在所述非时序信息中的位置,排列各所述数据项对应的向量值并汇总得到非时序特征。According to the position of the data item in the non-sequential information, the vector values corresponding to each of the data items are arranged and summarized to obtain the non-sequential feature.
  19. 根据权利要求15所述的计算机可读存储介质,其中,采用LSTM模型作为时序模型,所述时序模型为通过预置的时序样本对初始LSTM模型进行训练所获得;The computer-readable storage medium according to claim 15, wherein an LSTM model is used as the time series model, and the time series model is obtained by training the initial LSTM model with preset time series samples;
    采用由多个全连接层组成的深度神经网络作为所述非时序模型,所述非时序模型为通过预置的非时序样本对所述深度神经网络进行训练所获得。A deep neural network composed of multiple fully connected layers is used as the non-sequential model, and the non-sequential model is obtained by training the deep neural network through preset non-sequential samples.
  20. 根据权利要求15所述的计算机可读存储介质,其中,所述预测模型的目标函数为几何平均值函数,如下:The computer-readable storage medium according to claim 15, wherein the objective function of the prediction model is a geometric mean function, as follows:
    Figure PCTCN2020125112-appb-100003
    Figure PCTCN2020125112-appb-100003
    其中,M为预测信息,Scroe1为时序预测结果,Scroe2为非时序预测结果;Among them, M is the prediction information, Scoe1 is the time series prediction result, and Scoe2 is the non-time series prediction result;
    通过预设的预测模型计算所述时序预测结果和非时序预测结果得到预测信息之后,包括:After calculating the time series prediction result and the non-time series prediction result through the preset prediction model to obtain the prediction information, it includes:
    将所述预测信息上传至区块链中。Upload the prediction information to the blockchain.
PCT/CN2020/125112 2020-09-04 2020-10-30 Multi-dimensional information combination prediction method, apparatus, computer device, and medium WO2021174881A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010920980.2A CN112016760A (en) 2020-09-04 2020-09-04 Combined prediction method and device of multi-dimensional information, computer equipment and medium
CN202010920980.2 2020-09-04

Publications (1)

Publication Number Publication Date
WO2021174881A1 true WO2021174881A1 (en) 2021-09-10

Family

ID=73515822

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/125112 WO2021174881A1 (en) 2020-09-04 2020-10-30 Multi-dimensional information combination prediction method, apparatus, computer device, and medium

Country Status (2)

Country Link
CN (1) CN112016760A (en)
WO (1) WO2021174881A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113517046B (en) * 2021-04-15 2023-11-07 中南大学 Heterogeneous data feature fusion method in electronic medical record, fusion feature-based prediction method, fusion feature-based prediction system and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846520A (en) * 2018-06-22 2018-11-20 北京京东金融科技控股有限公司 Overdue loan prediction technique, device and computer readable storage medium
US20180357321A1 (en) * 2017-06-08 2018-12-13 Ebay Inc. Sequentialized behavior based user guidance
CN109102103A (en) * 2018-06-26 2018-12-28 上海鲁班软件股份有限公司 A kind of multi-class energy consumption prediction technique based on Recognition with Recurrent Neural Network
CN109887279A (en) * 2019-02-26 2019-06-14 北京隆普智能科技有限公司 A kind of traffic congestion prediction technique and system
CN110555413A (en) * 2019-09-05 2019-12-10 第四范式(北京)技术有限公司 method and device for processing time sequence signal, equipment and readable medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10991053B2 (en) * 2015-07-02 2021-04-27 DZee Solutions, Inc. Long-term healthcare cost predictions using future trajectories and machine learning
CN108985808A (en) * 2017-06-01 2018-12-11 北京京东尚科信息技术有限公司 A kind of method and apparatus carrying out commodity selection
CN109886347A (en) * 2019-02-28 2019-06-14 泉州师范学院 The blood pressure prediction technique of multifactor network based on RBF and LSTM model
CN109949936B (en) * 2019-03-13 2023-05-30 成都数联易康科技有限公司 Re-hospitalization risk prediction method based on deep learning mixed model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180357321A1 (en) * 2017-06-08 2018-12-13 Ebay Inc. Sequentialized behavior based user guidance
CN108846520A (en) * 2018-06-22 2018-11-20 北京京东金融科技控股有限公司 Overdue loan prediction technique, device and computer readable storage medium
CN109102103A (en) * 2018-06-26 2018-12-28 上海鲁班软件股份有限公司 A kind of multi-class energy consumption prediction technique based on Recognition with Recurrent Neural Network
CN109887279A (en) * 2019-02-26 2019-06-14 北京隆普智能科技有限公司 A kind of traffic congestion prediction technique and system
CN110555413A (en) * 2019-09-05 2019-12-10 第四范式(北京)技术有限公司 method and device for processing time sequence signal, equipment and readable medium

Also Published As

Publication number Publication date
CN112016760A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
WO2019169756A1 (en) Product recommendation method and apparatus, and storage medium
CN112148987B (en) Message pushing method based on target object activity and related equipment
Häggström Data‐driven confounder selection via Markov and Bayesian networks
Wang et al. Methods for correcting inference based on outcomes predicted by machine learning
US10803377B2 (en) Content presentation based on a multi-task neural network
US20190384849A1 (en) Data platform for automated data extraction, transformation, and/or loading
WO2021174693A1 (en) Data analysis method and apparatus, and computer system and readable storage medium
US11276494B2 (en) Predicting interactions between drugs and diseases
US20210165913A1 (en) Controlling access to de-identified data sets based on a risk of re- identification
US10909145B2 (en) Techniques for determining whether to associate new user information with an existing user
US20230291756A1 (en) Techniques for identity data characterization for data protection
CN112613917A (en) Information pushing method, device and equipment based on user portrait and storage medium
CN110135978B (en) User financial risk assessment method and device, electronic equipment and readable medium
CN110148053B (en) User credit line evaluation method and device, electronic equipment and readable medium
CN112085615A (en) Method and device for training graph neural network
CN109147918A (en) Reserve matching process, device, electronic equipment and computer-readable medium
CN108428001B (en) Credit score prediction method and device
WO2021174881A1 (en) Multi-dimensional information combination prediction method, apparatus, computer device, and medium
CN112395401A (en) Adaptive negative sample pair sampling method and device, electronic equipment and storage medium
Antoniou et al. Assessing the risk of re-identification arising from an attack on anonymised data
CN115456684A (en) Information reach processing method and device, computer equipment and storage medium
CN114925275A (en) Product recommendation method and device, computer equipment and storage medium
Schnitzer et al. A potential outcomes approach to defining and estimating gestational age-specific exposure effects during pregnancy
US20240054488A1 (en) Systems and methods for generating aggregate records
Yarmand et al. Analytic solution of the susceptible-infective epidemic model with state-dependent contact rates and different intervention policies

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20922737

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20922737

Country of ref document: EP

Kind code of ref document: A1