Naive Bayes for optimal ranking | Synapse