Skip to Content
BayesiaLabBayesiaLab User GuideContextual MenusNetworkEdit Number of Uniform Prior Samples

Edit Number of Uniform Prior Samples

Right-click the background of the Graph Panel and choose Edit Number of Uniform Prior Samples.

Context

With the default of 0 Uniform Prior Samples, BayesiaLab uses observed frequencies for maximum likelihood estimation. A positive setting adds virtual counts to the observed counts when estimating probabilities. BayesiaLab distributes the prior weight uniformly across the cells of each probability table. This Dirichlet prior represents independent nodes with equally likely states before observations are taken into account. Earlier versions called this feature Edit Smoothed Probability Estimation.

Usage

Enter the number of Uniform Prior Samples. A setting of 1 gives each table one virtual observation in total, divided evenly among its cells.

In this example, the network was learned from 110 people. Among those with Brown\mathrm{Brown} eyes, none had Blond\mathrm{Blond} hair. With one Uniform Prior Sample, that cell receives a positive prior count, so the network assigns a positive probability to blond hair given brown eyes. The observed count for that combination is still 0.

Loading SVG...
Click to Zoom