When the vector per sequence element is fixed, one letter = one vector, and the vocabulary is limited (i.e amino acids) . Then the cosine similarity can be pre-computed and avoid some computations.
Tasks:
Adapt current implementation to intake pre-computed cosine similarities
When the vector per sequence element is fixed, one letter = one vector, and the vocabulary is limited (i.e amino acids) . Then the cosine similarity can be pre-computed and avoid some computations.
Tasks: