Maximum-likelihood classification with a constraint on the class distribution | Hacker News Reader