A numerical measure of amino acid residues similarity based on the analysis of their surroundings in natural protein sequences.