Jump to content

Vector embeddings: Difference between revisions

Line 56: Line 56:


===Example: Image Embedding with a Convolutional Neural Network===
===Example: Image Embedding with a Convolutional Neural Network===
[[File:image embedding with cnn1.png|400px|right]]
In this example, raw images are represented as greyscale pixels, which correspond to a matrix of integer values ranging from 0 to 255, where 0 signifies black and 255 represents white. The matrix values define a vector embedding, with the first coordinate being the matrix's upper-left cell and the last coordinate corresponding to the lower-right matrix cell.
In this example, raw images are represented as greyscale pixels, which correspond to a matrix of integer values ranging from 0 to 255, where 0 signifies black and 255 represents white. The matrix values define a vector embedding, with the first coordinate being the matrix's upper-left cell and the last coordinate corresponding to the lower-right matrix cell.


370

edits