Risk analysis method based on Bayesian network in specific scene

Through Bayesian network construction and risk analysis methods, the limitations of traditional probability estimation methods in complex relationships and uncertainty processing are solved, the management of complex variable dependencies and uncertainty processing are realized, and more accurate results are provided. Risk assessment and decision support for large-scale data and rapidly changing scenarios.

CN118627633APending Publication Date: 2024-09-10BEIJING MECHANICAL EQUIP INST
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410713145.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Traditional probabilistic estimation methods have limitations when dealing with complex relationships and uncertainties, including difficulties in managing complexity, high data requirements, assumptions of independence of variables, and difficulty in handling uncertainty.

Method used

Adopting a risk analysis method based on Bayesian network, by collecting and preprocessing observation data, constructing a directed dependency graph between variables, learning conditional probability tables, calculating posterior probability distributions, establishing a risk analysis and prediction system, and generating probabilities in real time Predict the results.

Benefits of technology

It achieves effective management of complex variable dependencies and uncertainty processing, provides more accurate risk assessment and decision support, is real-time and scalable, and is suitable for large-scale data and rapidly changing scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627633A
    Figure CN118627633A
Patent Text Reader

Abstract

The invention relates to a risk analysis method and device based on a Bayesian network in a specific scene, electronic equipment and a storage medium. The method comprises the steps of collecting observation data related to a preset problem based on a preset specific scene; constructing a directed dependency relationship graph among the variables, and completing the construction of the Bayesian network; estimating a conditional probability table in the Bayesian network according to a preset parameter learning algorithm; calculating posterior probability distribution of a target variable based on the Bayesian network and the Bayesian network parameters; and establishing a risk analysis and prediction system based on the Bayesian network, predicting data input by a user, outputting a posterior probability distribution result and analyzing the result, and completing prediction of the input data. The method can cope with scenes of large-scale data and rapid change, solves the problems of high data demand, difficulty in processing uncertainty and the like when a traditional method is used for processing a complex relation, and can improve the accuracy of probability estimation.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Traditional probability estimation methods in general scenarios, such as the list method, tree diagram method, and frequency estimation of probability, have certain limitations when dealing with complex relationships and uncertainties. The limitations of traditional probability estimation methods include difficulty in complexity management: in complex problems, traditional methods may need to deal with a large number of variables and interrelated factors, making it difficult to establish and manage models; high data requirements: traditional methods usually require a large amount of data to estimate probability distributions, especially in high-dimensional situations, where data collection and processing may become time-consuming and labor-intensive; variable independence assumption: traditional methods may make estimates based on the assumption that variables are independent of each other, which is often not true in real-world problems; difficulty in dealing with uncertainty: traditional methods often have difficulty effectively dealing with uncertainty and incomplete information, which is an important consideration in many practical problems.

[0003] Therefore, one or more methods are needed to solve the above problems.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a risk analysis method, device, electronic device and computer-readable storage medium based on a Bayesian network in a specific scenario, thereby overcoming one or more problems caused by the limitations and defects of related technologies at least to a certain extent.

[0006] According to one aspect of the present disclosure, a risk analysis method based on a Bayesian network in a specific scenario is provided, comprising:

[0007] Collect observation data related to preset problems based on preset specific scenarios, complete observation data collection, and preprocess the observation data;

[0008] Determine variable nodes, parent nodes, and child nodes, build a directed dependency graph between variables, and complete the Bayesian network construction;

[0009] Based on the observed data, the conditional probability table in the Bayesian network is estimated according to a preset parameter learning algorithm to complete the Bayesian network parameter learning;

[0010] Calculating the posterior probability distribution of the target variable based on the Bayesian network and the Bayesian network parameters;

[0011] Establishing a risk analysis and prediction system based on a Bayesian network, predicting the data input by the user based on the risk analysis and prediction system, and outputting a posterior probability distribution result;

[0012] The risk analysis and prediction system analyzes the posterior probability distribution results to complete the prediction of the input data.

[0013] In an exemplary embodiment of the present disclosure, the method further includes:

[0014] Based on the preset specific scenario, observation data related to the preset problem is collected, and the observation data includes the observation value, characteristics, and attributes of each variable.

[0015] In an exemplary embodiment of the present disclosure, the Bayesian network construction in the method includes:

[0016] Establishing variables of the Bayesian network;

[0017] Establish a directed acyclic graph based on the conditional dependency relationship between variables;

[0018] Analyze and determine the conditional probability table of each variable.

[0019] In an exemplary embodiment of the present disclosure, the method further includes:

[0020] Based on the observed data, the conditional probability table of data distribution, statistical methods and domain knowledge in the Bayesian network is estimated according to a preset parameter learning algorithm to complete the Bayesian network parameter learning.

[0021] In an exemplary embodiment of the present disclosure, the method further includes:

[0022] According to the Bayesian network and the Bayesian network parameters, the posterior probability distribution of the target variable is calculated based on the conditional probability table and the Bayesian formula.

[0023] In an exemplary embodiment of the present disclosure, the method further includes:

[0024] The risk analysis and prediction system includes a human-computer interaction interface for collecting data input by users and displaying directed acyclic graphs and posterior probability distribution results to users.

[0025] In an exemplary embodiment of the present disclosure, the method further includes:

[0026] The risk analysis and prediction system prediction probability display module is used to display the prediction results of the input data to the user after analyzing the posterior probability distribution results based on the risk analysis and prediction system.

[0027] In one aspect of the present disclosure, a risk analysis device based on a Bayesian network in a specific scenario is provided, comprising:

[0028] A data collection module is used to collect observation data related to a preset problem based on a preset specific scenario, complete observation data collection, and pre-process the observation data;

[0029] The Bayesian network construction module is used to determine the variable nodes, parent nodes and child nodes, build a directed dependency graph between variables, and complete the Bayesian network construction;

[0030] A parameter learning module, used to estimate the conditional probability table in the Bayesian network based on the observation data and according to a preset parameter learning algorithm to complete the Bayesian network parameter learning;

[0031] A probability inference module, used to calculate the posterior probability distribution of the target variable based on the Bayesian network and the Bayesian network parameters;

[0032] A prediction system building module is used to establish a risk analysis and prediction system based on a Bayesian network, predict the data input by the user based on the risk analysis and prediction system, and output a posterior probability distribution result;

[0033] The prediction result display module is used to analyze the posterior probability distribution results based on the risk analysis and prediction system to complete the prediction of the input data.

[0034] In one aspect of the present disclosure, there is provided an electronic device, comprising:

[0035] Processor; and

[0036] A memory having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processor, implement the method according to any one of the above items.

[0037] In one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of the above items is implemented.

[0038] A risk analysis method based on a Bayesian network in a specific scenario in an exemplary embodiment of the present disclosure includes: collecting observation data related to a preset problem in a preset specific scenario; constructing a directed dependency graph between variables to complete the Bayesian network construction; estimating the conditional probability table in the Bayesian network according to a preset parameter learning algorithm; calculating the posterior probability distribution of the target variable based on the Bayesian network and the Bayesian network parameters; establishing a risk analysis prediction system based on the Bayesian network, predicting the data input by the user, and outputting and analyzing the posterior probability distribution results to complete the prediction of the input data. The present disclosure has real-time and scalability, can cope with large-scale data and rapidly changing scenarios, and is very beneficial for fields that require rapid response.

[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The above and other features and advantages of the present disclosure will become more apparent by describing in detail example embodiments thereof with reference to the attached drawings.

[0041] Figure 1 A flow chart of a risk analysis method based on a Bayesian network in a specific scenario according to an exemplary embodiment of the present disclosure is shown;

[0042] Figure 2 A system design flow chart of a risk analysis method based on a Bayesian network in a specific scenario according to an exemplary embodiment of the present disclosure is shown;

[0043] Figure 3 A directed acyclic graph of a Bayesian network model of a risk analysis method based on a Bayesian network in a specific scenario according to an exemplary embodiment of the present disclosure is shown;

[0044] Figure 4 A flowchart of a prediction system of a risk analysis method based on a Bayesian network in a specific scenario according to an exemplary embodiment of the present disclosure is shown;

[0045] Figure 5 A schematic diagram of the main interface of a prediction system of a risk analysis method based on a Bayesian network in a specific scenario according to an exemplary embodiment of the present disclosure is shown;

[0046] Figure 6 A structural block diagram of a risk analysis device based on a Bayesian network in a specific scenario according to an exemplary embodiment of the present disclosure is shown;

[0047] Figure 7 A block diagram schematically shows an electronic device according to an exemplary embodiment of the present disclosure;

[0048] Figure 8 A schematic diagram of a computer-readable storage medium according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0049] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0050] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, materials, devices, steps, etc. may be adopted. In other cases, known structures, methods, devices, implementations, materials or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0051] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or these functional entities or parts of functional entities may be implemented in one or more software hardened modules, or these functional entities may be implemented in different networks and / or processor devices and / or microcontroller devices.

[0052] In this example embodiment, a risk analysis method based on a Bayesian network in a specific scenario is first provided; Figure 1 As shown in , the risk analysis method based on Bayesian network in a specific scenario may include the following steps:

[0053] Step S110, collecting observation data related to a preset problem based on a preset specific scenario, completing observation data collection, and preprocessing the observation data;

[0054] Step S120, determining variable nodes, parent nodes and child nodes, constructing a directed dependency graph between variables, and completing the Bayesian network construction;

[0055] Step S130, based on the observed data, estimating the conditional probability table in the Bayesian network according to a preset parameter learning algorithm, and completing the Bayesian network parameter learning;

[0056] Step S140, calculating the posterior probability distribution of the target variable based on the Bayesian network and the Bayesian network parameters;

[0057] Step S150, establishing a risk analysis and prediction system based on a Bayesian network, predicting the data input by the user based on the risk analysis and prediction system, and outputting a posterior probability distribution result;

[0058] Step S160, analyzing the posterior probability distribution result based on the risk analysis and prediction system to complete the prediction of the input data.

[0059] A risk analysis method based on a Bayesian network in a specific scenario in an exemplary embodiment of the present disclosure includes: collecting observation data related to a preset problem in a preset specific scenario; constructing a directed dependency graph between variables to complete the Bayesian network construction; estimating the conditional probability table in the Bayesian network according to a preset parameter learning algorithm; calculating the posterior probability distribution of the target variable based on the Bayesian network and the Bayesian network parameters; establishing a risk analysis prediction system based on the Bayesian network, predicting the data input by the user, and outputting and analyzing the posterior probability distribution results to complete the prediction of the input data. The present disclosure has real-time and scalability, can cope with large-scale data and rapidly changing scenarios, and is very beneficial for fields that require rapid response.

[0060] Next, a risk analysis method based on a Bayesian network in a specific scenario in this example embodiment will be further described.

[0061] In the embodiment of this example, the Bayesian network is a graphical model for representing the dependencies between variables, and analyzing uncertainty information by using probabilistic reasoning: In real-world risk analysis, the variables and dependencies involved are often very complex, which may make it difficult to establish and maintain an accurate and feasible risk model. The present invention aims to provide an algorithm to manage and represent complex variable dependencies through the structure of the Bayesian network, thereby making risk analysis more feasible; when risk analysis involves processing various uncertain information, such as incomplete, inaccurate or uncertain parameters, the present invention aims to use the probabilistic reasoning ability of the Bayesian network to effectively handle uncertainty, thereby more accurately assessing risks and making decisions. The present invention aims to dynamically analyze and update real-time data, and adjust risk assessments in real time to make decisions more responsive. The present invention aims to provide support for decision making. By establishing a Bayesian network model, sensitivity analysis, strategy formulation, and optimization of risk control solutions can be performed to make more informed decisions in different scenarios; the present invention aims to provide a clear graphical representation of the impact and dependency of each variable. The invention can help users better understand the risk model, thereby enhancing trust in risk assessment results. This risk analysis and assessment algorithm based on Bayesian networks aims to take advantage of the graphical model to solve technical problems such as complexity, uncertainty and real-time, thereby providing a more reliable and efficient method for risk management in various fields.

[0062] In this exemplary embodiment, if Figure 2 As shown in the figure, Bayes' theorem can help people build a model for analyzing the complex world - the Bayesian network. It consists of two parts, namely the directed acyclic graph (DAG) and the conditional probability table (CPT), as shown in the following formula:

[0063] B=<G,θ>

[0064] Given a set of random variables χ = {X1, X2, ..., X n}, where X i is an m-dimensional vector. Where G represents a directed acyclic graph whose vertices correspond to random variables X1, X2, …, X in the finite set χ. n The arcs represent the function's dependencies. If there is an arc from variable Y to X, then Y is the parent or immediate predecessor of X, and X is the successor of Y. Given its parents, each variable on the way is independent of the non-successors of that node on the way. i All parent variables of a (X i ) represents. In the formula, θ represents a set of parameters of the quantization network. For each X i , P a (X i ) value x iThere is one parameter as follows: It indicates that at a given P a (X i ) In case x i The conditional probability of the occurrence of an event. Therefore, the joint conditional probability distribution on the variable set χ given by the network is:

[0065]

[0066] The present invention relates to a method and system based on a Bayesian network in a specific scenario, which is used to predict probability distribution in a specific scenario to achieve the purpose of risk analysis. The method comprehensively considers prior knowledge and observation data, constructs a Bayesian network to model the dependency relationship between variables, and performs probability estimation through Bayesian reasoning. At the same time, the present invention provides an automated prediction system that can generate probability prediction results for a specific scenario in real time.

[0067] In step S110, observation data related to a preset problem may be collected based on a preset specific scenario, observation data collection may be completed, and the observation data may be preprocessed.

[0068] In the embodiment of this example, the method further includes:

[0069] Based on the preset specific scenario, observation data related to the preset problem is collected, and the observation data includes the observation value, characteristics, and attributes of each variable.

[0070] In the embodiment of this example, data related to the problem is collected from a specific scenario, including observations, features, and attributes of multiple variables, and the data is preprocessed to ensure the integrity and accuracy of the data.

[0071] In step S120, variable nodes, parent nodes, and child nodes may be determined, a directed dependency graph between variables may be constructed, and the Bayesian network construction may be completed.

[0072] In the embodiment of this example, the Bayesian network construction in the method includes:

[0073] Establishing variables of the Bayesian network;

[0074] Establish a directed acyclic graph based on the conditional dependency relationship between variables;

[0075] Analyze and determine the conditional probability table of each variable.

[0076] In the embodiment of this example, a Bayesian network is constructed based on the prior knowledge of the domain experts and the collected data, and variable nodes, parent nodes, and child nodes are determined to construct a directed dependency graph between the variables.

[0077] (1) Determine the variables related to model building and their interpretation. For example, lst is the surface temperature of the previous day; R1 is the surface albedo of the previous day; LU is the land use type of the year; tsp1 is the dry mass of sand and dust in the source area; tsp2 is the dry mass of sand and dust in other areas; S is the predicted degree of sand emission.

[0078] (2) Construct a Bayesian network through the conditional dependency relationship between variables, and establish a directed acyclic graph such as Figure 3 shown.

[0079] According to the multiplication formula,

[0080]

[0081] Use p ai Represents variable X i The parent node set of

[0082]

[0083] (3) Analyze and determine the conditional probability table of each variable, that is, assign local probability distribution. In the discrete case, it is necessary to i Each state of the parent node of is assigned a distribution. For example, in the Bayesian network model we established, given the prior probabilities of variables LU, lst, and R1, they obey the Gaussian distribution, and the probability distributions of the parent nodes R1, lst, and LU of variable S are represented by their conditional probability tables.

[0084] In step S130, the conditional probability table in the Bayesian network can be estimated based on the observation data according to a preset parameter learning algorithm to complete the Bayesian network parameter learning.

[0085] In the embodiment of this example, the method further includes:

[0086] Based on the observed data, the conditional probability table of data distribution, statistical methods and domain knowledge in the Bayesian network is estimated according to a preset parameter learning algorithm to complete the Bayesian network parameter learning.

[0087] In the embodiment of this example, the collected observation data is used to estimate the conditional probability table in the Bayesian network using a suitable parameter learning algorithm, taking into account data distribution, statistical methods and domain knowledge to ensure the accuracy of parameter estimation.

[0088] In step S140, the posterior probability distribution of the target variable may be calculated based on the Bayesian network and the Bayesian network parameters.

[0089] In the embodiment of this example, the method further includes:

[0090] According to the Bayesian network and the Bayesian network parameters, the posterior probability distribution of the target variable is calculated based on the conditional probability table and the Bayesian formula.

[0091] In the embodiment of this example, based on the constructed Bayesian network and the learned parameters, the Bayesian reasoning method is used to perform probability inference, and the posterior probability distribution of the target variable is calculated through the conditional probability table and the Bayesian formula.

[0092] In step S150, a risk analysis and prediction system based on a Bayesian network may be established, and the data input by the user may be predicted based on the risk analysis and prediction system, and a posterior probability distribution result may be output.

[0093] In the embodiment of this example, the method further includes:

[0094] The risk analysis and prediction system includes a human-computer interaction interface for collecting data input by users and displaying directed acyclic graphs and posterior probability distribution results to users.

[0095] In this exemplary embodiment, if Figure 4 As shown in the figure, a prediction system is designed that can accept user input data, automatically perform the inference process of the Bayesian network, and generate probabilistic prediction results for specific scenarios. The system should provide a friendly user interface to facilitate users to input data and obtain results.

[0096] In step S160, the posterior probability distribution result is analyzed based on the risk analysis and prediction system to complete the prediction of the input data.

[0097] In the embodiment of this example, the method further includes:

[0098] The risk analysis and prediction system prediction probability display module is used to display the prediction results of the input data to the user after analyzing the posterior probability distribution results based on the risk analysis and prediction system.

[0099] In the embodiment of this example, the prediction system is ensured to be real-time and scalable, capable of processing large-scale data, and generating accurate probability prediction results in real time in specific scenarios, and assisting decision-making and prediction by analyzing the posterior probability distribution. Figure 5 Shown is the main interface of the prediction system involving the risk analysis algorithm based on the Bayesian network model in a specific scenario. Figure 5 The predicted dust emission degree shown in is only an example of the prediction system based on the Bayesian network algorithm in a specific scenario of the present invention, and the posterior probability in different scenarios can be calculated according to different requirements.

[0100] In the embodiment of this example, the present disclosure uses a Bayesian network, and this technical solution can make accurate probability predictions for target variables in specific scenarios. By modeling the complex relationship between variables and considering the influence of different factors, a more accurate probability estimation result is provided; the Bayesian network emphasizes causal relationships, which can help users better understand the influence mechanism between variables. This helps decision makers identify factors that affect the main variables, so as to formulate more targeted strategies; the technical solution can incorporate the prior knowledge of domain experts into the prediction model, thereby improving the accuracy of the prediction, which is particularly beneficial in cases where data is scarce or incomplete; by predicting the probability distribution in a specific scenario, decision makers can better evaluate the risks and returns of different decision-making plans. This helps to formulate more intelligent decision-making strategies; the present invention is real-time and scalable, and can cope with large-scale data and rapidly changing scenarios. This is very beneficial for fields that require rapid response.

[0101] Due to the wide applicability of Bayesian networks, this technical solution can be applied to multiple fields, including medicine, finance, industry, environment, etc., bringing practical benefits to different fields. Based on accurate probability prediction, users can better identify potential risks and opportunities, thereby reducing unnecessary losses and costs.

[0102] In general, this Bayesian network-based technical solution can provide more accurate and reliable probabilistic prediction results, and provide useful support and guidance for decision-making, planning and analysis in specific scenarios.

[0103] It should be noted that, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0104] In addition, in this exemplary embodiment, a risk analysis device based on a Bayesian network in a specific scenario is also provided. Figure 6 As shown, the risk analysis device 200 based on the Bayesian network in this specific scenario may include: a data acquisition module 210, a Bayesian network construction module 220, a parameter learning module 230, a probability inference module 240, a prediction system construction module 250 and a prediction result display module 260. Among them:

[0105] The data collection module 210 is used to collect observation data related to a preset problem based on a preset specific scenario, complete observation data collection, and pre-process the observation data;

[0106] The Bayesian network construction module 220 is used to determine the variable nodes, parent nodes and child nodes, construct a directed dependency graph between the variables, and complete the Bayesian network construction;

[0107] A parameter learning module 230, configured to estimate the conditional probability table in the Bayesian network based on the observation data and according to a preset parameter learning algorithm, so as to complete the Bayesian network parameter learning;

[0108] A probability inference module 240, for calculating the posterior probability distribution of the target variable based on the Bayesian network and the Bayesian network parameters;

[0109] The prediction system building module 250 is used to establish a risk analysis and prediction system based on a Bayesian network, predict the data input by the user based on the risk analysis and prediction system, and output a posterior probability distribution result;

[0110] The prediction result display module 260 is used to analyze the posterior probability distribution result based on the risk analysis and prediction system to complete the prediction of the input data.

[0111] The specific details of the risk analysis device module based on the Bayesian network in each of the above-mentioned specific scenarios have been described in detail in the risk analysis method based on the Bayesian network in the corresponding specific scenario, so they will not be repeated here.

[0112] It should be noted that, although several modules or units of the risk analysis device 200 based on the Bayesian network in a specific scenario are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0113] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0114] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments combining hardware and software aspects, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0115] Refer to the following Figure 7 The electronic device 300 according to such an embodiment of the present invention is described. Figure 7The electronic device 300 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0116] like Figure 7 As shown, the electronic device 300 is in the form of a general computing device. The components of the electronic device 300 may include but are not limited to: at least one processing unit 310, at least one storage unit 320, a bus 330 connecting different system components (including the storage unit 320 and the processing unit 310), and a display unit 340.

[0117] The storage unit stores program codes, which can be executed by the processing unit 310, so that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 310 can perform the following steps: Figure 1 Steps S110 to S160 shown in FIG.

[0118] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 3201 and / or a cache memory unit 3202 , and may further include a read-only memory unit (ROM) 3203 .

[0119] The storage unit 320 may also include a program / utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0120] Bus 330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0121] The electronic device 300 may also communicate with one or more external devices 370 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 300, and / or communicate with any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 350. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 360. As shown, the network adapter 360 communicates with other modules of the electronic device 300 via a bus 330. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0122] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0123] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0124] refer to Figure 8 As shown, a program product 400 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0125] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0126] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0127] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0128] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0129] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0130] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0131] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A risk analysis method based on Bayesian network in a specific scenario, characterized in that: The method comprises: Collect observation data related to preset problems based on preset specific scenarios, complete observation data collection, and preprocess the observation data; Determine variable nodes, parent nodes, and child nodes, build a directed dependency graph between variables, and complete the Bayesian network construction; Based on the observed data, the conditional probability table in the Bayesian network is estimated according to a preset parameter learning algorithm to complete the Bayesian network parameter learning; Calculating the posterior probability distribution of the target variable based on the Bayesian network and the Bayesian network parameters; Establishing a risk analysis and prediction system based on a Bayesian network, predicting the data input by the user based on the risk analysis and prediction system, and outputting a posterior probability distribution result; The risk analysis and prediction system analyzes the posterior probability distribution results to complete the prediction of the input data.

2. The method according to claim 1, characterized in that The method further comprises: Based on the preset specific scenario, observation data related to the preset problem is collected, and the observation data includes the observation value, characteristics, and attributes of each variable.

3. The method according to claim 1, characterized in that The Bayesian network construction in the method includes: Establishing variables of the Bayesian network; Establish a directed acyclic graph based on the conditional dependency relationship between variables; Analyze and determine the conditional probability table of each variable.

4. The method according to claim 1, characterized in that The method further comprises: Based on the observed data, the conditional probability table of data distribution, statistical methods and domain knowledge in the Bayesian network is estimated according to a preset parameter learning algorithm to complete the Bayesian network parameter learning.

5. The method according to claim 4, characterized in that The method further comprises: According to the Bayesian network and the Bayesian network parameters, the posterior probability distribution of the target variable is calculated based on the conditional probability table and the Bayesian formula.

6. The method according to claim 1, characterized in that The method further comprises: The risk analysis and prediction system includes a human-computer interaction interface for collecting data input by users and displaying directed acyclic graphs and posterior probability distribution results to users.

7. The method according to claim 6, characterized in that The method further comprises: The risk analysis and prediction system prediction probability display module is used to display the prediction results of the input data to the user after analyzing the posterior probability distribution results based on the risk analysis and prediction system.

8. A risk analysis system based on Bayesian network in a specific scenario, characterized in that: The system comprises: A data collection module is used to collect observation data related to a preset problem based on a preset specific scenario, complete observation data collection, and pre-process the observation data; The Bayesian network construction module is used to determine the variable nodes, parent nodes and child nodes, build a directed dependency graph between variables, and complete the Bayesian network construction; A parameter learning module, used to estimate the conditional probability table in the Bayesian network based on the observation data and according to a preset parameter learning algorithm to complete the Bayesian network parameter learning; A probability inference module, used to calculate the posterior probability distribution of the target variable based on the Bayesian network and the Bayesian network parameters; A prediction system building module is used to establish a risk analysis and prediction system based on a Bayesian network, predict the data input by the user based on the risk analysis and prediction system, and output a posterior probability distribution result; The prediction result display module is used to analyze the posterior probability distribution results based on the risk analysis and prediction system to complete the prediction of the input data.

9. An electronic device, characterized in that: include Processor; and A memory having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processor, implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Bayesian network-based medical OLED screen burn-in risk prediction and protection system and method

    CN119377609A

  • Soil and groundwater pollutant toxicity effect risk diagnosis, management and control method and system

    CN120088110A

  • Methods and systems for risk diagnosis and control of toxic effects of soil and groundwater pollutants

    CN120088110B