Visualization

Visualization

Plot 1

1. Prior Belief (Purple Bars)

The first plot represents your initial guess about which Hogwarts house the new student could be sorted into. You slightly favor Gryffindor and Slytherin because they are mentioned more often in the stories. This is your Prior Belief.

Plot 2

2. Likelihood Given Evidence (Gold Bars)

The second plot shows your updated guess after learning that the student is brave. Now you think Gryffindor is the most likely house because bravery is one of its main traits. This is the Likelihood Given Evidence.

Plot 3

3. Posterior Belief (Red Bars)

The third plot shows your final, updated guess. You are now more convinced that the student will be sorted into Gryffindor. This is your Posterior Belief.