Skip to Content

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 C3\mathrm{C3} on the cluster node, then add four Function Nodes to the working network.

Loading SVG...
Click to Zoom
Function NodeFormulaRole
#Obs\mathit{\#Obs}ObsCount(True, False, False, False)Counts hard observations.
#ObsMin\mathit{\#ObsMin}4Sets the threshold in the objective to four observations, counting the cluster observation.
Joint\mathit{Joint}JointProb()Returns the joint probability of the evidence.
MAP\mathit{MAP}if(?#Obs? < ?#ObsMin?, 0, ?Joint?)Returns zero below the minimum observation count and the joint probability otherwise.

Draw an arc into MAP\mathit{MAP} from each of the three input functions and from the cluster node. The fourth arc connects the objective to the measurement network. With C3\mathrm{C3} alone observed, the initial MAP\mathit{MAP} value is 0.

Open Menus > Analysis > Function Optimization > Genetic. Select MAP\mathit{MAP} 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.

Genetic Optimization of Functions with a target of 1 for MAP and ten kingdoms
Click to Zoom

With the stop criterion unchecked, click Stop in the progress window when you are ready to inspect the solutions. The red indicator Running calculation appears beside the progress bar. The status line identifies the kingdom, generation, and score.

Kingdom 5 reached a score of 0.9263427 at generation 2,210
Click to Zoom

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.

Console excerpt showing Kingdom 5 improving at generation 2210 and the score spreading to other kingdoms
Click to Zoom

Read the results

The report records the initial probability of C3\mathrm{C3} 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.

Loading SVG...
Click to Zoom
Loading SVG...
Click to Zoom

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 C3\mathrm{C3} 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 C3\mathrm{C3}, the three interval probabilities are 93.75%, 75%, and 84.375%. Their product is 59.33%. Multiplying by the prior probability of C3\mathrm{C3} gives 7.686% for the cluster and all three intervals together.

To limit the genetic search to a particular set of measurements, set #ObsMin\mathit{\#ObsMin} 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 C3\mathrm{C3}.

Illustration of the male body profile associated with cluster C3