Skip to Content

Model Utilization

Part of the BayesiaLab exploration path. Start with the BayesiaLab Overview.

BayesiaLab offers several ways to put a Bayesian network to use in a decision-support system. Analysts can build an adaptive questionnaire, publish an interactive model on the web, score new records automatically, or integrate the model into another application.

Adaptive Questionnaire

The Adaptive Questionnaire uses the evidence already available to recommend which observation to collect next. It weighs the expected information gain about the Target Node against the cost of obtaining the observation. In clinical settings, this can help determine when to follow a low-cost test with a more expensive diagnostic procedure. Similar workflows are useful in troubleshooting, risk assessment, survey optimization, and guided diagnostic applications.

WebSimulator

BayesiaLab WebSimulator publishes interactive models and Adaptive Questionnaires to the web. Analysts can share a published model privately with clients, distribute it within their organization, or make it available to a wider audience. Users interact with the Bayesian network in a web browser.

Batch Inference and Code Export

Batch Inference automates scoring across large data sets. For each record, BayesiaLab uses the evidence in that record to compute posterior probabilities, classifications, or target distributions. BayesiaLab’s optional Code Export Module can generate static code for predictive models in R, SAS, PHP, VBA, Python, and JavaScript. The generated code computes the posterior distribution of the Target Node from Hard Evidence on nodes in its Markov Blanket. Developers can embed this code in other workflows and applications.

Bayesia Engine API

Whereas code export generates static code for a predictive model, the Bayesia Engine API gives applications direct access to BayesiaLab’s modeling, inference, and learning capabilities. The Modeling Engine lets developers build and edit networks. The Inference Engine supports automated and real-time inference, and the Learning Engine provides access to discretization and learning algorithms. Developers can integrate these engines into their applications as Java class libraries (JAR files).

Applications can also use the REST API to perform inference on a given network through HTTPS requests.

Examples & Learn More