We introduce a statistical model for learning the genetic structure of populations. A novel MCMC type method is introduced.