k-nearest-neighbor Bayes-risk estimation | Synapse