From Bayes rule we can obtain the class
posteriors of male:
P(h = 1jx) = P(xjh=1)(P(h=1)
P(xjh=0)(P(h=0)+P(xjh=1)(P(h=1)
The denominator is the probability of
measuring the height vale x irrespective of the
class.
If we can compute this, we are done. We can
use it to predict gender for height.