Machine Learning With BayesiaLab
Part of the BayesiaLab exploration path. Start with the BayesiaLab Overview.
BayesiaLab offers a range of optimized algorithms for learning both the structure and the parameters of Bayesian networks from data.
Producing a predictive score is one use of machine learning in BayesiaLab. A learned Bayesian network can also support interpretation, simulation, diagnosis, causal review, variable selection, and downstream probabilistic inference.
- Many of the learning criteria are information-theoretic. One example is Minimum Description Length.
- These workflows avoid many of the assumptions about parametric functional forms that are common in traditional modeling.
- The approach scales from small studies to high-dimensional domains.
- Analysts can combine a learned structure with expert knowledge and refine it interactively.
Unsupervised Structural Learning
Unsupervised Structural Learning discovers probabilistic structure without requiring analysts to designate variables as inputs or outputs in advance.
This supports data-driven knowledge discovery in unfamiliar domains. Rather than asking only, “Which variables predict this target?”, unsupervised learning asks a broader question: “What dependency structure appears to organize this domain?”
The resulting network can help analysts identify relationships, clusters of related variables, potential explanatory pathways, and hypotheses for further investigation.
Supervised Learning
Supervised Learning focuses on how well the model predicts a chosen target variable.
Typical applications include diagnosis, risk scoring, prediction of customer outcomes, decision support, and classification. BayesiaLab is not limited to a single network class, such as Naive Bayes. Instead, algorithms can search for high-performing models while controlling structural complexity.
Markov Blanket methods are especially useful for fast variable selection in high-dimensional settings. They help identify the variables that are most relevant to a target in the context of the rest of the network.
Clustering Workflows
BayesiaLab supports both Data Clustering and Variable Clustering.
- Data Clustering creates latent variables whose states represent groups of records.
- Variable Clustering groups variables by relationship strength.
- Multiple Clustering combines both approaches in BayesiaLab’s Probabilistic Structural Equation Model workflow.
Beyond visualization, these workflows create a structure that can become part of the Bayesian network itself. That structure can support interpretation, segmentation, latent-factor discovery, and key-driver analysis.
Combining Learning and Knowledge Modeling
BayesiaLab supports hybrid modeling workflows in which data and domain expertise inform each other.
Experts may define parts of a network before learning from data. Alternatively, analysts may first learn a preliminary structure and then use expert review, causal constraints, temporal order, or business logic to revise it.
This combination is particularly important when the available data contain associations but cannot, by themselves, establish causal direction.