The Naives Bayes Sex Classifier is based on the Bayesian Theorem. The classifier will make a guess about the gender of a person. Given attributes (height, weight) inputted by the user, the classifier uses Bayesian Theorem and the current training data in the database to come to a conclusion about the gender. You can read more about the classifier here
In order to start, our training set must contain at least 2 males and 2 females people.
We have also assumed that all numerical inputs will be integers