block by enjalot 0252c1f32ac5f5e29a7c

manhattan distance

Full Screen

Click on the various examples

Each example is a random vector in the same “space” as the sample in the top left.

Drag on individual rows

Each row represents one dimension of our vectors. You can drag them back and forth to change the value of our vector for that dimension.

Watch how the similarity bar changes

The bar below each vector is a measure of how similar it is to the sample in the top left.

Whats going on?

I first made cosine similarity to try and visualize the process. @mumrah forked the block and modified it to use Manhattan Distance

I made this explanation because I’m trying to use find similar blocks and in order to do that I need to understand cosine similarity. They say nothing helps you understand better than trying to explain it!

forked from mumrah‘s block: manhattan distance

index.html