Calculate anomaly score only for the function under consideration since the neighborhood was calculated ONLY for the function under consideration.