AI, Python, Heredity, Joint Probability, Bayesian Networks.
prob_inherit_father, 1: prob_inherit_mother * (1 - prob_inherit_father) + (1 - prob_inherit_mother) * prob_inherit_father, 0: (1 - prob_inherit_mother) * (1 - prob_inherit_father) } else: # Probability of not having any gene copy prob_gene = { 2: (1 - prob_inherit_mother) * (1 -