Learning the affinity measure in real and artificial immune systems | IEEE Conference Publication | IEEE Xplore