• oneser@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 days ago

    I think the x-axis labels are wrong. Cosine similarity is used to compare vectors in maths. 1 would mean the vectors are going in the same direction and 0 would mean they are going 90° to each other and -1 is opposite.

    • VoodooAardvark@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      While it seems you’re on to something with the x-axis, I do not believe that was the question. My interpretation, that I share, is wtf am I looking at? Haha

    • starik@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 days ago

      So the x-axis should be the same as the y-axis in this case?

      How do you calculate the cosine of a slur? Is that the joke?

      • OhNoMoreLemmy@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        No, you just use a standard technique like word2vec.

        Basically words are considered similar (and embedded to nearby locations in a high dimensional space) if they are likely to be used in the same context.

        And because slurs are used to indicate that you don’t like someone, they tend to occur in the same kind of context.

        So they’re all very similar. This is actual natural language processing being used, but it’s a shit post and the graphics aren’t very clear.