Neural networks for determining affinity functions | IEEE Conference Publication | IEEE Xplore