Is it possible to find similarity between two words? For example: cos_lib = cosine_similarity('kamra','cameras') This gives me an error ValueError: couldnotconvert string tofloat:'kamra' because I haven't converted the words into numerical vectors. How can I do so? I tried this but it...
which correspond to the row vector of Fig.7a, correlate with each other. We define the cosine similarity matrixC, where the element of thei-th row andj-th column is the cosine similarity between the concept vectors of labelsiandj: