Cluster interpretation: MAP
Build the objective
Which combinations of body measurements does the genetic search return when the cluster is known? Set hard evidence for on the cluster node, then add four Function Nodes to the working network.
| Function Node | Formula | Role |
|---|---|---|
ObsCount(True, False, False, False) | Counts hard observations. | |
4 | Sets the threshold in the objective to four observations, counting the cluster observation. | |
JointProb() | Returns the joint probability of the evidence. | |
if(?#Obs? < ?#ObsMin?, 0, ?Joint?) | Returns zero below the minimum observation count and the joint probability otherwise. |
Draw an arc into from each of the three input functions and from the cluster node. The fourth arc connects the objective to the measurement network. With alone observed, the initial value is 0.
Run the genetic search
Open Menus > Analysis > Function Optimization > Genetic. Select as the target, enter 1 for Value, and choose Hard Evidence. Enable Allow No Evidence so the search can leave individual measurements unobserved. Leave Maximum Hypotheses Size unchecked and request the ten best solutions. This run uses ten kingdoms of twenty individuals and a fixed seed of 31.
With the stop criterion unchecked, click Stop in the progress window when you are ready to inspect the solutions. The red indicator appears beside the progress bar. The status line identifies the kingdom, generation, and score.
The Console indicator identifies Console output. Open Menus > Window > Console > Open Console to inspect the generations. Each row starts with the generation number, followed by one score per kingdom. Three asterisks mark an improvement.
Read the results
The report records the initial probability of as 12.9555%. In the results, Value is the value of the function and Score is its distance from the requested target of 1. For example, the first row has a value of 0.0737 and a score of 0.9263.
Read the Size column to see how many measurements each reported solution contains. In this run the ten rows range from two to six measurements. The first row contains four: shoulder, forearm, knee, and ankle girth. The fixed cluster observation is recorded separately under Analysis Context. The threshold in the objective does not guarantee three measurements in each reported row.
What if exactly three measurements are required?
For this network, the twelve measurements are conditionally independent given the cluster. To rank triplets, choose three distinct measurements and one interval for each. Multiply their three probabilities from the rows of the conditional probability tables. There are 220 ways to choose three of the twelve measurements and 27 interval combinations per choice, giving 5,940 assignments.
The highest-probability triplet combines bicep girth above 36, forearm girth above 29.4, and hip girth above 94.5 and at most 101.8. Given , the three interval probabilities are 93.75%, 75%, and 84.375%. Their product is 59.33%. Multiplying by the prior probability of gives 7.686% for the cluster and all three intervals together.
To limit the genetic search to a particular set of measurements, set to 0 and restrict the search to selected nodes, or set the other measurements to Not Observable.
The silhouette illustrates the overall body profile associated with .
