k Nearest Neighbors QSAR Modeling as a Variational Problem:  Theory and Applications | Synapse